Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/include/
DInputListener.h196 struct NotifyDeviceResetArgs : public NotifyArgs { struct
199 inline NotifyDeviceResetArgs() { } in NotifyDeviceResetArgs() argument
201 NotifyDeviceResetArgs(int32_t id, nsecs_t eventTime, int32_t deviceId);
203 NotifyDeviceResetArgs(const NotifyDeviceResetArgs& other);
205 bool operator==(const NotifyDeviceResetArgs& rhs) const;
207 virtual ~NotifyDeviceResetArgs() { } in ~NotifyDeviceResetArgs() argument
262 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()
150 void TestInputListener::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()
151 notify<NotifyDeviceResetArgs>(args); in notifyDeviceReset()
DTestInputListener.h43 void assertNotifyDeviceResetWasCalled(NotifyDeviceResetArgs* outEventArgs = nullptr);
73 virtual void notifyDeviceReset(const NotifyDeviceResetArgs* args) override;
93 std::vector<NotifyDeviceResetArgs>, //
DInputClassifier_test.cpp131 NotifyDeviceResetArgs args(1/*sequenceNum*/, 2/*eventTime*/, 3/*deviceId*/); in TEST_F()
134 NotifyDeviceResetArgs outArgs; in TEST_F()
272 NotifyDeviceResetArgs args(1/*sequenceNum*/, 2/*eventTime*/, 3/*deviceId*/); in TEST_F()
DInputReader_test.cpp1601 NotifyDeviceResetArgs resetArgs; in TEST_F()
1811 NotifyDeviceResetArgs resetArgs; in TEST_F()
1844 NotifyDeviceResetArgs resetArgs; in TEST_F()
1909 NotifyDeviceResetArgs resetArgs; in TEST_F()
2446 NotifyDeviceResetArgs resetArgs; in TEST_F()
2515 NotifyDeviceResetArgs resetArgs; in TEST_F()
4464 NotifyDeviceResetArgs resetArgs; in TEST_F()
8494 NotifyDeviceResetArgs resetArgs; in TEST_F()
DInputDispatcher_test.cpp1703 NotifyDeviceResetArgs args(10 /*id*/, 20 /*eventTime*/, DEVICE_ID); in TEST_F()
1726 NotifyDeviceResetArgs args(10 /*id*/, 20 /*eventTime*/, DEVICE_ID); in TEST_F()
/frameworks/native/services/inputflinger/
DInputListener.cpp274 NotifyDeviceResetArgs::NotifyDeviceResetArgs(int32_t id, nsecs_t eventTime, int32_t deviceId) in NotifyDeviceResetArgs() function in android::NotifyDeviceResetArgs
277 NotifyDeviceResetArgs::NotifyDeviceResetArgs(const NotifyDeviceResetArgs& other) in NotifyDeviceResetArgs() function in android::NotifyDeviceResetArgs
280 bool NotifyDeviceResetArgs::operator==(const NotifyDeviceResetArgs& rhs) const { in operator ==()
284 void NotifyDeviceResetArgs::notify(const sp<InputListenerInterface>& listener) const { in notify()
357 void QueuedInputListener::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()
359 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;
234 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()
290 void MotionClassifier::reset(const NotifyDeviceResetArgs& args) { in reset()
297 enqueueEvent(std::make_unique<NotifyDeviceResetArgs>(args)); in reset()
409 void InputClassifier::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp178 NotifyDeviceResetArgs args(getContext()->getNextId(), when, getDeviceId()); in configure()
DTouchInputMapper.cpp400 NotifyDeviceResetArgs args(getContext()->getNextId(), when, getDeviceId()); in configure()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp570 NotifyDeviceResetArgs args(mContext->getNextId(), when, mId); in notifyReset()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.h102 void notifyDeviceReset(const NotifyDeviceResetArgs* args) override;
DInputDispatcher.cpp3958 void InputDispatcher::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()