Searched refs:KeyArgsBuilder (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/services/inputflinger/include/ |
D | NotifyArgsBuilders.h | 166 class KeyArgsBuilder { 168 KeyArgsBuilder(int32_t action, int32_t source) : mEventId(InputEvent::nextId()) { in KeyArgsBuilder() function 175 KeyArgsBuilder& deviceId(int32_t deviceId) { in deviceId() 180 KeyArgsBuilder& downTime(nsecs_t downTime) { in downTime() 185 KeyArgsBuilder& eventTime(nsecs_t eventTime) { in eventTime() 190 KeyArgsBuilder& displayId(ui::LogicalDisplayId displayId) { in displayId() 195 KeyArgsBuilder& policyFlags(int32_t policyFlags) { in policyFlags() 200 KeyArgsBuilder& addFlag(uint32_t flags) { in addFlag() 205 KeyArgsBuilder& keyCode(int32_t keyCode) { in keyCode() 210 KeyArgsBuilder& metaState(int32_t metaState) { in metaState()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDeviceMetricsSource_test.cpp | 57 KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, TOUCHSCREEN) in TEST_P() 74 KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, KEY_SOURCES) in TEST_P() 83 KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, KEY_SOURCES) in TEST_P() 91 KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, KEY_SOURCES) in TEST_P() 97 KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, KEY_SOURCES) in TEST_P() 106 KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, KEY_SOURCES) in TEST_P() 112 KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, KEY_SOURCES) in TEST_P()
|
D | InputTracingTest.cpp | 162 const auto down = KeyArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).build(); in keypressAndExpect() 170 const auto up = KeyArgsBuilder(ACTION_UP, AINPUT_SOURCE_KEYBOARD).build(); in keypressAndExpect()
|
D | InputDispatcher_test.cpp | 6616 KeyArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).keyCode(AKEYCODE_A).build()); in TEST_F() 6641 KeyArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).keyCode(AKEYCODE_A).build()); in TEST_F() 6667 KeyArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).keyCode(AKEYCODE_A).build()); in TEST_F() 6694 mDispatcher->notifyKey(KeyArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_KEYBOARD) in TEST_P() 7978 mDispatcher->notifyKey(KeyArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).build()); in TEST_F() 7985 mDispatcher->notifyKey(KeyArgsBuilder(ACTION_UP, AINPUT_SOURCE_KEYBOARD).build()); in TEST_F() 8130 KeyArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).keyCode(AKEYCODE_A).build()); in TEST_F() 8137 KeyArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).keyCode(AKEYCODE_A).build()); in TEST_F() 8144 KeyArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).keyCode(AKEYCODE_A).build()); in TEST_F() 8158 KeyArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).keyCode(AKEYCODE_A).build()); in TEST_F() [all …]
|
D | PointerChoreographer_test.cpp | 200 KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).build(), in TEST_F() 2322 mChoreographer.notifyKey(KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, AINPUT_SOURCE_KEYBOARD) in notifyKey() 2327 mChoreographer.notifyKey(KeyArgsBuilder(AKEY_EVENT_ACTION_UP, AINPUT_SOURCE_KEYBOARD) in notifyKey()
|
D | InputReader_test.cpp | 1202 firstMapper.setProcessResult({KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, AINPUT_SOURCE_KEYBOARD) in TEST_F() 1220 firstMapper.setProcessResult({KeyArgsBuilder(AKEY_EVENT_ACTION_UP, AINPUT_SOURCE_KEYBOARD) in TEST_F() 1228 firstMapper.setProcessResult({KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, AINPUT_SOURCE_KEYBOARD) in TEST_F()
|