Searched refs:WriteInputEvent (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/services/vr/virtual_touchpad/tests/ |
D | VirtualTouchpad_test.cpp | 19 void WriteInputEvent(uint16_t type, uint16_t code, int32_t value) { in WriteInputEvent() function in android::dvr::__anon214ecdac0111::UInputForTesting 188 expect.WriteInputEvent(EV_ABS, ABS_MT_SLOT, 0); in TEST_F() 189 expect.WriteInputEvent(EV_ABS, ABS_MT_TRACKING_ID, 0); in TEST_F() 190 expect.WriteInputEvent(EV_ABS, ABS_MT_POSITION_X, 0); in TEST_F() 191 expect.WriteInputEvent(EV_ABS, ABS_MT_POSITION_Y, 0); in TEST_F() 192 expect.WriteInputEvent(EV_SYN, SYN_REPORT, 0); in TEST_F() 202 expect.WriteInputEvent(EV_ABS, ABS_MT_TRACKING_ID, 0); in TEST_F() 203 expect.WriteInputEvent(EV_ABS, ABS_MT_POSITION_X, 0.25f * width); in TEST_F() 204 expect.WriteInputEvent(EV_ABS, ABS_MT_POSITION_Y, 0.75f * height); in TEST_F() 205 expect.WriteInputEvent(EV_KEY, BTN_TOUCH, EvdevInjector::KEY_PRESS); in TEST_F() [all …]
|