Home
last modified time | relevance | path

Searched refs:getKeyCodeState (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.h36 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode);
DInputMapper.h61 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode);
DInputMapper.cpp42 int32_t InputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() function in android::InputMapper
DKeyboardInputMapper.cpp347 int32_t KeyboardInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() function in android::KeyboardInputMapper
348 return getEventHub()->getKeyCodeState(getDeviceId(), keyCode); in getKeyCodeState()
DTouchInputMapper.h207 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode);
DTouchInputMapper.cpp3875 int32_t TouchInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() function in android::TouchInputMapper
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp239 int32_t InputDevice::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() function in android::InputDevice
240 return getState(sourceMask, keyCode, &InputMapper::getKeyCodeState); in getKeyCodeState()
DInputReader.cpp459 int32_t InputReader::getKeyCodeState(int32_t deviceId, uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() function in android::InputReader
462 return getStateLocked(deviceId, sourceMask, keyCode, &InputDevice::getKeyCodeState); in getKeyCodeState()
DEventHub.cpp434 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const { in getKeyCodeState() function in android::EventHub
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h76 int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode);
DEventHub.h211 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const = 0;
288 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const;
DInputReader.h66 virtual int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask, int32_t keyCode);
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h82 virtual int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask,
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp655 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const { in getKeyCodeState() function in android::FakeEventHub
975 virtual int32_t getKeyCodeState(uint32_t, int32_t keyCode) { in getKeyCodeState() function in android::FakeInputMapper
1390 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(0, in TEST_F()
1394 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(1, in TEST_F()
1398 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(1, in TEST_F()
1402 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(-1, in TEST_F()
1406 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(-1, in TEST_F()
1676 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getKeyCodeState(AINPUT_SOURCE_KEYBOARD, 0)) in TEST_F()
1747 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getKeyCodeState(AINPUT_SOURCE_TRACKBALL, AKEYCODE_A)) in TEST_F()
1754 ASSERT_EQ(AKEY_STATE_DOWN, mDevice->getKeyCodeState(AINPUT_SOURCE_KEYBOARD, AKEYCODE_A)) in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java4425 int menuState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode()
4427 int sState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, KeyEvent.KEYCODE_S); in detectSafeMode()
4428 int dpadState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_DPAD, in detectSafeMode()
4432 int volumeDownState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1339 return (jint) im->getInputManager()->getReader()->getKeyCodeState( in nativeGetKeyCodeState()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java441 public int getKeyCodeState(int deviceId, int sourceMask, int keyCode) { in getKeyCodeState() method in InputManagerService
/frameworks/base/services/
Dart-profile7182 HSPLcom/android/server/input/InputManagerService;->getKeyCodeState(III)I