Home
last modified time | relevance | path

Searched refs:phys (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DInputController.java143 final String phys = createPhys(PHYS_TYPE_DPAD); in createDpad() local
145 productId, deviceToken, displayId, phys, in createDpad()
146 () -> mNativeWrapper.openUinputDpad(deviceName, vendorId, productId, phys)); in createDpad()
152 final String phys = createPhys(PHYS_TYPE_KEYBOARD); in createKeyboard() local
153 mInputManagerInternal.addKeyboardLayoutAssociation(phys, languageTag, in createKeyboard()
157 productId, deviceToken, displayId, phys, in createKeyboard()
158 () -> mNativeWrapper.openUinputKeyboard(deviceName, vendorId, productId, phys)); in createKeyboard()
160 mInputManagerInternal.removeKeyboardLayoutAssociation(phys); in createKeyboard()
167 final String phys = createPhys(PHYS_TYPE_MOUSE); in createMouse() local
169 deviceToken, displayId, phys, in createMouse()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_companion_virtual_InputController.cpp56 const char* phys, DeviceType deviceType, jint screenHeight, in openUinput() argument
64 ioctl(fd, UI_SET_PHYS, phys); in openUinput()
272 jstring phys, DeviceType deviceType, int screenHeight, in openUinputJni() argument
275 ScopedUtfChars readablePhys(env, phys); in openUinputJni()
281 jint productId, jstring phys) { in nativeOpenUinputDpad() argument
282 auto fd = openUinputJni(env, name, vendorId, productId, phys, DeviceType::DPAD, in nativeOpenUinputDpad()
288 jint productId, jstring phys) { in nativeOpenUinputKeyboard() argument
289 auto fd = openUinputJni(env, name, vendorId, productId, phys, DeviceType::KEYBOARD, in nativeOpenUinputKeyboard()
295 jint productId, jstring phys) { in nativeOpenUinputMouse() argument
296 auto fd = openUinputJni(env, name, vendorId, productId, phys, DeviceType::MOUSE, in nativeOpenUinputMouse()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DInputManagerMockHelper.java107 final String phys = inv.getArgument(3); in handleNativeOpenInputDevice() local
113 .setDescriptor(phys) in handleNativeOpenInputDevice()
116 mDisplayIdMapping.getOrDefault(mUniqueIdAssociationByPort.get(phys), in handleNativeOpenInputDevice()
/frameworks/base/cmds/uinput/
DREADME.md63 | `port` | string | `phys` value to report |