/frameworks/native/services/inputflinger/tests/ |
D | CapturedTouchpadEventConverter_test.cpp | 85 void processAxis(CapturedTouchpadEventConverter& conv, int32_t type, int32_t code, in processAxis() function in android::CapturedTouchpadEventConverterTest 225 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() 230 processAxis(conv, EV_KEY, BTN_TOUCH, 1); in TEST_F() 231 processAxis(conv, EV_KEY, BTN_TOOL_FINGER, 1); 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() [all …]
|
D | HardwareStateConverter_test.cpp | 76 void processAxis(nsecs_t when, int32_t type, int32_t code, int32_t value) { in processAxis() function in android::HardwareStateConverterTest 112 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() [all …]
|
D | InputReader_test.cpp | 10131 void processAxis(JoystickInputMapper& mapper, int32_t axis, int32_t value) { in processAxis() function in android::JoystickInputMapperTest 10160 processAxis(mapper, ABS_X, 100); in TEST_F() 10168 processAxis(mapper, ABS_Y, 100); in TEST_F()
|