Home
last modified time | relevance | path

Searched refs:NotifyKeyArgs (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/services/inputflinger/include/
DInputListener.h66 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/
DInputListener.cpp50 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()
DInputClassifier.h241 virtual void notifyKey(const NotifyKeyArgs* args) override;
DInputClassifier.cpp411 void InputClassifier::notifyKey(const NotifyKeyArgs* args) { in notifyKey()
DInputDispatcher.h424 virtual void notifyKey(const NotifyKeyArgs* args) override;
1031 bool shouldSendKeyToInputFilterLocked(const NotifyKeyArgs* args) REQUIRES(mLock);
DInputReader.cpp243 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()
DInputDispatcher.cpp2646 void InputDispatcher::notifyKey(const NotifyKeyArgs* args) { in notifyKey()
2719 bool InputDispatcher::shouldSendKeyToInputFilterLocked(const NotifyKeyArgs* args) { in shouldSendKeyToInputFilterLocked()
/frameworks/native/services/inputflinger/tests/
DTestInputListener.h31 std::vector<NotifyKeyArgs> mNotifyKeyArgsQueue;
50 void assertNotifyKeyWasCalled(NotifyKeyArgs* outEventArgs = nullptr);
65 virtual void notifyKey(const NotifyKeyArgs* args);
DTestInputListener.cpp60 void TestInputListener::assertNotifyKeyWasCalled(NotifyKeyArgs* outEventArgs) { in assertNotifyKeyWasCalled()
102 void TestInputListener::notifyKey(const NotifyKeyArgs* args) { in notifyKey()
DInputClassifier_test.cpp82 NotifyKeyArgs args(1/*sequenceNum*/, 2/*eventTime*/, 3/*deviceId*/, AINPUT_SOURCE_KEYBOARD, in TEST_F()
87 NotifyKeyArgs outArgs; in TEST_F()
DInputDispatcher_test.cpp72 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()
DInputReader_test.cpp1959 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 …]