/frameworks/native/services/inputflinger/include/ |
D | InputListener.h | 197 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/ |
D | TestInputListener.cpp | 45 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()
|
D | TestInputListener.h | 42 void assertNotifyDeviceResetWasCalled(NotifyDeviceResetArgs* outEventArgs = nullptr); 75 virtual void notifyDeviceReset(const NotifyDeviceResetArgs* args) override; 95 std::vector<NotifyDeviceResetArgs>, //
|
D | InputClassifier_test.cpp | 126 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()
|
D | UnwantedInteractionBlocker_test.cpp | 494 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()
|
D | InputReader_test.cpp | 1719 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()
|
D | InputDispatcher_test.cpp | 2246 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/ |
D | InputListener.cpp | 306 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()
|
D | InputClassifier.h | 43 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;
|
D | InputClassifier.cpp | 128 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()
|
D | PreferStylusOverTouchBlocker.h | 49 void notifyDeviceReset(const NotifyDeviceResetArgs& args);
|
D | UnwantedInteractionBlocker.h | 99 void notifyDeviceReset(const NotifyDeviceResetArgs* args) override;
|
D | PreferStylusOverTouchBlocker.cpp | 196 void PreferStylusOverTouchBlocker::notifyDeviceReset(const NotifyDeviceResetArgs& args) { in notifyDeviceReset()
|
D | UnwantedInteractionBlocker.cpp | 383 void UnwantedInteractionBlocker::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 186 NotifyDeviceResetArgs args(getContext()->getNextId(), when, getDeviceId()); in configure()
|
D | TouchInputMapper.cpp | 401 NotifyDeviceResetArgs args(getContext()->getNextId(), when, getDeviceId()); in configure()
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 600 NotifyDeviceResetArgs args(mContext->getNextId(), when, mId); in notifyReset()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.h | 103 void notifyDeviceReset(const NotifyDeviceResetArgs* args) override;
|
D | InputDispatcher.cpp | 4139 void InputDispatcher::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()
|