Home
last modified time | relevance | path

Searched refs:consumeKeyEvent (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DFakeWindows.h243 inline std::unique_ptr<KeyEvent> consumeKeyEvent(const ::testing::Matcher<KeyEvent>& matcher) { in consumeKeyEvent() function
254 consumeKeyEvent(testing::AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN),
259 consumeKeyEvent(testing::AllOf(WithKeyAction(AKEY_EVENT_ACTION_UP),
DInputTracingTest.cpp166 auto consumed = window->consumeKeyEvent(WithKeyAction(ACTION_DOWN)); in keypressAndExpect()
174 auto consumed = window->consumeKeyEvent(WithKeyAction(ACTION_UP)); in keypressAndExpect()
DInputDispatcher_test.cpp8441 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()