/frameworks/native/services/inputflinger/include/ |
D | InputListener.h | 66 struct NotifyKeyArgs : public NotifyArgs { struct 78 inline NotifyKeyArgs() { } in NotifyKeyArgs() argument 80 NotifyKeyArgs(uint32_t sequenceNum, nsecs_t eventTime, int32_t deviceId, uint32_t source, 84 bool operator==(const NotifyKeyArgs& rhs) const; 86 NotifyKeyArgs(const NotifyKeyArgs& other); 88 virtual ~NotifyKeyArgs() { } in ~NotifyKeyArgs() argument 196 virtual void notifyKey(const NotifyKeyArgs* args) = 0; 215 virtual void notifyKey(const NotifyKeyArgs* args);
|
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 50 NotifyKeyArgs::NotifyKeyArgs(uint32_t sequenceNum, nsecs_t eventTime, int32_t deviceId, in NotifyKeyArgs() function in android::NotifyKeyArgs 60 NotifyKeyArgs::NotifyKeyArgs(const NotifyKeyArgs& other) : in NotifyKeyArgs() function in android::NotifyKeyArgs 68 bool NotifyKeyArgs::operator==(const NotifyKeyArgs& rhs) const { in operator ==() 83 void NotifyKeyArgs::notify(const sp<InputListenerInterface>& listener) const { in notify() 235 void QueuedInputListener::notifyKey(const NotifyKeyArgs* args) { in notifyKey() 236 mArgsQueue.push_back(new NotifyKeyArgs(*args)); in notifyKey()
|
D | InputClassifier.h | 227 virtual void notifyKey(const NotifyKeyArgs* args) override;
|
D | InputClassifier.cpp | 369 void InputClassifier::notifyKey(const NotifyKeyArgs* args) { in notifyKey()
|
/frameworks/native/services/inputflinger/tests/ |
D | TestInputListener.h | 31 std::vector<NotifyKeyArgs> mNotifyKeyArgsQueue; 50 void assertNotifyKeyWasCalled(NotifyKeyArgs* outEventArgs = nullptr); 65 virtual void notifyKey(const NotifyKeyArgs* args);
|
D | TestInputListener.cpp | 60 void TestInputListener::assertNotifyKeyWasCalled(NotifyKeyArgs* outEventArgs) { in assertNotifyKeyWasCalled() 102 void TestInputListener::notifyKey(const NotifyKeyArgs* args) { in notifyKey()
|
D | InputClassifier_test.cpp | 85 NotifyKeyArgs args(1/*sequenceNum*/, 2/*eventTime*/, 3/*deviceId*/, AINPUT_SOURCE_KEYBOARD, in TEST_F() 90 NotifyKeyArgs outArgs; in TEST_F()
|
D | InputDispatcher_test.cpp | 74 void assertFilterInputEventWasCalledWithExpectedArgs(const NotifyKeyArgs* args) { in assertFilterInputEventWasCalledWithExpectedArgs() 556 static NotifyKeyArgs generateKeyArgs(int32_t action, int32_t displayId = ADISPLAY_ID_NONE) { in generateKeyArgs() 559 NotifyKeyArgs args(/* sequenceNum */ 0, currentTime, DEVICE_ID, AINPUT_SOURCE_KEYBOARD, in generateKeyArgs() 886 NotifyKeyArgs keyArgs; in testNotifyKey()
|
D | InputReader_test.cpp | 1971 NotifyKeyArgs args; in testDPadKeyRotation() 2007 NotifyKeyArgs args; in TEST_F() 2108 NotifyKeyArgs args; in TEST_F() 2211 NotifyKeyArgs args; in TEST_F() 2237 NotifyKeyArgs args; in TEST_F() 2263 NotifyKeyArgs args; in TEST_F() 2773 NotifyKeyArgs keyArgs; in TEST_F() 3580 NotifyKeyArgs args; in TEST_F() 3631 NotifyKeyArgs keyArgs; in TEST_F() 4174 NotifyKeyArgs keyArgs; in TEST_F() [all …]
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchCursorInputMapperCommon.h | 68 NotifyKeyArgs args(context->getNextSequenceNum(), when, deviceId, source, displayId, in synthesizeButtonKey()
|
D | KeyboardInputMapper.cpp | 331 NotifyKeyArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), mSource, getDisplayId(), in processKey()
|
D | TouchInputMapper.cpp | 1856 NotifyKeyArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), AINPUT_SOURCE_KEYBOARD, in dispatchVirtualKey()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.h | 89 virtual void notifyKey(const NotifyKeyArgs* args) override; 241 bool shouldSendKeyToInputFilterLocked(const NotifyKeyArgs* args) REQUIRES(mLock);
|
D | InputDispatcher.cpp | 2643 void InputDispatcher::notifyKey(const NotifyKeyArgs* args) { in notifyKey() 2715 bool InputDispatcher::shouldSendKeyToInputFilterLocked(const NotifyKeyArgs* args) { in shouldSendKeyToInputFilterLocked()
|