Home
last modified time | relevance | path

Searched refs:NotifyKeyArgs (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/native/services/inputflinger/include/
DNotifyArgs.h58 struct NotifyKeyArgs { struct
74 inline NotifyKeyArgs() {} in NotifyKeyArgs() argument
76 NotifyKeyArgs(int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId,
81 bool operator==(const NotifyKeyArgs& rhs) const = default;
83 NotifyKeyArgs(const NotifyKeyArgs& other) = default;
84 NotifyKeyArgs& operator=(const NotifyKeyArgs&) = default; argument
237 std::variant<NotifyInputDevicesChangedArgs, NotifyConfigurationChangedArgs, NotifyKeyArgs,
DInputListener.h42 virtual void notifyKey(const NotifyKeyArgs& args) = 0;
64 virtual void notifyKey(const NotifyKeyArgs& args) override;
88 virtual void notifyKey(const NotifyKeyArgs& args) override;
DNotifyArgsBuilders.h216 NotifyKeyArgs build() const { in build()
/frameworks/native/services/inputflinger/tests/
DTestInputListener.cpp77 void TestInputListener::assertNotifyKeyWasCalled(NotifyKeyArgs* outEventArgs) { in assertNotifyKeyWasCalled()
79 assertCalled<NotifyKeyArgs>(outEventArgs, "Expected notifyKey() to have been called.")); in assertNotifyKeyWasCalled()
82 void TestInputListener::assertNotifyKeyWasCalled(const ::testing::Matcher<NotifyKeyArgs>& matcher) { in assertNotifyKeyWasCalled()
83 NotifyKeyArgs outEventArgs; in assertNotifyKeyWasCalled()
89 ASSERT_NO_FATAL_FAILURE(assertNotCalled<NotifyKeyArgs>("notifyKey() should not be called.")); in assertNotifyKeyWasNotCalled()
203 void TestInputListener::notifyKey(const NotifyKeyArgs& args) { in notifyKey()
204 addToQueue<NotifyKeyArgs>(args); in notifyKey()
DTestInputListener.h54 void assertNotifyKeyWasCalled(NotifyKeyArgs* outEventArgs = nullptr);
56 void assertNotifyKeyWasCalled(const ::testing::Matcher<NotifyKeyArgs>& matcher);
92 virtual void notifyKey(const NotifyKeyArgs& args) override;
112 std::vector<NotifyKeyArgs>, //
DTestEventMatchers.h55 bool MatchAndExplain(const NotifyKeyArgs& args, std::ostream*) const { in MatchAndExplain()
83 bool MatchAndExplain(const NotifyKeyArgs& args, std::ostream*) const { in MatchAndExplain()
154 bool MatchAndExplain(const NotifyKeyArgs& args, std::ostream*) const { in MatchAndExplain()
184 bool MatchAndExplain(const NotifyKeyArgs& args, std::ostream*) const { in MatchAndExplain()
218 bool MatchAndExplain(const NotifyKeyArgs& args, std::ostream*) const { in MatchAndExplain()
254 bool MatchAndExplain(const NotifyKeyArgs& args, std::ostream*) const { in MatchAndExplain()
521 bool MatchAndExplain(const NotifyKeyArgs& args, std::ostream*) const { in MatchAndExplain()
553 bool MatchAndExplain(const NotifyKeyArgs& args, std::ostream*) const { in MatchAndExplain()
586 bool MatchAndExplain(const NotifyKeyArgs& args, std::ostream*) const { in MatchAndExplain()
DInputProcessor_test.cpp82 NotifyKeyArgs args(/*sequenceNum=*/1, /*eventTime=*/2, /*readTime=*/21, /*deviceId=*/3, in TEST_F()
DFakeInputDispatcherPolicy.h66 void assertFilterInputEventWasCalled(const NotifyKeyArgs& args);
/frameworks/native/services/inputflinger/
DInputListener.cpp51 [&](const NotifyKeyArgs& args) { notifyKey(args); }, in notify()
75 void QueuedInputListener::notifyKey(const NotifyKeyArgs& args) { in notifyKey()
129 void TracedInputListener::notifyKey(const NotifyKeyArgs& args) { in notifyKey()
DInputFilterCallbacks.cpp31 NotifyKeyArgs keyEventToNotifyKeyArgs(const AidlKeyEvent& event) { in keyEventToNotifyKeyArgs()
32 return NotifyKeyArgs(event.id, event.eventTime, event.readTime, event.deviceId, in keyEventToNotifyKeyArgs()
DInputCommonConverter.h37 KeyEvent toKeyEvent(const NotifyKeyArgs&, int32_t repeatCount = 0,
DNotifyArgs.cpp45 NotifyKeyArgs::NotifyKeyArgs(int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, in NotifyKeyArgs() function in android::NotifyKeyArgs
202 [&](const NotifyKeyArgs&) { return "NotifyKeyArgs"; }, in toString()
DInputFilter.cpp29 AidlKeyEvent notifyKeyArgsToKeyEvent(const NotifyKeyArgs& args) { in notifyKeyArgsToKeyEvent()
74 void InputFilter::notifyKey(const NotifyKeyArgs& args) { in notifyKey()
DInputDeviceMetricsSource.h55 InputDeviceUsageSource getUsageSourceForKeyArgs(int32_t keyboardType, const NotifyKeyArgs&);
DInputFilter.h57 void notifyKey(const NotifyKeyArgs& args) override;
DInputDeviceMetricsSource.cpp31 const NotifyKeyArgs& keyArgs) { in getUsageSourceForKeyArgs()
DPointerChoreographer.h109 void notifyKey(const NotifyKeyArgs& args) override;
133 void fadeMouseCursorOnKeyPress(const NotifyKeyArgs& args);
DUnwantedInteractionBlocker.h95 void notifyKey(const NotifyKeyArgs& args) override;
DInputProcessor.h250 void notifyKey(const NotifyKeyArgs& args) override;
DInputDeviceMetricsCollector.h111 void notifyKey(const NotifyKeyArgs& args) override;
DInputDeviceMetricsCollector.cpp145 void InputDeviceMetricsCollector::notifyKey(const NotifyKeyArgs& args) { in notifyKey()
DPointerChoreographer.cpp172 void PointerChoreographer::notifyKey(const NotifyKeyArgs& args) { in notifyKey()
183 void PointerChoreographer::fadeMouseCursorOnKeyPress(const android::NotifyKeyArgs& args) { in fadeMouseCursorOnKeyPress()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchCursorInputMapperCommon.cpp38 out.push_back(NotifyKeyArgs(context->getNextId(), when, readTime, deviceId, source, in synthesizeButtonKey()
DKeyboardInputMapper.cpp354 out.emplace_back(NotifyKeyArgs(getContext()->getNextId(), when, readTime, deviceId, mSource, in processKey()
481 out.emplace_back(NotifyKeyArgs(getContext()->getNextId(), when, in cancelAllDownKeys()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.h101 void notifyKey(const NotifyKeyArgs& args) override;
333 bool shouldSendKeyToInputFilterLocked(const NotifyKeyArgs& args) REQUIRES(mLock);

12