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::__anonb6efdf4d0111::UInputForTesting 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() 180 expect.WriteInputEvent(EV_SYN, SYN_REPORT, 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() 193 expect.WriteInputEvent(EV_KEY, BTN_TOUCH, EvdevInjector::KEY_PRESS); in TEST_F() [all …]
|