Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DFakeWindows.h241 std::unique_ptr<KeyEvent> consumeKey(bool handled = true);
244 std::unique_ptr<KeyEvent> keyEvent = consumeKey(); in consumeKeyEvent()
DInputDispatcher_test.cpp7281 std::unique_ptr<KeyEvent> event = window->consumeKey(); in TEST_F()
8121 void consumeKey(bool handled, const ::testing::Matcher<KeyEvent>& matcher) { in consumeKey() function in android::inputdispatcher::InputDispatcherFallbackKeyTest
8122 std::unique_ptr<KeyEvent> event = mWindow->consumeKey(handled); in consumeKey()
8131 consumeKey(/*handled=*/true, AllOf(WithKeyAction(ACTION_DOWN), WithKeyCode(AKEYCODE_A))); in TEST_F()
8138 consumeKey(/*handled=*/false, AllOf(WithKeyAction(ACTION_DOWN), WithKeyCode(AKEYCODE_A))); in TEST_F()
8147 consumeKey(/*handled=*/false, in TEST_F()
8161 consumeKey(/*handled=*/false, in TEST_F()
8166 consumeKey(/*handled=*/true, in TEST_F()
8173 consumeKey(/*handled=*/false, in TEST_F()
8176 consumeKey(/*handled=*/true, in TEST_F()
[all …]
DFakeWindows.cpp284 std::unique_ptr<KeyEvent> FakeWindowHandle::consumeKey(bool handled) { in consumeKey() function in android::FakeWindowHandle