/aosp12/frameworks/native/services/inputflinger/include/ |
H A D | InputListener.h | 65 struct NotifyKeyArgs : public NotifyArgs { struct 78 inline NotifyKeyArgs() { } in NotifyKeyArgs() argument 80 NotifyKeyArgs(int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, 85 bool operator==(const NotifyKeyArgs& rhs) const; 87 NotifyKeyArgs(const NotifyKeyArgs& other); 89 virtual ~NotifyKeyArgs() { } in ~NotifyKeyArgs() argument 258 virtual void notifyKey(const NotifyKeyArgs* args) = 0; 280 virtual void notifyKey(const NotifyKeyArgs* args) override;
|
/aosp12/frameworks/native/services/inputflinger/tests/ |
H A 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() 159 void TestInputListener::notifyKey(const NotifyKeyArgs* args) { in notifyKey() 160 notify<NotifyKeyArgs>(args); in notifyKey()
|
H A D | TestInputListener.h | 47 void assertNotifyKeyWasCalled(NotifyKeyArgs* outEventArgs = nullptr); 76 virtual void notifyKey(const NotifyKeyArgs* args) override; 95 std::vector<NotifyKeyArgs>, //
|
H A D | InputClassifier_test.cpp | 89 NotifyKeyArgs args(1 /*sequenceNum*/, 2 /*eventTime*/, 21 /*readTime*/, 3 /*deviceId*/, in TEST_F() 95 NotifyKeyArgs outArgs; in TEST_F()
|
H A D | InputDispatcher_test.cpp | 87 void assertFilterInputEventWasCalled(const NotifyKeyArgs& args) { in assertFilterInputEventWasCalled() 1350 static NotifyKeyArgs generateKeyArgs(int32_t action, int32_t displayId = ADISPLAY_ID_NONE) { in generateKeyArgs() 1711 NotifyKeyArgs keyArgs = generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ADISPLAY_ID_DEFAULT); in TEST_F() 2153 NotifyKeyArgs keyArgs = generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ADISPLAY_ID_DEFAULT); in TEST_F() 2167 NotifyKeyArgs keyArgs = generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ADISPLAY_ID_DEFAULT); in TEST_F() 2183 NotifyKeyArgs keyArgs = generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ADISPLAY_ID_DEFAULT); in TEST_F() 2607 NotifyKeyArgs keyArgs = generateKeyArgs(AKEY_EVENT_ACTION_DOWN); in TEST_F() 3329 NotifyKeyArgs keyArgs; in testNotifyKey() 5570 NotifyKeyArgs keyArgs = generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ADISPLAY_ID_DEFAULT); in TEST_F() 5616 NotifyKeyArgs keyArgs = generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ADISPLAY_ID_DEFAULT); in TEST_F() [all …]
|
H A D | InputReader_test.cpp | 3095 NotifyKeyArgs args; in testDPadKeyRotation() 3138 NotifyKeyArgs args; in TEST_F() 3235 NotifyKeyArgs args; in TEST_F() 3265 NotifyKeyArgs args; in TEST_F() 3368 NotifyKeyArgs args; in TEST_F() 3394 NotifyKeyArgs args; in TEST_F() 3420 NotifyKeyArgs args; in TEST_F() 3570 NotifyKeyArgs args; in TEST_F() 3756 NotifyKeyArgs args; in TEST_F() 3794 NotifyKeyArgs args; in TEST_F() [all …]
|
/aosp12/frameworks/native/services/inputflinger/ |
H A 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(const sp<InputListenerInterface>& listener) const { in notify() 332 void QueuedInputListener::notifyKey(const NotifyKeyArgs* args) { in notifyKey() 334 mArgsQueue.push_back(new NotifyKeyArgs(*args)); in notifyKey()
|
H A D | InputClassifier.h | 229 virtual void notifyKey(const NotifyKeyArgs* args) override;
|
H A D | InputClassifier.cpp | 375 void InputClassifier::notifyKey(const NotifyKeyArgs* args) { in notifyKey()
|
/aosp12/frameworks/native/services/inputflinger/reader/mapper/ |
H A D | TouchCursorInputMapperCommon.h | 111 NotifyKeyArgs args(context->getNextId(), when, readTime, deviceId, source, displayId, in synthesizeButtonKey()
|
H A D | KeyboardInputMapper.cpp | 353 NotifyKeyArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), mSource, in processKey()
|
H A D | TouchInputMapper.cpp | 1912 NotifyKeyArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), in dispatchVirtualKey()
|
/aosp12/frameworks/native/services/inputflinger/dispatcher/ |
H A D | InputDispatcher.h | 98 void notifyKey(const NotifyKeyArgs* args) override; 306 bool shouldSendKeyToInputFilterLocked(const NotifyKeyArgs* args) REQUIRES(mLock);
|
H A D | InputDispatcher.cpp | 3785 void InputDispatcher::notifyKey(const NotifyKeyArgs* args) { in notifyKey() 3859 bool InputDispatcher::shouldSendKeyToInputFilterLocked(const NotifyKeyArgs* args) { in shouldSendKeyToInputFilterLocked()
|