Searched refs:consumeKeyEvent (Results 1 – 3 of 3) sorted by relevance
243 inline std::unique_ptr<KeyEvent> consumeKeyEvent(const ::testing::Matcher<KeyEvent>& matcher) { in consumeKeyEvent() function254 consumeKeyEvent(testing::AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN),259 consumeKeyEvent(testing::AllOf(WithKeyAction(AKEY_EVENT_ACTION_UP),
166 auto consumed = window->consumeKeyEvent(WithKeyAction(ACTION_DOWN)); in keypressAndExpect()174 auto consumed = window->consumeKeyEvent(WithKeyAction(ACTION_UP)); in keypressAndExpect()
8441 mWindow->consumeKeyEvent( in expectKeyRepeatOnce()8801 windowInPrimary->consumeKeyEvent(AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN), in TEST_F()8811 windowInSecondary->consumeKeyEvent( in TEST_F()8829 windowInPrimary->consumeKeyEvent(AllOf(WithKeyAction(AKEY_EVENT_ACTION_UP), in TEST_F()9013 mWindow->consumeKeyEvent(AllOf(WithDeviceId(resolvedDeviceId), WithFlags(flags))); in testInjectedKey()