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;
139 virtual void reset(const NotifyDeviceResetArgs& args) override;
244 virtual void notifyDeviceReset(const NotifyDeviceResetArgs* args) override;
DInputClassifier.cpp100 ClassifierEvent::ClassifierEvent(std::unique_ptr<NotifyDeviceResetArgs> args) : in ClassifierEvent()
129 NotifyDeviceResetArgs* deviceResetArgs = in getDeviceId()
130 static_cast<NotifyDeviceResetArgs*>(args.get()); in getDeviceId()
343 void MotionClassifier::reset(const NotifyDeviceResetArgs& args) { in reset()
350 enqueueEvent(std::make_unique<NotifyDeviceResetArgs>(args)); in reset()
435 void InputClassifier::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()
DInputDispatcher.h427 virtual void notifyDeviceReset(const NotifyDeviceResetArgs* args) override;
DInputDispatcher.cpp2822 void InputDispatcher::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()
DInputReader.cpp1273 NotifyDeviceResetArgs args(mContext->getNextSequenceNum(), when, mId); in notifyReset()
/frameworks/native/services/inputflinger/tests/
DTestInputListener.h30 std::vector<NotifyDeviceResetArgs> mNotifyDeviceResetArgsQueue;
46 void assertNotifyDeviceResetWasCalled(NotifyDeviceResetArgs* outEventArgs = nullptr);
63 virtual void notifyDeviceReset(const NotifyDeviceResetArgs* args);
DInputClassifier_test.cpp124 NotifyDeviceResetArgs args(1/*sequenceNum*/, 2/*eventTime*/, 3/*deviceId*/); in TEST_F()
127 NotifyDeviceResetArgs outArgs; in TEST_F()
215 NotifyDeviceResetArgs args(1/*sequenceNum*/, 2/*eventTime*/, 3/*deviceId*/); in TEST_F()
DTestInputListener.cpp46 NotifyDeviceResetArgs* outEventArgs) { in assertNotifyDeviceResetWasCalled()
98 void TestInputListener::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()
DInputReader_test.cpp1344 NotifyDeviceResetArgs resetArgs; in TEST_F()
1526 NotifyDeviceResetArgs resetArgs; in TEST_F()
1645 NotifyDeviceResetArgs resetArgs; in TEST_F()
1715 NotifyDeviceResetArgs resetArgs; in TEST_F()
3067 NotifyDeviceResetArgs resetArgs; in TEST_F()