Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DEventHub.h213 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const = 0;
292 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const;
DInputReader.h133 virtual int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask,
283 int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode);
767 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode);
860 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode);
1024 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode);
DInputReader.cpp666 int32_t InputReader::getKeyCodeState(int32_t deviceId, uint32_t sourceMask, in getKeyCodeState() function in android::InputReader
670 return getStateLocked(deviceId, sourceMask, keyCode, &InputDevice::getKeyCodeState); in getKeyCodeState()
1189 int32_t InputDevice::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() function in android::InputDevice
1190 return getState(sourceMask, keyCode, & InputMapper::getKeyCodeState); in getKeyCodeState()
1950 int32_t InputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() function in android::InputMapper
2455 int32_t KeyboardInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() function in android::KeyboardInputMapper
2456 return getEventHub()->getKeyCodeState(getDeviceId(), keyCode); in getKeyCodeState()
6802 int32_t TouchInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() function in android::TouchInputMapper
DEventHub.cpp420 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const { in getKeyCodeState() function in android::EventHub
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h82 virtual int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask,
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp643 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const { in getKeyCodeState() function in android::FakeEventHub
963 virtual int32_t getKeyCodeState(uint32_t, int32_t keyCode) { in getKeyCodeState() function in android::FakeInputMapper
1378 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(0, in TEST_F()
1382 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(1, in TEST_F()
1386 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(1, in TEST_F()
1390 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(-1, in TEST_F()
1394 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(-1, in TEST_F()
1664 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getKeyCodeState(AINPUT_SOURCE_KEYBOARD, 0)) in TEST_F()
1735 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getKeyCodeState(AINPUT_SOURCE_TRACKBALL, AKEYCODE_A)) in TEST_F()
1742 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.java4402 int menuState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode()
4404 int sState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, KeyEvent.KEYCODE_S); in detectSafeMode()
4405 int dpadState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_DPAD, in detectSafeMode()
4409 int volumeDownState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1358 return (jint) im->getInputManager()->getReader()->getKeyCodeState( in nativeGetKeyCodeState()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java426 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