D | InputDevice_test.cpp | 75 nsecs_t when = 2ULL; in TEST_F() local 76 InputEvent msc1 = { when, EV_MSC, MSC_ANDROID_TIME_SEC, 1 }; in TEST_F() 77 InputEvent msc2 = { when, EV_MSC, MSC_ANDROID_TIME_USEC, 900000 }; in TEST_F() 80 InputEvent keyDown = { when, EV_KEY, KEY_HOME, 1 }; in TEST_F() 81 InputEvent syn = { when, EV_SYN, SYN_REPORT, 0 }; in TEST_F() 84 InputEvent keyUp = { when, EV_KEY, KEY_HOME, 0 }; in TEST_F() 86 device->processInput(msc1, when); in TEST_F() 87 device->processInput(msc2, when); in TEST_F() 88 device->processInput(keyDown, when); in TEST_F() 89 device->processInput(syn, when); in TEST_F() [all …]
|