Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/include/
DInputListener.h230 struct NotifyVibratorStateArgs : public NotifyArgs { struct
234 inline NotifyVibratorStateArgs() {} in NotifyVibratorStateArgs() argument
236 NotifyVibratorStateArgs(int32_t id, nsecs_t eventTIme, int32_t deviceId, bool isOn);
238 NotifyVibratorStateArgs(const NotifyVibratorStateArgs& other);
240 bool operator==(const NotifyVibratorStateArgs rhs) const;
242 virtual ~NotifyVibratorStateArgs() {} in ~NotifyVibratorStateArgs() argument
261 virtual void notifyVibratorState(const NotifyVibratorStateArgs* args) = 0;
284 void notifyVibratorState(const NotifyVibratorStateArgs* args) override;
/frameworks/native/services/inputflinger/
DInputListener.cpp256 NotifyVibratorStateArgs::NotifyVibratorStateArgs(int32_t id, nsecs_t eventTime, int32_t deviceId, in NotifyVibratorStateArgs() function in android::NotifyVibratorStateArgs
260 NotifyVibratorStateArgs::NotifyVibratorStateArgs(const NotifyVibratorStateArgs& other) in NotifyVibratorStateArgs() function in android::NotifyVibratorStateArgs
263 bool NotifyVibratorStateArgs::operator==(const NotifyVibratorStateArgs rhs) const { in operator ==()
268 void NotifyVibratorStateArgs::notify(const sp<InputListenerInterface>& listener) const { in notify()
352 void QueuedInputListener::notifyVibratorState(const NotifyVibratorStateArgs* args) { in notifyVibratorState()
354 mArgsQueue.push_back(new NotifyVibratorStateArgs(*args)); in notifyVibratorState()
DInputClassifier.h233 virtual void notifyVibratorState(const NotifyVibratorStateArgs* args) override;
DInputClassifier.cpp399 void InputClassifier::notifyVibratorState(const NotifyVibratorStateArgs* args) { in notifyVibratorState()
/frameworks/native/services/inputflinger/tests/
DTestInputListener.cpp89 void TestInputListener::assertNotifyVibratorStateWasCalled(NotifyVibratorStateArgs* outEventArgs) { in assertNotifyVibratorStateWasCalled()
90 ASSERT_NO_FATAL_FAILURE(assertCalled<NotifyVibratorStateArgs>(outEventArgs, in assertNotifyVibratorStateWasCalled()
174 void TestInputListener::notifyVibratorState(const NotifyVibratorStateArgs* args) { in notifyVibratorState()
175 notify<NotifyVibratorStateArgs>(args); in notifyVibratorState()
DTestInputListener.h59 void assertNotifyVibratorStateWasCalled(NotifyVibratorStateArgs* outEventArgs = nullptr);
83 virtual void notifyVibratorState(const NotifyVibratorStateArgs* args) override;
98 std::vector<NotifyVibratorStateArgs>, //
DInputReader_test.cpp2877 NotifyVibratorStateArgs args; in TEST_F()
/frameworks/native/services/inputflinger/reader/mapper/
DVibratorInputMapper.cpp56 NotifyVibratorStateArgs args(getContext()->getNextId(), systemTime(), getDeviceId(), true); in vibrate()
135 NotifyVibratorStateArgs args(getContext()->getNextId(), systemTime(), getDeviceId(), false); in stopVibrating()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.h101 void notifyVibratorState(const NotifyVibratorStateArgs* args) override;
DInputDispatcher.cpp3934 void InputDispatcher::notifyVibratorState(const NotifyVibratorStateArgs* args) { in notifyVibratorState()