Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/include/
DInputListener.h169 struct NotifyDeviceResetArgs : public NotifyArgs { struct
172 inline NotifyDeviceResetArgs() { } in NotifyDeviceResetArgs() argument
174 NotifyDeviceResetArgs(uint32_t sequenceNum, nsecs_t eventTime, int32_t deviceId);
176 NotifyDeviceResetArgs(const NotifyDeviceResetArgs& other);
178 bool operator==(const NotifyDeviceResetArgs& rhs) const;
180 virtual ~NotifyDeviceResetArgs() { } in ~NotifyDeviceResetArgs() argument
199 virtual void notifyDeviceReset(const NotifyDeviceResetArgs* args) = 0;
218 virtual void notifyDeviceReset(const NotifyDeviceResetArgs* args);
/frameworks/native/services/inputflinger/
DInputListener.cpp197 NotifyDeviceResetArgs::NotifyDeviceResetArgs( in NotifyDeviceResetArgs() function in android::NotifyDeviceResetArgs
202 NotifyDeviceResetArgs::NotifyDeviceResetArgs(const NotifyDeviceResetArgs& other) : in NotifyDeviceResetArgs() function in android::NotifyDeviceResetArgs
206 bool NotifyDeviceResetArgs::operator==(const NotifyDeviceResetArgs& rhs) const { in operator ==()
212 void NotifyDeviceResetArgs::notify(const sp<InputListenerInterface>& listener) const { in notify()
247 void QueuedInputListener::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()
248 mArgsQueue.push_back(new NotifyDeviceResetArgs(*args)); in notifyDeviceReset()
DInputClassifier.h44 ClassifierEvent(std::unique_ptr<NotifyDeviceResetArgs> args);
79 virtual void reset(const NotifyDeviceResetArgs& args) = 0;
140 virtual void reset(const NotifyDeviceResetArgs& args) override;
230 virtual void notifyDeviceReset(const NotifyDeviceResetArgs* args) override;
DInputClassifier.cpp78 ClassifierEvent::ClassifierEvent(std::unique_ptr<NotifyDeviceResetArgs> args) : in ClassifierEvent()
107 NotifyDeviceResetArgs* deviceResetArgs = in getDeviceId()
108 static_cast<NotifyDeviceResetArgs*>(args.get()); in getDeviceId()
284 void MotionClassifier::reset(const NotifyDeviceResetArgs& args) { in reset()
291 enqueueEvent(std::make_unique<NotifyDeviceResetArgs>(args)); in reset()
393 void InputClassifier::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()
/frameworks/native/services/inputflinger/tests/
DTestInputListener.h30 std::vector<NotifyDeviceResetArgs> mNotifyDeviceResetArgsQueue;
46 void assertNotifyDeviceResetWasCalled(NotifyDeviceResetArgs* outEventArgs = nullptr);
63 virtual void notifyDeviceReset(const NotifyDeviceResetArgs* args);
DTestInputListener.cpp46 NotifyDeviceResetArgs* outEventArgs) { in assertNotifyDeviceResetWasCalled()
98 void TestInputListener::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()
DInputClassifier_test.cpp127 NotifyDeviceResetArgs args(1/*sequenceNum*/, 2/*eventTime*/, 3/*deviceId*/); in TEST_F()
130 NotifyDeviceResetArgs outArgs; in TEST_F()
268 NotifyDeviceResetArgs args(1/*sequenceNum*/, 2/*eventTime*/, 3/*deviceId*/); in TEST_F()
DInputReader_test.cpp1356 NotifyDeviceResetArgs resetArgs; in TEST_F()
1538 NotifyDeviceResetArgs resetArgs; in TEST_F()
1657 NotifyDeviceResetArgs resetArgs; in TEST_F()
1727 NotifyDeviceResetArgs resetArgs; in TEST_F()
3079 NotifyDeviceResetArgs resetArgs; in TEST_F()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp323 NotifyDeviceResetArgs args(mContext->getNextSequenceNum(), when, mId); in notifyReset()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.h92 virtual void notifyDeviceReset(const NotifyDeviceResetArgs* args) override;
DInputDispatcher.cpp2816 void InputDispatcher::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()