Searched refs:NotifySwitchArgs (Results 1 – 11 of 11) sorted by relevance
/frameworks/native/services/inputflinger/include/ |
D | InputListener.h | 147 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/ |
D | InputListener.cpp | 171 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()
|
D | InputClassifier.h | 229 virtual void notifySwitch(const NotifySwitchArgs* args) override;
|
D | InputClassifier.cpp | 388 void InputClassifier::notifySwitch(const NotifySwitchArgs* args) { in notifySwitch()
|
/frameworks/native/services/inputflinger/tests/ |
D | TestInputListener.h | 33 std::vector<NotifySwitchArgs> mNotifySwitchArgsQueue; 58 void assertNotifySwitchWasCalled(NotifySwitchArgs* outEventArgs = nullptr); 69 virtual void notifySwitch(const NotifySwitchArgs* args);
|
D | TestInputListener.cpp | 85 void TestInputListener::assertNotifySwitchWasCalled(NotifySwitchArgs* outEventArgs) { in assertNotifySwitchWasCalled() 110 void TestInputListener::notifySwitch(const NotifySwitchArgs* args) { in notifySwitch()
|
D | InputClassifier_test.cpp | 113 NotifySwitchArgs args(1/*sequenceNum*/, 2/*eventTime*/, 3/*policyFlags*/, 4/*switchValues*/, in TEST_F() 117 NotifySwitchArgs outArgs; in TEST_F()
|
D | InputReader_test.cpp | 1939 NotifySwitchArgs args; in TEST_F()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | SwitchInputMapper.cpp | 59 NotifySwitchArgs args(mContext->getNextSequenceNum(), when, 0, updatedSwitchValues, in sync()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.h | 91 virtual void notifySwitch(const NotifySwitchArgs* args) override;
|
D | InputDispatcher.cpp | 2804 void InputDispatcher::notifySwitch(const NotifySwitchArgs* args) { in notifySwitch()
|