Home
last modified time | relevance | path

Searched refs:NotifySwitchArgs (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/native/services/inputflinger/include/
DNotifyArgs.h168 struct NotifySwitchArgs { struct
176 inline NotifySwitchArgs() {} in NotifySwitchArgs() argument
178 NotifySwitchArgs(int32_t id, nsecs_t eventTime, uint32_t policyFlags, uint32_t switchValues,
181 NotifySwitchArgs(const NotifySwitchArgs& other) = default;
182 NotifySwitchArgs& operator=(const NotifySwitchArgs&) = default; argument
184 bool operator==(const NotifySwitchArgs& rhs) const = default;
238 NotifyMotionArgs, NotifySensorArgs, NotifySwitchArgs, NotifyDeviceResetArgs,
DInputListener.h44 virtual void notifySwitch(const NotifySwitchArgs& args) = 0;
66 virtual void notifySwitch(const NotifySwitchArgs& args) override;
90 virtual void notifySwitch(const NotifySwitchArgs& args) override;
/frameworks/native/services/inputflinger/tests/
DTestInputListener.h68 void assertNotifySwitchWasCalled(NotifySwitchArgs* outEventArgs = nullptr);
96 virtual void notifySwitch(const NotifySwitchArgs& args) override;
114 std::vector<NotifySwitchArgs>, //
DTestInputListener.cpp112 void TestInputListener::assertNotifySwitchWasCalled(NotifySwitchArgs* outEventArgs) { in assertNotifySwitchWasCalled()
114 assertCalled<NotifySwitchArgs>(outEventArgs, in assertNotifySwitchWasCalled()
211 void TestInputListener::notifySwitch(const NotifySwitchArgs& args) { in notifySwitch()
212 addToQueue<NotifySwitchArgs>(args); in notifySwitch()
DInputProcessor_test.cpp106 NotifySwitchArgs args(/*sequenceNum=*/1, /*eventTime=*/2, /*policyFlags=*/3, in TEST_F()
110 NotifySwitchArgs outArgs; in TEST_F()
DFakeInputDispatcherPolicy.h70 void assertNotifySwitchWasCalled(const NotifySwitchArgs& args);
126 std::optional<NotifySwitchArgs> mLastNotifySwitch GUARDED_BY(mLock);
DFakeInputDispatcherPolicy.cpp64 void FakeInputDispatcherPolicy::assertNotifySwitchWasCalled(const NotifySwitchArgs& args) { in assertNotifySwitchWasCalled()
450 NotifySwitchArgs(InputEvent::nextId(), when, policyFlags, switchValues, switchMask); in notifySwitch()
DUnwantedInteractionBlocker_test.cpp462 NotifySwitchArgs args(/*sequenceNum=*/1, /*eventTime=*/2, /*policyFlags=*/3, in TEST_F()
466 NotifySwitchArgs outArgs; in TEST_F()
DPointerChoreographer_test.cpp205 NotifySwitchArgs{}, in TEST_F()
229 [&](const NotifySwitchArgs& args) { in TEST_F()
/frameworks/native/services/inputflinger/
DInputListener.cpp53 [&](const NotifySwitchArgs& args) { notifySwitch(args); }, in notify()
83 void QueuedInputListener::notifySwitch(const NotifySwitchArgs& args) { in notifySwitch()
143 void TracedInputListener::notifySwitch(const NotifySwitchArgs& args) { in notifySwitch()
DNotifyArgs.cpp150 NotifySwitchArgs::NotifySwitchArgs(int32_t id, nsecs_t eventTime, uint32_t policyFlags, in NotifySwitchArgs() function in android::NotifySwitchArgs
205 [&](const NotifySwitchArgs&) { return "NotifySwitchArgs"; }, in toString()
DInputFilter.h59 void notifySwitch(const NotifySwitchArgs& args) override;
DUnwantedInteractionBlocker.h97 void notifySwitch(const NotifySwitchArgs& args) override;
DInputFilter.cpp86 void InputFilter::notifySwitch(const NotifySwitchArgs& args) { in notifySwitch()
DInputProcessor.h252 void notifySwitch(const NotifySwitchArgs& args) override;
DInputDeviceMetricsCollector.h113 void notifySwitch(const NotifySwitchArgs& args) override;
DPointerChoreographer.h111 void notifySwitch(const NotifySwitchArgs& args) override;
DInputDeviceMetricsCollector.cpp168 void InputDeviceMetricsCollector::notifySwitch(const NotifySwitchArgs& args) { in notifySwitch()
DInputProcessor.cpp468 void InputProcessor::notifySwitch(const NotifySwitchArgs& args) { in notifySwitch()
DUnwantedInteractionBlocker.cpp394 void UnwantedInteractionBlocker::notifySwitch(const NotifySwitchArgs& args) { in notifySwitch()
DPointerChoreographer.cpp418 void PointerChoreographer::notifySwitch(const NotifySwitchArgs& args) { in notifySwitch()
/frameworks/native/services/inputflinger/reader/mapper/
DSwitchInputMapper.cpp63 out.push_back(NotifySwitchArgs(getContext()->getNextId(), when, /*policyFlags=*/0, in sync()
/frameworks/native/services/inputflinger/tests/fuzzers/
DMapperHelpers.h299 void notifySwitch(const NotifySwitchArgs& args) override {} in notifySwitch()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp427 } else if (const auto notifySwitchArgs = std::get_if<NotifySwitchArgs>(&arg)) { in postProcess()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.h103 void notifySwitch(const NotifySwitchArgs& args) override;

12