/frameworks/native/services/inputflinger/include/ |
D | InputListener.h | 64 struct NotifyKeyArgs : public NotifyArgs { struct 77 inline NotifyKeyArgs() { } in NotifyKeyArgs() argument 79 NotifyKeyArgs(int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, 84 bool operator==(const NotifyKeyArgs& rhs) const; 86 NotifyKeyArgs(const NotifyKeyArgs& other); 88 virtual ~NotifyKeyArgs() { } in ~NotifyKeyArgs() argument 260 virtual void notifyKey(const NotifyKeyArgs* args) = 0; 279 virtual void notifyKey(const NotifyKeyArgs* args) override;
|
/frameworks/native/services/inputflinger/tests/ |
D | TestInputListener.cpp | 57 void TestInputListener::assertNotifyKeyWasCalled(NotifyKeyArgs* outEventArgs) { in assertNotifyKeyWasCalled() 59 assertCalled<NotifyKeyArgs>(outEventArgs, "Expected notifyKey() to have been called.")); in assertNotifyKeyWasCalled() 63 ASSERT_NO_FATAL_FAILURE(assertNotCalled<NotifyKeyArgs>("notifyKey() should not be called.")); in assertNotifyKeyWasNotCalled() 166 void TestInputListener::notifyKey(const NotifyKeyArgs* args) { in notifyKey() 167 notify<NotifyKeyArgs>(args); in notifyKey()
|
D | TestInputListener.h | 46 void assertNotifyKeyWasCalled(NotifyKeyArgs* outEventArgs = nullptr); 77 virtual void notifyKey(const NotifyKeyArgs* args) override; 96 std::vector<NotifyKeyArgs>, //
|
D | InputClassifier_test.cpp | 83 NotifyKeyArgs args(1 /*sequenceNum*/, 2 /*eventTime*/, 21 /*readTime*/, 3 /*deviceId*/, in TEST_F() 89 NotifyKeyArgs outArgs; in TEST_F()
|
D | InputDispatcher_test.cpp | 117 void assertFilterInputEventWasCalled(const NotifyKeyArgs& args) { in assertFilterInputEventWasCalled() 1502 static NotifyKeyArgs generateKeyArgs(int32_t action, int32_t displayId = ADISPLAY_ID_NONE) { in generateKeyArgs() 1505 NotifyKeyArgs args(/* id */ 0, currentTime, 0 /*readTime*/, DEVICE_ID, AINPUT_SOURCE_KEYBOARD, in generateKeyArgs() 2238 NotifyKeyArgs keyArgs = generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ADISPLAY_ID_DEFAULT); in TEST_F() 2286 NotifyKeyArgs keyArgs = generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ADISPLAY_ID_DEFAULT); in TEST_F() 2308 NotifyKeyArgs keyDown = generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ADISPLAY_ID_DEFAULT); in TEST_F() 2309 NotifyKeyArgs keyUp = generateKeyArgs(AKEY_EVENT_ACTION_UP, ADISPLAY_ID_DEFAULT); in TEST_F() 2377 NotifyKeyArgs keyDown = generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ADISPLAY_ID_DEFAULT); in TEST_F() 2378 NotifyKeyArgs keyUp = generateKeyArgs(AKEY_EVENT_ACTION_UP, ADISPLAY_ID_DEFAULT); in TEST_F() 3073 NotifyKeyArgs keyArgs = generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ADISPLAY_ID_DEFAULT); in TEST_F() [all …]
|
D | UnwantedInteractionBlocker_test.cpp | 450 NotifyKeyArgs args(1 /*sequenceNum*/, 2 /*eventTime*/, 21 /*readTime*/, 3 /*deviceId*/, in TEST_F() 456 NotifyKeyArgs outArgs; in TEST_F()
|
D | InputReader_test.cpp | 2367 NotifyKeyArgs keyArgs; in TEST_F() 2393 NotifyKeyArgs keyArgs; in TEST_F() 3388 NotifyKeyArgs args; in testDPadKeyRotation() 3430 NotifyKeyArgs args; in TEST_F() 3527 NotifyKeyArgs args; in TEST_F() 3556 NotifyKeyArgs args; in TEST_F() 3659 NotifyKeyArgs args; in TEST_F() 3685 NotifyKeyArgs args; in TEST_F() 3711 NotifyKeyArgs args; in TEST_F() 3871 NotifyKeyArgs args; in TEST_F() [all …]
|
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 53 NotifyKeyArgs::NotifyKeyArgs(int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, in NotifyKeyArgs() function in android::NotifyKeyArgs 70 NotifyKeyArgs::NotifyKeyArgs(const NotifyKeyArgs& other) in NotifyKeyArgs() function in android::NotifyKeyArgs 84 bool NotifyKeyArgs::operator==(const NotifyKeyArgs& rhs) const { in operator ==() 92 void NotifyKeyArgs::notify(InputListenerInterface& listener) const { in notify() 356 void QueuedInputListener::notifyKey(const NotifyKeyArgs* args) { in notifyKey() 358 mArgsQueue.emplace_back(std::make_unique<NotifyKeyArgs>(*args)); in notifyKey()
|
D | UnwantedInteractionBlocker.h | 94 void notifyKey(const NotifyKeyArgs* args) override;
|
D | InputClassifier.h | 244 void notifyKey(const NotifyKeyArgs* args) override;
|
D | InputClassifier.cpp | 424 void InputClassifier::notifyKey(const NotifyKeyArgs* args) { in notifyKey()
|
D | UnwantedInteractionBlocker.cpp | 330 void UnwantedInteractionBlocker::notifyKey(const NotifyKeyArgs* args) { in notifyKey()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchCursorInputMapperCommon.h | 83 NotifyKeyArgs args(context->getNextId(), when, readTime, deviceId, source, displayId, in synthesizeButtonKey()
|
D | KeyboardInputMapper.cpp | 353 NotifyKeyArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), mSource, in processKey()
|
D | TouchInputMapper.cpp | 1924 NotifyKeyArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), in dispatchVirtualKey()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.h | 98 void notifyKey(const NotifyKeyArgs* args) override; 333 bool shouldSendKeyToInputFilterLocked(const NotifyKeyArgs* args) REQUIRES(mLock);
|
D | InputDispatcher.cpp | 3909 void InputDispatcher::notifyKey(const NotifyKeyArgs* args) { in notifyKey() 3983 bool InputDispatcher::shouldSendKeyToInputFilterLocked(const NotifyKeyArgs* args) { in shouldSendKeyToInputFilterLocked()
|