Searched refs:NotifySwitchArgs (Results 1 – 12 of 12) sorted by relevance
/frameworks/native/services/inputflinger/include/ |
D | InputListener.h | 174 struct NotifySwitchArgs : public NotifyArgs { struct 179 inline NotifySwitchArgs() { } in NotifySwitchArgs() argument 181 NotifySwitchArgs(int32_t id, nsecs_t eventTime, uint32_t policyFlags, uint32_t switchValues, 184 NotifySwitchArgs(const NotifySwitchArgs& other); 186 bool operator==(const NotifySwitchArgs rhs) const; 188 virtual ~NotifySwitchArgs() { } in ~NotifySwitchArgs() argument 259 virtual void notifySwitch(const NotifySwitchArgs* args) = 0; 281 virtual void notifySwitch(const NotifySwitchArgs* args) override;
|
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 197 NotifySwitchArgs::NotifySwitchArgs(int32_t id, nsecs_t eventTime, uint32_t policyFlags, in NotifySwitchArgs() function in android::NotifySwitchArgs 204 NotifySwitchArgs::NotifySwitchArgs(const NotifySwitchArgs& other) in NotifySwitchArgs() function in android::NotifySwitchArgs 210 bool NotifySwitchArgs::operator==(const NotifySwitchArgs rhs) const { in operator ==() 215 void NotifySwitchArgs::notify(const sp<InputListenerInterface>& listener) const { in notify() 342 void QueuedInputListener::notifySwitch(const NotifySwitchArgs* args) { in notifySwitch() 344 mArgsQueue.push_back(new NotifySwitchArgs(*args)); in notifySwitch()
|
D | InputClassifier.h | 231 virtual void notifySwitch(const NotifySwitchArgs* args) override;
|
D | InputClassifier.cpp | 404 void InputClassifier::notifySwitch(const NotifySwitchArgs* args) { in notifySwitch()
|
/frameworks/native/services/inputflinger/tests/ |
D | TestInputListener.cpp | 77 void TestInputListener::assertNotifySwitchWasCalled(NotifySwitchArgs* outEventArgs) { in assertNotifySwitchWasCalled() 79 assertCalled<NotifySwitchArgs>(outEventArgs, in assertNotifySwitchWasCalled() 162 void TestInputListener::notifySwitch(const NotifySwitchArgs* args) { in notifySwitch() 163 notify<NotifySwitchArgs>(args); in notifySwitch()
|
D | TestInputListener.h | 55 void assertNotifySwitchWasCalled(NotifySwitchArgs* outEventArgs = nullptr); 79 virtual void notifySwitch(const NotifySwitchArgs* args) override; 96 std::vector<NotifySwitchArgs>, //
|
D | InputClassifier_test.cpp | 117 NotifySwitchArgs args(1/*sequenceNum*/, 2/*eventTime*/, 3/*policyFlags*/, 4/*switchValues*/, in TEST_F() 121 NotifySwitchArgs outArgs; in TEST_F()
|
D | InputDispatcher_test.cpp | 106 void assertNotifySwitchWasCalled(const NotifySwitchArgs& args) { in assertNotifySwitchWasCalled() 281 std::optional<NotifySwitchArgs> mLastNotifySwitch GUARDED_BY(mLock); 387 mLastNotifySwitch = NotifySwitchArgs(1 /*id*/, when, policyFlags, switchValues, switchMask); in notifySwitch() 667 NotifySwitchArgs args(10 /*id*/, 20 /*eventTime*/, 0 /*policyFlags*/, 1 /*switchValues*/, in TEST_F()
|
D | InputReader_test.cpp | 2825 NotifySwitchArgs args; in TEST_F()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | SwitchInputMapper.cpp | 59 NotifySwitchArgs args(getContext()->getNextId(), when, 0 /*policyFlags*/, in sync()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.h | 99 void notifySwitch(const NotifySwitchArgs* args) override;
|
D | InputDispatcher.cpp | 3946 void InputDispatcher::notifySwitch(const NotifySwitchArgs* args) { in notifySwitch()
|