Home
last modified time | relevance | path

Searched refs:WithKeyAction (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DFakeWindows.h254 consumeKeyEvent(testing::AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN),
259 consumeKeyEvent(testing::AllOf(WithKeyAction(AKEY_EVENT_ACTION_UP),
DInputDispatcher_test.cpp8131 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()
8148 AllOf(WithKeyAction(ACTION_DOWN), WithKeyCode(AKEYCODE_A), WithFlags(0))); in TEST_F()
8162 AllOf(WithKeyAction(ACTION_DOWN), WithKeyCode(AKEYCODE_A), WithFlags(0))); in TEST_F()
8167 AllOf(WithKeyAction(ACTION_DOWN), WithKeyCode(AKEYCODE_B), in TEST_F()
8174 AllOf(WithKeyAction(ACTION_UP), WithKeyCode(AKEYCODE_A), WithFlags(0))); in TEST_F()
8177 AllOf(WithKeyAction(ACTION_UP), WithKeyCode(AKEYCODE_B), in TEST_F()
8191 AllOf(WithKeyAction(ACTION_DOWN), WithKeyCode(AKEYCODE_A), WithFlags(0))); in TEST_F()
8194 AllOf(WithKeyAction(ACTION_DOWN), WithKeyCode(AKEYCODE_B), in TEST_F()
8202 AllOf(WithKeyAction(ACTION_UP), WithKeyCode(AKEYCODE_A), WithFlags(0))); in TEST_F()
[all …]
DFakeWindows.cpp100 ASSERT_THAT(keyEvent, WithKeyAction(expectedAction)); in consumeEvent()
DInputTracingTest.cpp166 auto consumed = window->consumeKeyEvent(WithKeyAction(ACTION_DOWN)); in keypressAndExpect()
174 auto consumed = window->consumeKeyEvent(WithKeyAction(ACTION_UP)); in keypressAndExpect()
DCursorInputMapper_test.cpp790 ElementsAre(VariantWith<NotifyKeyArgs>(AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN), in TEST_P()
813 VariantWith<NotifyKeyArgs>(AllOf(WithKeyAction(AKEY_EVENT_ACTION_UP), in TEST_P()
DTestEventMatchers.h101 inline WithKeyActionMatcher WithKeyAction(int32_t action) { in WithKeyAction() function
DInputReader_test.cpp1570 AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN), WithSource(AINPUT_SOURCE_KEYBOARD)); in TEST_F()
1571 const auto UP = AllOf(WithKeyAction(AKEY_EVENT_ACTION_UP), WithSource(AINPUT_SOURCE_KEYBOARD)); in TEST_F()
2166 AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN), WithSource(AINPUT_SOURCE_KEYBOARD), in TYPED_TEST()
2171 AllOf(WithKeyAction(AKEY_EVENT_ACTION_UP), WithSource(AINPUT_SOURCE_KEYBOARD), in TYPED_TEST()
2183 AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN), WithSource(AINPUT_SOURCE_KEYBOARD), in TYPED_TEST()
2217 AllOf(WithKeyAction(AKEY_EVENT_ACTION_UP), WithSource(AINPUT_SOURCE_KEYBOARD), in TYPED_TEST()
2231 AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN), WithSource(AINPUT_SOURCE_KEYBOARD), in TYPED_TEST()
2293 AllOf(WithKeyAction(AKEY_EVENT_ACTION_UP), WithSource(AINPUT_SOURCE_KEYBOARD), in TYPED_TEST()
2316 AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN), WithSource(AINPUT_SOURCE_KEYBOARD), in TYPED_TEST()
2331 AllOf(WithKeyAction(AKEY_EVENT_ACTION_UP), WithSource(AINPUT_SOURCE_KEYBOARD), in TYPED_TEST()
[all …]