Home
last modified time | relevance | path

Searched refs:EV_ABS (Results 1 – 23 of 23) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DHardwareStateConverter_test.cpp112 processAxis(time, EV_ABS, ABS_MT_SLOT, 0); in TEST_F()
113 processAxis(time, EV_ABS, ABS_MT_TRACKING_ID, 123); in TEST_F()
114 processAxis(time, EV_ABS, ABS_MT_POSITION_X, 50); in TEST_F()
115 processAxis(time, EV_ABS, ABS_MT_POSITION_Y, 100); in TEST_F()
116 processAxis(time, EV_ABS, ABS_MT_TOUCH_MAJOR, 5); in TEST_F()
117 processAxis(time, EV_ABS, ABS_MT_TOUCH_MINOR, 4); in TEST_F()
118 processAxis(time, EV_ABS, ABS_MT_PRESSURE, 42); in TEST_F()
119 processAxis(time, EV_ABS, ABS_MT_ORIENTATION, 2); in TEST_F()
121 processAxis(time, EV_ABS, ABS_X, 50); in TEST_F()
122 processAxis(time, EV_ABS, ABS_Y, 100); in TEST_F()
[all …]
DCapturedTouchpadEventConverter_test.cpp225 processAxis(conv, EV_ABS, ABS_MT_SLOT, 0); in TEST_F()
226 processAxis(conv, EV_ABS, ABS_MT_TRACKING_ID, 1); in TEST_F()
227 processAxis(conv, EV_ABS, ABS_MT_POSITION_X, 50); in TEST_F()
228 processAxis(conv, EV_ABS, ABS_MT_POSITION_Y, 100); in TEST_F()
237 processAxis(conv, EV_ABS, ABS_MT_POSITION_X, 52); in TEST_F()
238 processAxis(conv, EV_ABS, ABS_MT_POSITION_Y, 99); in TEST_F()
244 processAxis(conv, EV_ABS, ABS_MT_TRACKING_ID, -1); in TEST_F()
266 processAxis(conv, EV_ABS, ABS_MT_SLOT, 0); in TEST_F()
267 processAxis(conv, EV_ABS, ABS_MT_TRACKING_ID, 1); in TEST_F()
268 processAxis(conv, EV_ABS, ABS_MT_TOUCH_MAJOR, 250); in TEST_F()
[all …]
DMultiTouchMotionAccumulator_test.cpp49 processMotionEvent(EV_ABS, ABS_MT_SLOT, 0); in TEST_F()
50 processMotionEvent(EV_ABS, ABS_MT_TRACKING_ID, 123); in TEST_F()
55 processMotionEvent(EV_ABS, ABS_MT_SLOT, 1); in TEST_F()
56 processMotionEvent(EV_ABS, ABS_MT_TRACKING_ID, 456); in TEST_F()
61 processMotionEvent(EV_ABS, ABS_MT_TRACKING_ID, -1); in TEST_F()
66 processMotionEvent(EV_ABS, ABS_MT_SLOT, 0); in TEST_F()
67 processMotionEvent(EV_ABS, ABS_MT_TRACKING_ID, -1); in TEST_F()
76 processMotionEvent(EV_ABS, ABS_MT_POSITION_X, 0); in TEST_F()
77 processMotionEvent(EV_ABS, ABS_MT_POSITION_Y, 0); in TEST_F()
82 processMotionEvent(EV_ABS, ABS_MT_POSITION_X, 50); in TEST_F()
[all …]
DUinputDevice.cpp149 ioctl(fd, UI_SET_EVBIT, EV_ABS); in configureDevice()
156 injectEvent(EV_ABS, ABS_PRESSURE, pressure); in setPressure()
185 ioctl(fd, UI_SET_EVBIT, EV_ABS); in configureDevice()
215 injectEvent(EV_ABS, ABS_MT_SLOT, slot); in sendSlot()
219 injectEvent(EV_ABS, ABS_MT_TRACKING_ID, trackingId); in sendTrackingId()
224 injectEvent(EV_ABS, ABS_MT_PRESSURE, RAW_PRESSURE_MAX); in sendDown()
225 injectEvent(EV_ABS, ABS_MT_POSITION_X, point.x); in sendDown()
226 injectEvent(EV_ABS, ABS_MT_POSITION_Y, point.y); in sendDown()
230 injectEvent(EV_ABS, ABS_MT_POSITION_X, point.x); in sendMove()
231 injectEvent(EV_ABS, ABS_MT_POSITION_Y, point.y); in sendMove()
[all …]
DTouchpadInputMapper_test.cpp137 args += process(EV_ABS, ABS_MT_TRACKING_ID, 1); in TEST_F()
141 args += process(EV_ABS, ABS_MT_POSITION_X, 50); in TEST_F()
142 args += process(EV_ABS, ABS_MT_POSITION_Y, 50); in TEST_F()
143 args += process(EV_ABS, ABS_MT_PRESSURE, 1); in TEST_F()
170 args += process(EV_ABS, ABS_MT_PRESSURE, 0); in TEST_F()
171 args += process(EV_ABS, ABS_MT_TRACKING_ID, -1); in TEST_F()
DMultiTouchInputMapper_test.cpp156 args += process(EV_ABS, ABS_MT_POSITION_X, x); in processPosition()
157 args += process(EV_ABS, ABS_MT_POSITION_Y, y); in processPosition()
161 std::list<NotifyArgs> processId(int32_t id) { return process(EV_ABS, ABS_MT_TRACKING_ID, id); } in processId()
167 std::list<NotifyArgs> processSlot(int32_t slot) { return process(EV_ABS, ABS_MT_SLOT, slot); } in processSlot()
DInputReader_test.cpp3262 process(mapper, ARBITRARY_TIME, READ_TIME, EV_ABS, ABS_X, 20000); in TEST_F()
3263 process(mapper, ARBITRARY_TIME, READ_TIME, EV_ABS, ABS_Y, -20000); in TEST_F()
3264 process(mapper, ARBITRARY_TIME, READ_TIME, EV_ABS, ABS_Z, 40000); in TEST_F()
3292 process(mapper, ARBITRARY_TIME, READ_TIME, EV_ABS, ABS_RX, 20000); in TEST_F()
3293 process(mapper, ARBITRARY_TIME, READ_TIME, EV_ABS, ABS_RY, -20000); in TEST_F()
3294 process(mapper, ARBITRARY_TIME, READ_TIME, EV_ABS, ABS_RZ, 40000); in TEST_F()
4530 process(mapper, ARBITRARY_TIME, READ_TIME, EV_ABS, ABS_X, x); in processDown()
4531 process(mapper, ARBITRARY_TIME, READ_TIME, EV_ABS, ABS_Y, y); in processDown()
4535 process(mapper, ARBITRARY_TIME, READ_TIME, EV_ABS, ABS_X, x); in processMove()
4536 process(mapper, ARBITRARY_TIME, READ_TIME, EV_ABS, ABS_Y, y); in processMove()
[all …]
DFakeEventHub.cpp218 if (type == EV_ABS) { in enqueueEvent()
/frameworks/native/services/vr/virtual_touchpad/tests/
DVirtualTouchpad_test.cpp155 expect.IoctlSetInt(UI_SET_EVBIT, EV_ABS); in TEST_F()
176 expect.WriteInputEvent(EV_ABS, ABS_MT_SLOT, 0); in TEST_F()
177 expect.WriteInputEvent(EV_ABS, ABS_MT_TRACKING_ID, 0); in TEST_F()
178 expect.WriteInputEvent(EV_ABS, ABS_MT_POSITION_X, 0); in TEST_F()
179 expect.WriteInputEvent(EV_ABS, ABS_MT_POSITION_Y, 0); in TEST_F()
190 expect.WriteInputEvent(EV_ABS, ABS_MT_TRACKING_ID, 0); in TEST_F()
191 expect.WriteInputEvent(EV_ABS, ABS_MT_POSITION_X, 0.25f * width); in TEST_F()
192 expect.WriteInputEvent(EV_ABS, ABS_MT_POSITION_Y, 0.75f * height); in TEST_F()
204 expect.WriteInputEvent(EV_ABS, ABS_MT_TRACKING_ID, 0); in TEST_F()
205 expect.WriteInputEvent(EV_ABS, ABS_MT_POSITION_X, 0.99f * width); in TEST_F()
[all …]
/frameworks/native/libs/input/
DVirtualInputDevice.cpp329 if (!writeInputEvent(EV_ABS, ABS_MT_SLOT, pointerId, eventTime)) { in writeTouchEvent()
336 if (!writeInputEvent(EV_ABS, ABS_MT_TOOL_TYPE, static_cast<int32_t>(toolTypeIterator->second), in writeTouchEvent()
346 if (!writeInputEvent(EV_ABS, ABS_MT_POSITION_X, locationX, eventTime)) { in writeTouchEvent()
349 if (!writeInputEvent(EV_ABS, ABS_MT_POSITION_Y, locationY, eventTime)) { in writeTouchEvent()
353 if (!writeInputEvent(EV_ABS, ABS_MT_PRESSURE, pressure, eventTime)) { in writeTouchEvent()
358 if (!writeInputEvent(EV_ABS, ABS_MT_TOUCH_MAJOR, majorAxisSize, eventTime)) { in writeTouchEvent()
366 if (!writeInputEvent(EV_ABS, ABS_MT_TRACKING_ID, static_cast<int32_t>(-1), eventTime)) { in handleTouchUp()
400 if (!writeInputEvent(EV_ABS, ABS_MT_TRACKING_ID, static_cast<int32_t>(pointerId), eventTime)) { in handleTouchDown()
448 if (!writeInputEvent(EV_ABS, ABS_X, locationX, eventTime)) { in writeMotionEvent()
452 if (!writeInputEvent(EV_ABS, ABS_Y, locationY, eventTime)) { in writeMotionEvent()
[all …]
DInputEventLabels.cpp546 case EV_ABS: in getCodeLabelsForType()
571 if (type == EV_ABS && code == ABS_MT_TOOL_TYPE) { in getValueLabelsForTypeAndCode()
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvUinputBridge.cpp222 ioctl(mFd, UI_SET_EVBIT, EV_ABS); in EnableAxesEvents()
446 connection->sendEvent(EV_ABS, axisInfo->linuxUinputAxis, axisRawValue); in nativeSendGamepadAxisValue()
463 connection->sendEvent(EV_ABS, ABS_MT_SLOT, slot); in nativeSendPointerDown()
464 connection->sendEvent(EV_ABS, ABS_MT_TRACKING_ID, pointerId); in nativeSendPointerDown()
465 connection->sendEvent(EV_ABS, ABS_MT_POSITION_X, x); in nativeSendPointerDown()
466 connection->sendEvent(EV_ABS, ABS_MT_POSITION_Y, y); in nativeSendPointerDown()
481 connection->sendEvent(EV_ABS, ABS_MT_SLOT, slot); in nativeSendPointerUp()
482 connection->sendEvent(EV_ABS, ABS_MT_TRACKING_ID, -1); in nativeSendPointerUp()
506 connection->sendEvent(EV_ABS, ABS_MT_SLOT, slot); in nativeClear()
507 connection->sendEvent(EV_ABS, ABS_MT_TRACKING_ID, -1); in nativeClear()
[all …]
Dcom_android_server_companion_virtual_InputController.cpp92 ioctl(fd, UI_SET_EVBIT, EV_ABS); in openUinput()
104 ioctl(fd, UI_SET_EVBIT, EV_ABS); in openUinput()
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/
DEvent.java47 public static final int EV_ABS = 0x03; field in Event
84 case EV_ABS -> UI_SET_ABSBIT; in forEventType()
DJsonStyleParser.java252 case UI_SET_ABSBIT -> readArrayAsInts(() -> readEvdevEventCode(Event.EV_ABS));
324 case "code" -> type = readEvdevEventCode(Event.EV_ABS);
/frameworks/native/services/inputflinger/reader/mapper/accumulator/
DSingleTouchMotionAccumulator.cpp49 if (rawEvent.type == EV_ABS) { in process()
DMultiTouchMotionAccumulator.cpp49 if (rawEvent.type == EV_ABS) { in process()
/frameworks/native/services/vr/virtual_touchpad/
DEvdevInjector.cpp143 if (const int status = EnableEventType(EV_ABS)) { in ConfigureAbs()
255 return Send(EV_ABS, code, value); in SendAbs()
/frameworks/base/cmds/uinput/tests/src/com/android/commands/uinput/tests/
DEvemuParserTest.java464 .asList().containsExactly(Event.EV_KEY, Event.EV_ABS); in testFreeDesktopEvemuRecording()
/frameworks/native/services/inputflinger/reader/mapper/
DJoystickInputMapper.cpp265 case EV_ABS: { in process()
DSensorInputMapper.cpp257 case EV_ABS: { in process()
/frameworks/native/services/inputflinger/tests/fuzzers/
DMapperHelpers.h29 EV_ABS,
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp797 case EV_ABS: { in trackInputEvent()
805 InputEventLookup::getLinuxEvdevLabel(EV_ABS, event.code, 0) in trackInputEvent()
2360 device->readDeviceBitMask(EVIOCGBIT(EV_ABS, 0), device->absBitmask); in openDeviceLocked()
2915 InputEventLookup::getLinuxEvdevLabel(EV_ABS, axis, 0) in dump()