Home
last modified time | relevance | path

Searched refs:NotifySensorArgs (Results 1 – 10 of 10) sorted by relevance

/aosp12/frameworks/native/services/inputflinger/include/
H A DInputListener.h149 struct NotifySensorArgs : public NotifyArgs { struct
158 inline NotifySensorArgs() {} in NotifySensorArgs() function
160 NotifySensorArgs(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source,
164 NotifySensorArgs(const NotifySensorArgs& other);
166 bool operator==(const NotifySensorArgs rhs) const;
168 ~NotifySensorArgs() override {} in ~NotifySensorArgs() argument
261 virtual void notifySensor(const NotifySensorArgs* args) = 0;
283 virtual void notifySensor(const NotifySensorArgs* args) override;
/aosp12/frameworks/native/services/inputflinger/
H A DInputListener.cpp221 NotifySensorArgs::NotifySensorArgs(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, in NotifySensorArgs() function in android::NotifySensorArgs
234 NotifySensorArgs::NotifySensorArgs(const NotifySensorArgs& other) in NotifySensorArgs() function in android::NotifySensorArgs
244 bool NotifySensorArgs::operator==(const NotifySensorArgs rhs) const { in operator ==()
250 void NotifySensorArgs::notify(const sp<InputListenerInterface>& listener) const { in notify()
347 void QueuedInputListener::notifySensor(const NotifySensorArgs* args) { in notifySensor()
349 mArgsQueue.push_back(new NotifySensorArgs(*args)); in notifySensor()
H A DInputClassifier.h232 virtual void notifySensor(const NotifySensorArgs* args) override;
H A DInputClassifier.cpp394 void InputClassifier::notifySensor(const NotifySensorArgs* args) { in notifySensor()
/aosp12/frameworks/native/services/inputflinger/tests/
H A DTestInputListener.cpp83 void TestInputListener::assertNotifySensorWasCalled(NotifySensorArgs* outEventArgs) { in assertNotifySensorWasCalled()
85 assertCalled<NotifySensorArgs>(outEventArgs, in assertNotifySensorWasCalled()
175 void TestInputListener::notifySensor(const NotifySensorArgs* args) { in notifySensor()
176 notify<NotifySensorArgs>(args); in notifySensor()
H A DTestInputListener.h59 void assertNotifySensorWasCalled(NotifySensorArgs* outEventArgs = nullptr);
82 virtual void notifySensor(const NotifySensorArgs* args) override;
98 std::vector<NotifySensorArgs>, //
H A DInputReader_test.cpp3026 NotifySensorArgs args; in TEST_F()
3056 NotifySensorArgs args; in TEST_F()
/aosp12/frameworks/native/services/inputflinger/reader/mapper/
H A DSensorInputMapper.cpp408 NotifySensorArgs args(getContext()->getNextId(), when, getDeviceId(), in sync()
/aosp12/frameworks/native/services/inputflinger/dispatcher/
H A DInputDispatcher.h101 void notifySensor(const NotifySensorArgs* args) override;
H A DInputDispatcher.cpp3952 void InputDispatcher::notifySensor(const NotifySensorArgs* args) { in notifySensor()