Searched refs:injectEvent (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/inputflinger/tests/ |
D | UinputDevice.cpp | 59 void UinputDevice::injectEvent(uint16_t type, uint16_t code, int32_t value) { in injectEvent() function in android::UinputDevice 103 injectEvent(EV_KEY, key, 1); in pressKey() 104 injectEvent(EV_SYN, SYN_REPORT, 0); in pressKey() 111 injectEvent(EV_KEY, key, 0); in releaseKey() 112 injectEvent(EV_SYN, SYN_REPORT, 0); in releaseKey() 162 injectEvent(EV_ABS, ABS_MT_SLOT, slot); in sendSlot() 166 injectEvent(EV_ABS, ABS_MT_TRACKING_ID, trackingId); in sendTrackingId() 170 injectEvent(EV_KEY, BTN_TOUCH, 1); in sendDown() 171 injectEvent(EV_ABS, ABS_MT_POSITION_X, point.x); in sendDown() 172 injectEvent(EV_ABS, ABS_MT_POSITION_Y, point.y); in sendDown() [all …]
|
D | UinputDevice.h | 62 void injectEvent(uint16_t type, uint16_t code, int32_t value);
|