/frameworks/native/services/inputflinger/tests/ |
D | CapturedTouchpadEventConverter_test.cpp | 230 processAxis(conv, EV_KEY, BTN_TOUCH, 1); in TEST_F() 231 processAxis(conv, EV_KEY, BTN_TOOL_FINGER, 1); in TEST_F() 245 processAxis(conv, EV_KEY, BTN_TOUCH, 0); in TEST_F() 246 processAxis(conv, EV_KEY, BTN_TOOL_FINGER, 0); in TEST_F() 273 processAxis(conv, EV_KEY, BTN_TOUCH, 1); in TEST_F() 274 processAxis(conv, EV_KEY, BTN_TOOL_FINGER, 1); in TEST_F() 290 processAxis(conv, EV_KEY, BTN_TOUCH, 1); in TEST_F() 291 processAxis(conv, EV_KEY, BTN_TOOL_FINGER, 1); in TEST_F() 323 processAxis(conv, EV_KEY, BTN_TOUCH, 1); in TEST_F() 324 processAxis(conv, EV_KEY, BTN_TOOL_FINGER, 1); in TEST_F() [all …]
|
D | HardwareStateConverter_test.cpp | 125 processAxis(time, EV_KEY, BTN_TOUCH, 1); in TEST_F() 126 processAxis(time, EV_KEY, BTN_TOOL_FINGER, 1); in TEST_F() 177 processAxis(ARBITRARY_TIME, EV_KEY, BTN_TOUCH, 1); in TEST_F() 178 processAxis(ARBITRARY_TIME, EV_KEY, BTN_TOOL_DOUBLETAP, 1); in TEST_F() 212 processAxis(ARBITRARY_TIME, EV_KEY, BTN_TOUCH, 1); in TEST_F_WITH_FLAGS() 213 processAxis(ARBITRARY_TIME, EV_KEY, BTN_TOOL_FINGER, 1); in TEST_F_WITH_FLAGS() 228 processAxis(ARBITRARY_TIME, EV_KEY, BTN_TOUCH, 1); in TEST_F_WITH_FLAGS() 229 processAxis(ARBITRARY_TIME, EV_KEY, BTN_TOOL_FINGER, 1); in TEST_F_WITH_FLAGS() 245 processAxis(ARBITRARY_TIME, EV_KEY, BTN_TOUCH, 1); in TEST_F_WITH_FLAGS() 246 processAxis(ARBITRARY_TIME, EV_KEY, BTN_TOOL_FINGER, 1); in TEST_F_WITH_FLAGS() [all …]
|
D | TouchpadInputMapper_test.cpp | 138 args += process(EV_KEY, BTN_TOUCH, 1); in TEST_F() 140 args += process(EV_KEY, BTN_TOOL_FINGER, 1); in TEST_F() 151 args += process(EV_KEY, BTN_LEFT, 1); in TEST_F() 155 args += process(EV_KEY, BTN_LEFT, 0); in TEST_F() 172 args += process(EV_KEY, BTN_TOUCH, 0); in TEST_F() 174 args += process(EV_KEY, BTN_TOOL_FINGER, 0); in TEST_F()
|
D | KeyboardInputMapper_test.cpp | 80 process(EV_KEY, keyCode, 1); in testTouchpadTapStateForKeys() 82 process(EV_KEY, keyCode, 0); in testTouchpadTapStateForKeys() 121 process(when, EV_KEY, keyCode, 1); in TEST_F() 123 process(when, EV_KEY, keyCode, 0); in TEST_F()
|
D | UinputDevice.cpp | 85 if (ioctl(fd, UI_SET_EVBIT, EV_KEY)) { in configureDevice() 106 injectEvent(EV_KEY, key, 1); in pressKey() 114 injectEvent(EV_KEY, key, 0); in releaseKey() 223 injectEvent(EV_KEY, BTN_TOUCH, 1); in sendDown() 244 injectEvent(EV_KEY, BTN_TOUCH, 0); in sendUp()
|
D | CursorInputMapper_test.cpp | 231 args += process(EV_KEY, BTN_LEFT, 1); in TEST_F() 246 args += process(EV_KEY, BTN_LEFT, 0); in TEST_F() 283 args += process(EV_KEY, BTN_MOUSE, 1); in TEST_F() 297 args += process(EV_KEY, BTN_MOUSE, 0); in TEST_F() 364 args += process(ARBITRARY_TIME, EV_KEY, BTN_MOUSE, 1); in TEST_F() 396 args += process(ARBITRARY_TIME + 1, EV_KEY, BTN_MOUSE, 0); in TEST_F() 461 args += process(ARBITRARY_TIME, EV_KEY, BTN_MOUSE, 1); in TEST_F() 473 args += process(ARBITRARY_TIME, EV_KEY, BTN_MOUSE, 0); in TEST_F() 493 args += process(ARBITRARY_TIME, EV_KEY, BTN_MOUSE, 1); in TEST_F() 521 args += process(ARBITRARY_TIME, EV_KEY, BTN_MOUSE, 0); in TEST_F() [all …]
|
D | InputReader_test.cpp | 982 mFakeEventHub->enqueueEvent(when, readTime, eventHubId, EV_KEY, KEY_A, 1); in TEST_F() 991 ASSERT_EQ(EV_KEY, event.type); in TEST_F() 3037 event.type = EV_KEY; in TEST_F() 3053 event.type = EV_KEY; in TEST_F() 3344 process(mapper, ARBITRARY_TIME, READ_TIME, EV_KEY, originalScanCode, 1); in testDPadKeyRotation() 3351 process(mapper, ARBITRARY_TIME, READ_TIME, EV_KEY, originalScanCode, 0); in testDPadKeyRotation() 3381 process(mapper, ARBITRARY_TIME, READ_TIME, EV_KEY, KEY_HOME, 1); in TEST_F() 3396 process(mapper, ARBITRARY_TIME + 1, READ_TIME, EV_KEY, KEY_HOME, 0); in TEST_F() 3411 process(mapper, ARBITRARY_TIME, READ_TIME, EV_KEY, 0, 1); in TEST_F() 3426 process(mapper, ARBITRARY_TIME + 1, READ_TIME, EV_KEY, 0, 0); in TEST_F() [all …]
|
D | MultiTouchInputMapper_test.cpp | 164 return process(EV_KEY, code, value); in processKey()
|
/frameworks/native/libs/input/ |
D | VirtualInputDevice.cpp | 78 if (!writeInputEvent(EV_KEY, evKeyCode, action, eventTime)) { in writeEvKeyEvent() 376 if (!writeInputEvent(EV_KEY, BTN_TOUCH, static_cast<int32_t>(UinputAction::RELEASE), in handleTouchUp() 390 if (!writeInputEvent(EV_KEY, BTN_TOUCH, static_cast<int32_t>(UinputAction::PRESS), in handleTouchDown() 486 if (!writeInputEvent(EV_KEY, tool, static_cast<int32_t>(UinputAction::PRESS), eventTime)) { in handleStylusDown() 490 if (!writeInputEvent(EV_KEY, BTN_TOUCH, static_cast<int32_t>(UinputAction::PRESS), eventTime)) { in handleStylusDown() 499 if (!writeInputEvent(EV_KEY, tool, static_cast<int32_t>(UinputAction::RELEASE), eventTime)) { in handleStylusUp() 503 if (!writeInputEvent(EV_KEY, BTN_TOUCH, static_cast<int32_t>(UinputAction::RELEASE), in handleStylusUp()
|
D | InputEventLabels.cpp | 542 case EV_KEY: in getCodeLabelsForType() 568 if (type == EV_KEY) { in getValueLabelsForTypeAndCode()
|
/frameworks/native/services/vr/virtual_touchpad/tests/ |
D | VirtualTouchpad_test.cpp | 166 expect.IoctlSetInt(UI_SET_EVBIT, EV_KEY); in TEST_F() 193 expect.WriteInputEvent(EV_KEY, BTN_TOUCH, EvdevInjector::KEY_PRESS); in TEST_F() 226 expect.WriteInputEvent(EV_KEY, BTN_TOUCH, EvdevInjector::KEY_RELEASE); in TEST_F() 238 expect.WriteInputEvent(EV_KEY, BTN_BACK, EvdevInjector::KEY_PRESS); in TEST_F() 258 expect.WriteInputEvent(EV_KEY, BTN_BACK, EvdevInjector::KEY_RELEASE); in TEST_F()
|
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/ |
D | Event.java | 45 public static final int EV_KEY = 0x01; field in Event 82 case EV_KEY -> UI_SET_KEYBIT; in forEventType()
|
D | JsonStyleParser.java | 250 case UI_SET_KEYBIT -> readArrayAsInts(() -> readEvdevEventCode(Event.EV_KEY));
|
/frameworks/base/services/core/jni/ |
D | com_android_server_tv_TvUinputBridge.cpp | 212 ioctl(mFd, UI_SET_EVBIT, EV_KEY); in Open() 396 connection->sendEvent(EV_KEY, code, down ? 1 : 0); in nativeSendKey() 416 connection->sendEvent(EV_KEY, linuxKeyCode, down ? 1 : 0); in nativeSendGamepadKey() 498 connection->sendEvent(EV_KEY, KEYS[i].linuxKeyCode, 0); in nativeClear() 512 connection->sendEvent(EV_KEY, GAMEPAD_KEYS[i].linuxUinputKeyCode, 0); in nativeClear()
|
D | com_android_server_companion_virtual_InputController.cpp | 66 ioctl(fd, UI_SET_EVBIT, EV_KEY); in openUinput()
|
/frameworks/native/services/inputflinger/reader/mapper/accumulator/ |
D | CursorButtonAccumulator.cpp | 51 if (rawEvent.type == EV_KEY) { in process()
|
D | TouchButtonAccumulator.cpp | 58 if (rawEvent.type == EV_KEY) { in process()
|
/frameworks/base/cmds/uinput/ |
D | README.md | 118 {"type":"UI_SET_EVBIT", "data":["EV_KEY", "EV_FF"]}, 249 "events": ["EV_KEY", "KEY_0", 1, 251 "EV_KEY", "KEY_0", 0, 253 "EV_KEY", "KEY_1", 1, 255 "EV_KEY", "KEY_1", 0,
|
/frameworks/native/services/vr/virtual_touchpad/ |
D | EvdevInjector.cpp | 121 if (const int status = EnableEventType(EV_KEY)) { in ConfigureKey() 251 return Send(EV_KEY, code, value); in SendKey()
|
/frameworks/base/cmds/uinput/tests/src/com/android/commands/uinput/tests/ |
D | EvemuParserTest.java | 100 .asList().containsExactly(Event.EV_KEY, Event.EV_REL); in testEventBitmapParsing() 464 .asList().containsExactly(Event.EV_KEY, Event.EV_ABS); in testFreeDesktopEvemuRecording()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | KeyboardInputMapper.cpp | 243 case EV_KEY: { in process()
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | MapperHelpers.h | 30 EV_KEY,
|
/frameworks/native/services/inputflinger/reader/ |
D | EventHub.cpp | 775 case EV_KEY: { in trackInputEvent() 781 InputEventLookup::getLinuxEvdevLabel(EV_KEY, event.code, 1) in trackInputEvent() 2359 device->readDeviceBitMask(EVIOCGBIT(EV_KEY, 0), device->keyBitmask); in openDeviceLocked() 2898 return InputEventLookup::getLinuxEvdevLabel(EV_KEY, i, 1).code; in dump()
|