Searched refs:WithKeyAction (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/inputflinger/tests/ |
D | FakeWindows.h | 254 consumeKeyEvent(testing::AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN), 259 consumeKeyEvent(testing::AllOf(WithKeyAction(AKEY_EVENT_ACTION_UP),
|
D | InputDispatcher_test.cpp | 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() 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 …]
|
D | FakeWindows.cpp | 100 ASSERT_THAT(keyEvent, WithKeyAction(expectedAction)); in consumeEvent()
|
D | InputTracingTest.cpp | 166 auto consumed = window->consumeKeyEvent(WithKeyAction(ACTION_DOWN)); in keypressAndExpect() 174 auto consumed = window->consumeKeyEvent(WithKeyAction(ACTION_UP)); in keypressAndExpect()
|
D | CursorInputMapper_test.cpp | 790 ElementsAre(VariantWith<NotifyKeyArgs>(AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN), in TEST_P() 813 VariantWith<NotifyKeyArgs>(AllOf(WithKeyAction(AKEY_EVENT_ACTION_UP), in TEST_P()
|
D | TestEventMatchers.h | 101 inline WithKeyActionMatcher WithKeyAction(int32_t action) { in WithKeyAction() function
|
D | InputReader_test.cpp | 1570 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 …]
|