Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/include/
DInputListener.h147 struct NotifySwitchArgs : public NotifyArgs { struct
152 inline NotifySwitchArgs() { } in NotifySwitchArgs() argument
154 NotifySwitchArgs(uint32_t sequenceNum, nsecs_t eventTime, uint32_t policyFlags,
157 NotifySwitchArgs(const NotifySwitchArgs& other);
159 bool operator==(const NotifySwitchArgs rhs) const;
161 virtual ~NotifySwitchArgs() { } in ~NotifySwitchArgs() argument
198 virtual void notifySwitch(const NotifySwitchArgs* args) = 0;
217 virtual void notifySwitch(const NotifySwitchArgs* args);
/frameworks/native/services/inputflinger/
DInputListener.cpp171 NotifySwitchArgs::NotifySwitchArgs(uint32_t sequenceNum, nsecs_t eventTime, uint32_t policyFlags, in NotifySwitchArgs() function in android::NotifySwitchArgs
177 NotifySwitchArgs::NotifySwitchArgs(const NotifySwitchArgs& other) : in NotifySwitchArgs() function in android::NotifySwitchArgs
182 bool NotifySwitchArgs::operator==(const NotifySwitchArgs rhs) const { in operator ==()
190 void NotifySwitchArgs::notify(const sp<InputListenerInterface>& listener) const { in notify()
243 void QueuedInputListener::notifySwitch(const NotifySwitchArgs* args) { in notifySwitch()
244 mArgsQueue.push_back(new NotifySwitchArgs(*args)); in notifySwitch()
DInputClassifier.h229 virtual void notifySwitch(const NotifySwitchArgs* args) override;
DInputClassifier.cpp388 void InputClassifier::notifySwitch(const NotifySwitchArgs* args) { in notifySwitch()
/frameworks/native/services/inputflinger/tests/
DTestInputListener.h33 std::vector<NotifySwitchArgs> mNotifySwitchArgsQueue;
58 void assertNotifySwitchWasCalled(NotifySwitchArgs* outEventArgs = nullptr);
69 virtual void notifySwitch(const NotifySwitchArgs* args);
DTestInputListener.cpp85 void TestInputListener::assertNotifySwitchWasCalled(NotifySwitchArgs* outEventArgs) { in assertNotifySwitchWasCalled()
110 void TestInputListener::notifySwitch(const NotifySwitchArgs* args) { in notifySwitch()
DInputClassifier_test.cpp113 NotifySwitchArgs args(1/*sequenceNum*/, 2/*eventTime*/, 3/*policyFlags*/, 4/*switchValues*/, in TEST_F()
117 NotifySwitchArgs outArgs; in TEST_F()
DInputReader_test.cpp1939 NotifySwitchArgs args; in TEST_F()
/frameworks/native/services/inputflinger/reader/mapper/
DSwitchInputMapper.cpp59 NotifySwitchArgs args(mContext->getNextSequenceNum(), when, 0, updatedSwitchValues, in sync()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.h91 virtual void notifySwitch(const NotifySwitchArgs* args) override;
DInputDispatcher.cpp2804 void InputDispatcher::notifySwitch(const NotifySwitchArgs* args) { in notifySwitch()