Searched refs:NotifyKeyArgs (Results 1 – 12 of 12) sorted by relevance
/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 | 241 virtual void notifyKey(const NotifyKeyArgs* args) override;
|
D | InputClassifier.cpp | 411 void InputClassifier::notifyKey(const NotifyKeyArgs* args) { in notifyKey()
|
D | InputDispatcher.h | 424 virtual void notifyKey(const NotifyKeyArgs* args) override; 1031 bool shouldSendKeyToInputFilterLocked(const NotifyKeyArgs* args) REQUIRES(mLock);
|
D | InputReader.cpp | 243 NotifyKeyArgs args(context->getNextSequenceNum(), when, deviceId, source, displayId, in synthesizeButtonKey() 2439 NotifyKeyArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), mSource, in processKey() 4757 NotifyKeyArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), AINPUT_SOURCE_KEYBOARD, in dispatchVirtualKey()
|
D | InputDispatcher.cpp | 2646 void InputDispatcher::notifyKey(const NotifyKeyArgs* args) { in notifyKey() 2719 bool InputDispatcher::shouldSendKeyToInputFilterLocked(const NotifyKeyArgs* args) { in shouldSendKeyToInputFilterLocked()
|
/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 | 82 NotifyKeyArgs args(1/*sequenceNum*/, 2/*eventTime*/, 3/*deviceId*/, AINPUT_SOURCE_KEYBOARD, in TEST_F() 87 NotifyKeyArgs outArgs; in TEST_F()
|
D | InputDispatcher_test.cpp | 72 void assertFilterInputEventWasCalledWithExpectedArgs(const NotifyKeyArgs* args) { in assertFilterInputEventWasCalledWithExpectedArgs() 554 static NotifyKeyArgs generateKeyArgs(int32_t action, int32_t displayId = ADISPLAY_ID_NONE) { in generateKeyArgs() 557 NotifyKeyArgs args(/* sequenceNum */ 0, currentTime, DEVICE_ID, AINPUT_SOURCE_KEYBOARD, in generateKeyArgs() 884 NotifyKeyArgs keyArgs; in testNotifyKey()
|
D | InputReader_test.cpp | 1959 NotifyKeyArgs args; in testDPadKeyRotation() 1995 NotifyKeyArgs args; in TEST_F() 2096 NotifyKeyArgs args; in TEST_F() 2199 NotifyKeyArgs args; in TEST_F() 2225 NotifyKeyArgs args; in TEST_F() 2251 NotifyKeyArgs args; in TEST_F() 2761 NotifyKeyArgs keyArgs; in TEST_F() 3562 NotifyKeyArgs args; in TEST_F() 3613 NotifyKeyArgs keyArgs; in TEST_F() 4156 NotifyKeyArgs keyArgs; in TEST_F() [all …]
|