Home
last modified time | relevance | path

Searched refs:NotifyKeyArgs (Results 1 – 14 of 14) 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.h227 virtual void notifyKey(const NotifyKeyArgs* args) override;
DInputClassifier.cpp369 void InputClassifier::notifyKey(const NotifyKeyArgs* args) { in notifyKey()
/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.cpp85 NotifyKeyArgs args(1/*sequenceNum*/, 2/*eventTime*/, 3/*deviceId*/, AINPUT_SOURCE_KEYBOARD, in TEST_F()
90 NotifyKeyArgs outArgs; in TEST_F()
DInputDispatcher_test.cpp74 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()
DInputReader_test.cpp1971 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/
DTouchCursorInputMapperCommon.h68 NotifyKeyArgs args(context->getNextSequenceNum(), when, deviceId, source, displayId, in synthesizeButtonKey()
DKeyboardInputMapper.cpp331 NotifyKeyArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), mSource, getDisplayId(), in processKey()
DTouchInputMapper.cpp1856 NotifyKeyArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), AINPUT_SOURCE_KEYBOARD, in dispatchVirtualKey()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.h89 virtual void notifyKey(const NotifyKeyArgs* args) override;
241 bool shouldSendKeyToInputFilterLocked(const NotifyKeyArgs* args) REQUIRES(mLock);
DInputDispatcher.cpp2643 void InputDispatcher::notifyKey(const NotifyKeyArgs* args) { in notifyKey()
2715 bool InputDispatcher::shouldSendKeyToInputFilterLocked(const NotifyKeyArgs* args) { in shouldSendKeyToInputFilterLocked()