Home
last modified time | relevance | path

Searched refs:AINPUT_SOURCE_KEYBOARD (Results 1 – 20 of 20) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp670 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 …]
DInputDeviceMetricsSource_test.cpp38 AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_DPAD | AINPUT_SOURCE_GAMEPAD;
63 MotionArgsBuilder(AMOTION_EVENT_ACTION_MOVE, AINPUT_SOURCE_KEYBOARD) in TEST_P()
DKeyboardInputMapper_test.cpp70 AINPUT_SOURCE_KEYBOARD); in SetUp()
DInputProcessor_test.cpp83 AINPUT_SOURCE_KEYBOARD, ui::LogicalDisplayId::DEFAULT, /*policyFlags=*/0, in TEST_F()
DInputDispatcher_test.cpp131 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 …]
DInputTracingTest.cpp162 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()
DPointerChoreographer_test.cpp200 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()
DUnwantedInteractionBlocker_test.cpp437 AINPUT_SOURCE_KEYBOARD, ui::LogicalDisplayId::DEFAULT, /*policyFlags=*/0, in TEST_F()
/frameworks/native/services/inputflinger/tests/fuzzers/
DInputClassifierFuzzer.cpp57 AINPUT_SOURCE_KEYBOARD, ui::LogicalDisplayId::DEFAULT, in LLVMFuzzerTestOneInput()
/frameworks/native/services/inputflinger/
DInputDeviceMetricsSource.cpp32 if (!isFromSource(keyArgs.source, AINPUT_SOURCE_KEYBOARD)) { in getUsageSourceForKeyArgs()
DInputCommonConverter.cpp29 static_assert(static_cast<common::Source>(AINPUT_SOURCE_KEYBOARD) == common::Source::KEYBOARD, in getSource()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp528 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/
Dinput.h967 AINPUT_SOURCE_KEYBOARD = 0x00000100 | AINPUT_SOURCE_CLASS_BUTTON, enumerator
/frameworks/native/libs/input/rust/
Dinput.rs68 const Keyboard = input_bindgen::AINPUT_SOURCE_KEYBOARD;
/frameworks/native/libs/input/
DAndroid.bp101 "--allowlist-var=AINPUT_SOURCE_KEYBOARD",
DKeyCharacterMap.cpp500 event.initialize(InputEvent::nextId(), deviceId, AINPUT_SOURCE_KEYBOARD, in addKey()
DInput.cpp235 {AINPUT_SOURCE_KEYBOARD, "KEYBOARD"}, in inputEventSourceToString()
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp266 constexpr uint32_t source = AINPUT_SOURCE_KEYBOARD; in publishAndConsumeKeyEvent()
DInputPublisherAndConsumerNoResampling_test.cpp449 constexpr uint32_t source = AINPUT_SOURCE_KEYBOARD; in publishAndConsumeKeyEvent()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp1914 AINPUT_SOURCE_KEYBOARD, mViewport.displayId, policyFlags, keyEventAction, in dispatchVirtualKey()