Home
last modified time | relevance | path

Searched refs:notifyKey (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/native/services/inputflinger/include/
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;
/frameworks/native/services/inputflinger/
DInputListener.cpp51 [&](const NotifyKeyArgs& args) { notifyKey(args); }, in notify()
75 void QueuedInputListener::notifyKey(const NotifyKeyArgs& args) { in notifyKey() function in android::QueuedInputListener
129 void TracedInputListener::notifyKey(const NotifyKeyArgs& args) { in notifyKey() function in android::TracedInputListener
DInputFilter.cpp74 void InputFilter::notifyKey(const NotifyKeyArgs& args) { in notifyKey() function in android::InputFilter
76 LOG_ALWAYS_FATAL_IF(!mInputFilterRust->notifyKey(notifyKeyArgsToKeyEvent(args)).isOk()); in notifyKey()
DInputFilter.h57 void notifyKey(const NotifyKeyArgs& args) override;
DInputFilterCallbacks.cpp85 mNextListener.notifyKey(keyEventToNotifyKeyArgs(event)); in sendKeyEvent()
DUnwantedInteractionBlocker.h95 void notifyKey(const NotifyKeyArgs& args) override;
DInputProcessor.h250 void notifyKey(const NotifyKeyArgs& args) override;
DInputDeviceMetricsCollector.h111 void notifyKey(const NotifyKeyArgs& args) override;
DInputProcessor.cpp428 void InputProcessor::notifyKey(const NotifyKeyArgs& args) { in notifyKey() function in android::InputProcessor
430 mQueuedListener.notifyKey(args); in notifyKey()
DPointerChoreographer.h109 void notifyKey(const NotifyKeyArgs& args) override;
DUnwantedInteractionBlocker.cpp351 void UnwantedInteractionBlocker::notifyKey(const NotifyKeyArgs& args) { in notifyKey() function in android::UnwantedInteractionBlocker
352 mQueuedListener.notifyKey(args); in notifyKey()
DInputDeviceMetricsCollector.cpp145 void InputDeviceMetricsCollector::notifyKey(const NotifyKeyArgs& args) { in notifyKey() function in android::InputDeviceMetricsCollector
DPointerChoreographer.cpp172 void PointerChoreographer::notifyKey(const NotifyKeyArgs& args) { in notifyKey() function in android::PointerChoreographer
/frameworks/native/services/inputflinger/aidl/com/android/server/inputflinger/
DIInputFilter.aidl50 void notifyKey(in KeyEvent event); in notifyKey() method
/frameworks/native/services/inputflinger/tests/fuzzers/
DInputClassifierFuzzer.cpp54 mClassifier->notifyKey({/*sequenceNum=*/fdp.ConsumeIntegral<int32_t>(), in LLVMFuzzerTestOneInput()
DMapperHelpers.h297 void notifyKey(const NotifyKeyArgs& args) override {} in notifyKey() function
/frameworks/native/services/inputflinger/tests/
DPointerChoreographer_test.cpp2314 void notifyKey(ui::LogicalDisplayId targetDisplay, int32_t keyCode, in notifyKey() function in android::PointerVisibilityOnKeyPressTest
2322 mChoreographer.notifyKey(KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, AINPUT_SOURCE_KEYBOARD) in notifyKey()
2327 mChoreographer.notifyKey(KeyArgsBuilder(AKEY_EVENT_ACTION_UP, AINPUT_SOURCE_KEYBOARD) in notifyKey()
2337 notifyKey(DISPLAY_ID, keyCode, mMetaKeyStates.at(metaKeyCode)); in metaKeyCombinationHidesPointer()
2346 notifyKey(DISPLAY_ID, keyCode, mMetaKeyStates.at(metaKeyCode)); in metaKeyCombinationDoesNotHidePointer()
2370 notifyKey(ui::LogicalDisplayId::INVALID, AKEYCODE_0); in TEST_F()
2371 notifyKey(ui::LogicalDisplayId::INVALID, AKEYCODE_A); in TEST_F()
2372 notifyKey(ui::LogicalDisplayId::INVALID, AKEYCODE_CTRL_LEFT); in TEST_F()
2388 notifyKey(DISPLAY_ID, AKEYCODE_0); in TEST_F()
2393 notifyKey(DISPLAY_ID, AKEYCODE_A); in TEST_F()
[all …]
DTestInputListener.h92 virtual void notifyKey(const NotifyKeyArgs& args) override;
DInputProcessor_test.cpp87 mProcessor->notifyKey(args); in TEST_F()
DTestInputListener.cpp203 void TestInputListener::notifyKey(const NotifyKeyArgs& args) { in notifyKey() function in android::TestInputListener
DInputDispatcher_test.cpp4964 mDispatcher->notifyKey(generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ui::LogicalDisplayId::DEFAULT)); in TEST_F()
5039 mDispatcher->notifyKey(keyArgs); in TEST_F()
5061 mDispatcher->notifyKey(generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ui::LogicalDisplayId::DEFAULT)); in TEST_F()
5067 mDispatcher->notifyKey(generateKeyArgs(AKEY_EVENT_ACTION_UP, ui::LogicalDisplayId::DEFAULT)); in TEST_F()
5269 mDispatcher->notifyKey(keyDown); in TEST_F()
5270 mDispatcher->notifyKey(keyUp); in TEST_F()
5280 mDispatcher->notifyKey(keyDown); in TEST_F()
5281 mDispatcher->notifyKey(keyUp); in TEST_F()
6592 mDispatcher->notifyKey(generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ui::LogicalDisplayId::DEFAULT)); in TEST_F()
6615 mDispatcher->notifyKey( in TEST_F()
[all …]
DInputTracingTest.cpp163 mDispatcher->notifyKey(down); in keypressAndExpect()
171 mDispatcher->notifyKey(up); in keypressAndExpect()
DUnwantedInteractionBlocker_test.cpp441 mBlocker->notifyKey(args); in TEST_F()
/frameworks/native/services/inputflinger/rust/
Dinput_filter.rs89 fn notifyKey(&self, event: &KeyEvent) -> binder::Result<()> { in notifyKey() method
233 assert!(input_filter.notifyKey(&event).is_ok()); in test_notify_key_with_no_filters()
246 assert!(input_filter.notifyKey(&event).is_ok()); in test_notify_key_with_filter()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.h101 void notifyKey(const NotifyKeyArgs& args) override;

12