Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/include/
DInputListener.h197 struct NotifyDeviceResetArgs : public NotifyArgs { struct
200 inline NotifyDeviceResetArgs() { } in NotifyDeviceResetArgs() argument
202 NotifyDeviceResetArgs(int32_t id, nsecs_t eventTime, int32_t deviceId);
204 NotifyDeviceResetArgs(const NotifyDeviceResetArgs& other);
206 bool operator==(const NotifyDeviceResetArgs& rhs) const;
208 virtual ~NotifyDeviceResetArgs() { } in ~NotifyDeviceResetArgs() argument
265 virtual void notifyDeviceReset(const NotifyDeviceResetArgs* args) = 0;
283 virtual void notifyDeviceReset(const NotifyDeviceResetArgs* args) override;
/frameworks/native/services/inputflinger/tests/
DTestInputListener.cpp45 void TestInputListener::assertNotifyDeviceResetWasCalled(NotifyDeviceResetArgs* outEventArgs) { in assertNotifyDeviceResetWasCalled()
48 NotifyDeviceResetArgs>(outEventArgs, in assertNotifyDeviceResetWasCalled()
54 assertNotCalled<NotifyDeviceResetArgs>("notifyDeviceReset() should not be called.")); in assertNotifyDeviceResetWasNotCalled()
162 void TestInputListener::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()
163 notify<NotifyDeviceResetArgs>(args); in notifyDeviceReset()
DTestInputListener.h42 void assertNotifyDeviceResetWasCalled(NotifyDeviceResetArgs* outEventArgs = nullptr);
75 virtual void notifyDeviceReset(const NotifyDeviceResetArgs* args) override;
95 std::vector<NotifyDeviceResetArgs>, //
DInputClassifier_test.cpp126 NotifyDeviceResetArgs args(1/*sequenceNum*/, 2/*eventTime*/, 3/*deviceId*/); in TEST_F()
129 NotifyDeviceResetArgs outArgs; in TEST_F()
256 NotifyDeviceResetArgs args(1/*sequenceNum*/, 2/*eventTime*/, 3/*deviceId*/); in TEST_F()
DUnwantedInteractionBlocker_test.cpp494 NotifyDeviceResetArgs args(1 /*sequenceNum*/, 2 /*eventTime*/, DEVICE_ID); in TEST_F()
497 NotifyDeviceResetArgs outArgs; in TEST_F()
514 NotifyDeviceResetArgs resetArgs(1 /*sequenceNum*/, 3 /*eventTime*/, DEVICE_ID); in TEST_F()
721 NotifyDeviceResetArgs resetArgs(1 /*sequenceNum*/, 3 /*eventTime*/, DEVICE_ID); in TEST_F()
DInputReader_test.cpp1719 NotifyDeviceResetArgs resetArgs; in TEST_F()
1960 NotifyDeviceResetArgs resetArgs; in TEST_F()
1993 NotifyDeviceResetArgs resetArgs; in TEST_F()
2058 NotifyDeviceResetArgs resetArgs; in TEST_F()
2726 NotifyDeviceResetArgs resetArgs; in TEST_F()
2795 NotifyDeviceResetArgs resetArgs; in TEST_F()
4901 NotifyDeviceResetArgs resetArgs; in TEST_F()
4994 NotifyDeviceResetArgs resetArgs; in TEST_F()
5035 NotifyDeviceResetArgs resetArgs; in TEST_F()
9604 NotifyDeviceResetArgs resetArgs; in TEST_F()
DInputDispatcher_test.cpp2246 NotifyDeviceResetArgs args(10 /*id*/, 20 /*eventTime*/, DEVICE_ID); in TEST_F()
2269 NotifyDeviceResetArgs args(10 /*id*/, 20 /*eventTime*/, DEVICE_ID); in TEST_F()
3940 NotifyDeviceResetArgs args(10 /*id*/, 20 /*eventTime*/, DEVICE_ID); in TEST_F()
/frameworks/native/services/inputflinger/
DInputListener.cpp306 NotifyDeviceResetArgs::NotifyDeviceResetArgs(int32_t id, nsecs_t eventTime, int32_t deviceId) in NotifyDeviceResetArgs() function in android::NotifyDeviceResetArgs
309 NotifyDeviceResetArgs::NotifyDeviceResetArgs(const NotifyDeviceResetArgs& other) in NotifyDeviceResetArgs() function in android::NotifyDeviceResetArgs
312 bool NotifyDeviceResetArgs::operator==(const NotifyDeviceResetArgs& rhs) const { in operator ==()
316 void NotifyDeviceResetArgs::notify(InputListenerInterface& listener) const { in notify()
381 void QueuedInputListener::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()
383 mArgsQueue.emplace_back(std::make_unique<NotifyDeviceResetArgs>(*args)); in notifyDeviceReset()
DInputClassifier.h43 ClassifierEvent(std::unique_ptr<NotifyDeviceResetArgs> args);
78 virtual void reset(const NotifyDeviceResetArgs& args) = 0;
155 virtual void reset(const NotifyDeviceResetArgs& args) override;
249 void notifyDeviceReset(const NotifyDeviceResetArgs* args) override;
DInputClassifier.cpp128 ClassifierEvent::ClassifierEvent(std::unique_ptr<NotifyDeviceResetArgs> args) : in ClassifierEvent()
157 NotifyDeviceResetArgs* deviceResetArgs = in getDeviceId()
158 static_cast<NotifyDeviceResetArgs*>(args.get()); in getDeviceId()
324 void MotionClassifier::reset(const NotifyDeviceResetArgs& args) { in reset()
331 enqueueEvent(std::make_unique<NotifyDeviceResetArgs>(args)); in reset()
464 void InputClassifier::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()
DPreferStylusOverTouchBlocker.h49 void notifyDeviceReset(const NotifyDeviceResetArgs& args);
DUnwantedInteractionBlocker.h99 void notifyDeviceReset(const NotifyDeviceResetArgs* args) override;
DPreferStylusOverTouchBlocker.cpp196 void PreferStylusOverTouchBlocker::notifyDeviceReset(const NotifyDeviceResetArgs& args) { in notifyDeviceReset()
DUnwantedInteractionBlocker.cpp383 void UnwantedInteractionBlocker::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp186 NotifyDeviceResetArgs args(getContext()->getNextId(), when, getDeviceId()); in configure()
DTouchInputMapper.cpp401 NotifyDeviceResetArgs args(getContext()->getNextId(), when, getDeviceId()); in configure()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp600 NotifyDeviceResetArgs args(mContext->getNextId(), when, mId); in notifyReset()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.h103 void notifyDeviceReset(const NotifyDeviceResetArgs* args) override;
DInputDispatcher.cpp4139 void InputDispatcher::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()