Searched refs:NotifyDeviceResetArgs (Results 1 – 14 of 14) sorted by relevance
/frameworks/native/services/inputflinger/include/ |
D | InputListener.h | 196 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/ |
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() 150 void TestInputListener::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset() 151 notify<NotifyDeviceResetArgs>(args); in notifyDeviceReset()
|
D | TestInputListener.h | 43 void assertNotifyDeviceResetWasCalled(NotifyDeviceResetArgs* outEventArgs = nullptr); 73 virtual void notifyDeviceReset(const NotifyDeviceResetArgs* args) override; 93 std::vector<NotifyDeviceResetArgs>, //
|
D | InputClassifier_test.cpp | 131 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()
|
D | InputReader_test.cpp | 1601 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()
|
D | InputDispatcher_test.cpp | 1703 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/ |
D | InputListener.cpp | 274 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()
|
D | InputClassifier.h | 44 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;
|
D | InputClassifier.cpp | 78 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/ |
D | CursorInputMapper.cpp | 178 NotifyDeviceResetArgs args(getContext()->getNextId(), when, getDeviceId()); in configure()
|
D | TouchInputMapper.cpp | 400 NotifyDeviceResetArgs args(getContext()->getNextId(), when, getDeviceId()); in configure()
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 570 NotifyDeviceResetArgs args(mContext->getNextId(), when, mId); in notifyReset()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.h | 102 void notifyDeviceReset(const NotifyDeviceResetArgs* args) override;
|
D | InputDispatcher.cpp | 3958 void InputDispatcher::notifyDeviceReset(const NotifyDeviceResetArgs* args) { in notifyDeviceReset()
|