Home
last modified time | relevance | path

Searched refs:AINPUT_SOURCE_GAMEPAD (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/services/inputflinger/
DInputDeviceMetricsSource.cpp41 if (isFromSource(keyArgs.source, AINPUT_SOURCE_GAMEPAD) && in getUsageSourceForKeyArgs()
DInputCommonConverter.cpp33 static_assert(static_cast<common::Source>(AINPUT_SOURCE_GAMEPAD) == common::Source::GAMEPAD, in getSource()
/frameworks/native/libs/input/tests/
DVerifiedInputEvent_test.cpp25 event.initialize(InputEvent::nextId(), /*deviceId=*/2, AINPUT_SOURCE_GAMEPAD, in getKeyEventWithFlags()
DInputEvent_test.cpp225 event.initialize(id, 2, AINPUT_SOURCE_GAMEPAD, DISPLAY_ID, HMAC, AKEY_EVENT_ACTION_DOWN, in TEST_F()
232 ASSERT_EQ(AINPUT_SOURCE_GAMEPAD, event.getSource()); in TEST_F()
/frameworks/native/services/inputflinger/tests/
DInputDeviceMetricsSource_test.cpp38 AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_DPAD | AINPUT_SOURCE_GAMEPAD;
DInputReader_test.cpp844 AINPUT_SOURCE_GAMEPAD, nullptr); in TEST_F()
/frameworks/native/include/android/
Dinput.h971 AINPUT_SOURCE_GAMEPAD = 0x00000400 | AINPUT_SOURCE_CLASS_BUTTON, enumerator
/frameworks/native/libs/input/rust/
Dinput.rs72 const Gamepad = input_bindgen::AINPUT_SOURCE_GAMEPAD;
/frameworks/native/libs/input/
DAndroid.bp103 "--allowlist-var=AINPUT_SOURCE_GAMEPAD",
DInput.cpp237 {AINPUT_SOURCE_GAMEPAD, "GAMEPAD"}, in inputEventSourceToString()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp534 keyboardSource |= AINPUT_SOURCE_GAMEPAD; in createMappers()