/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 670 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources()); in TEST_F() 705 AINPUT_SOURCE_KEYBOARD); in TEST_F() 707 AINPUT_SOURCE_KEYBOARD); in TEST_F() 728 AINPUT_SOURCE_KEYBOARD); in TEST_F() 730 AINPUT_SOURCE_KEYBOARD); in TEST_F() 756 AINPUT_SOURCE_KEYBOARD); in TEST_F() 793 AINPUT_SOURCE_KEYBOARD, nullptr); in TEST_F() 806 mReader->getKeyCodeState(deviceId, AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TRACKBALL, in TEST_F() 816 AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TRACKBALL, AKEYCODE_A)) in TEST_F() 825 AINPUT_SOURCE_KEYBOARD, nullptr); in TEST_F() [all …]
|
D | InputDeviceMetricsSource_test.cpp | 38 AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_DPAD | AINPUT_SOURCE_GAMEPAD; 63 MotionArgsBuilder(AMOTION_EVENT_ACTION_MOVE, AINPUT_SOURCE_KEYBOARD) in TEST_P()
|
D | KeyboardInputMapper_test.cpp | 70 AINPUT_SOURCE_KEYBOARD); in SetUp()
|
D | InputProcessor_test.cpp | 83 AINPUT_SOURCE_KEYBOARD, ui::LogicalDisplayId::DEFAULT, /*policyFlags=*/0, in TEST_F()
|
D | InputDispatcher_test.cpp | 131 event.initialize(InputEvent::nextId(), DEVICE_ID, AINPUT_SOURCE_KEYBOARD, in getTestKeyEvent() 255 event.initialize(InputEvent::nextId(), DEVICE_ID, AINPUT_SOURCE_KEYBOARD, in TEST_F() 265 event.initialize(InputEvent::nextId(), DEVICE_ID, AINPUT_SOURCE_KEYBOARD, in TEST_F() 511 event.initialize(InputEvent::nextId(), DEVICE_ID, AINPUT_SOURCE_KEYBOARD, displayId, 607 AINPUT_SOURCE_KEYBOARD, displayId, POLICY_FLAG_PASS_TO_USER, action, in generateKeyArgs() 6616 KeyArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).keyCode(AKEYCODE_A).build()); in TEST_F() 6641 KeyArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).keyCode(AKEYCODE_A).build()); in TEST_F() 6667 KeyArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).keyCode(AKEYCODE_A).build()); in TEST_F() 6694 mDispatcher->notifyKey(KeyArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_KEYBOARD) in TEST_P() 7978 mDispatcher->notifyKey(KeyArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).build()); in TEST_F() [all …]
|
D | InputTracingTest.cpp | 162 const auto down = KeyArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).build(); in keypressAndExpect() 170 const auto up = KeyArgsBuilder(ACTION_UP, AINPUT_SOURCE_KEYBOARD).build(); in keypressAndExpect()
|
D | PointerChoreographer_test.cpp | 200 KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).build(), in TEST_F() 269 {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_KEYBOARD, in TEST_F() 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()
|
D | UnwantedInteractionBlocker_test.cpp | 437 AINPUT_SOURCE_KEYBOARD, ui::LogicalDisplayId::DEFAULT, /*policyFlags=*/0, in TEST_F()
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | InputClassifierFuzzer.cpp | 57 AINPUT_SOURCE_KEYBOARD, ui::LogicalDisplayId::DEFAULT, in LLVMFuzzerTestOneInput()
|
/frameworks/native/services/inputflinger/ |
D | InputDeviceMetricsSource.cpp | 32 if (!isFromSource(keyArgs.source, AINPUT_SOURCE_KEYBOARD)) { in getUsageSourceForKeyArgs()
|
D | InputCommonConverter.cpp | 29 static_assert(static_cast<common::Source>(AINPUT_SOURCE_KEYBOARD) == common::Source::KEYBOARD, in getSource()
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 528 keyboardSource |= AINPUT_SOURCE_KEYBOARD; in createMappers() 587 if (sourcesMatchMask(mapper.getSources(), AINPUT_SOURCE_KEYBOARD)) { in getKeyCodeForKeyLocation() 684 if (sourcesMatchMask(mapper.getSources(), AINPUT_SOURCE_KEYBOARD) && in updateMetaState()
|
/frameworks/native/include/android/ |
D | input.h | 967 AINPUT_SOURCE_KEYBOARD = 0x00000100 | AINPUT_SOURCE_CLASS_BUTTON, enumerator
|
/frameworks/native/libs/input/rust/ |
D | input.rs | 68 const Keyboard = input_bindgen::AINPUT_SOURCE_KEYBOARD;
|
/frameworks/native/libs/input/ |
D | Android.bp | 101 "--allowlist-var=AINPUT_SOURCE_KEYBOARD",
|
D | KeyCharacterMap.cpp | 500 event.initialize(InputEvent::nextId(), deviceId, AINPUT_SOURCE_KEYBOARD, in addKey()
|
D | Input.cpp | 235 {AINPUT_SOURCE_KEYBOARD, "KEYBOARD"}, in inputEventSourceToString()
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 266 constexpr uint32_t source = AINPUT_SOURCE_KEYBOARD; in publishAndConsumeKeyEvent()
|
D | InputPublisherAndConsumerNoResampling_test.cpp | 449 constexpr uint32_t source = AINPUT_SOURCE_KEYBOARD; in publishAndConsumeKeyEvent()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchInputMapper.cpp | 1914 AINPUT_SOURCE_KEYBOARD, mViewport.displayId, policyFlags, keyEventAction, in dispatchVirtualKey()
|