Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/include/
DInputListener.h174 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/
DInputListener.cpp197 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()
DInputClassifier.h231 virtual void notifySwitch(const NotifySwitchArgs* args) override;
DInputClassifier.cpp404 void InputClassifier::notifySwitch(const NotifySwitchArgs* args) { in notifySwitch()
/frameworks/native/services/inputflinger/tests/
DTestInputListener.cpp77 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()
DTestInputListener.h55 void assertNotifySwitchWasCalled(NotifySwitchArgs* outEventArgs = nullptr);
79 virtual void notifySwitch(const NotifySwitchArgs* args) override;
96 std::vector<NotifySwitchArgs>, //
DInputClassifier_test.cpp117 NotifySwitchArgs args(1/*sequenceNum*/, 2/*eventTime*/, 3/*policyFlags*/, 4/*switchValues*/, in TEST_F()
121 NotifySwitchArgs outArgs; in TEST_F()
DInputDispatcher_test.cpp106 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()
DInputReader_test.cpp2825 NotifySwitchArgs args; in TEST_F()
/frameworks/native/services/inputflinger/reader/mapper/
DSwitchInputMapper.cpp59 NotifySwitchArgs args(getContext()->getNextId(), when, 0 /*policyFlags*/, in sync()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.h99 void notifySwitch(const NotifySwitchArgs* args) override;
DInputDispatcher.cpp3946 void InputDispatcher::notifySwitch(const NotifySwitchArgs* args) { in notifySwitch()