/frameworks/native/services/inputflinger/include/ |
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 257 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() 154 void TestInputListener::notifyKey(const NotifyKeyArgs* args) { in notifyKey() 155 notify<NotifyKeyArgs>(args); in notifyKey()
|
D | TestInputListener.h | 47 void assertNotifyKeyWasCalled(NotifyKeyArgs* outEventArgs = nullptr); 75 virtual void notifyKey(const NotifyKeyArgs* args) override; 94 std::vector<NotifyKeyArgs>, //
|
D | InputClassifier_test.cpp | 88 NotifyKeyArgs args(1 /*sequenceNum*/, 2 /*eventTime*/, 21 /*readTime*/, 3 /*deviceId*/, in TEST_F() 94 NotifyKeyArgs outArgs; in TEST_F()
|
D | InputDispatcher_test.cpp | 83 void assertFilterInputEventWasCalled(const NotifyKeyArgs& args) { in assertFilterInputEventWasCalled() 1335 static NotifyKeyArgs generateKeyArgs(int32_t action, int32_t displayId = ADISPLAY_ID_NONE) { in generateKeyArgs() 1338 NotifyKeyArgs args(/* id */ 0, currentTime, 0 /*readTime*/, DEVICE_ID, AINPUT_SOURCE_KEYBOARD, in generateKeyArgs() 1695 NotifyKeyArgs keyArgs = generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ADISPLAY_ID_DEFAULT); in TEST_F() 2013 NotifyKeyArgs keyArgs = generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ADISPLAY_ID_DEFAULT); in TEST_F() 2027 NotifyKeyArgs keyArgs = generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ADISPLAY_ID_DEFAULT); in TEST_F() 2043 NotifyKeyArgs keyArgs = generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ADISPLAY_ID_DEFAULT); in TEST_F() 2372 NotifyKeyArgs keyArgs = generateKeyArgs(AKEY_EVENT_ACTION_DOWN); in TEST_F() 2803 NotifyKeyArgs keyArgs = generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ADISPLAY_ID_DEFAULT); in sendAndConsumeKeyDown() 2827 NotifyKeyArgs keyArgs = generateKeyArgs(AKEY_EVENT_ACTION_UP, ADISPLAY_ID_DEFAULT); in sendAndConsumeKeyUp() [all …]
|
D | InputReader_test.cpp | 2206 NotifyKeyArgs keyArgs; in TEST_F() 2232 NotifyKeyArgs keyArgs; in TEST_F() 3068 NotifyKeyArgs args; in testDPadKeyRotation() 3111 NotifyKeyArgs args; in TEST_F() 3208 NotifyKeyArgs args; in TEST_F() 3238 NotifyKeyArgs args; in TEST_F() 3341 NotifyKeyArgs args; in TEST_F() 3367 NotifyKeyArgs args; in TEST_F() 3393 NotifyKeyArgs args; in TEST_F() 3543 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(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()
|
D | InputClassifier.h | 229 virtual void notifyKey(const NotifyKeyArgs* args) override;
|
D | InputClassifier.cpp | 375 void InputClassifier::notifyKey(const NotifyKeyArgs* args) { in notifyKey()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchCursorInputMapperCommon.h | 113 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 | 1883 NotifyKeyArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), in dispatchVirtualKey()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.h | 97 void notifyKey(const NotifyKeyArgs* args) override; 301 bool shouldSendKeyToInputFilterLocked(const NotifyKeyArgs* args) REQUIRES(mLock);
|
D | InputDispatcher.cpp | 3739 void InputDispatcher::notifyKey(const NotifyKeyArgs* args) { in notifyKey() 3813 bool InputDispatcher::shouldSendKeyToInputFilterLocked(const NotifyKeyArgs* args) { in shouldSendKeyToInputFilterLocked()
|