Home
last modified time | relevance | path

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

/frameworks/base/services/input/
DEventHub.h205 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const = 0;
270 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const;
DInputReader.h273 virtual int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask,
347 virtual int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask,
485 int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode);
880 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode);
961 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode);
1094 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode);
DInputReader.cpp595 int32_t InputReader::getKeyCodeState(int32_t deviceId, uint32_t sourceMask, in getKeyCodeState() function in android::InputReader
599 return getStateLocked(deviceId, sourceMask, keyCode, &InputDevice::getKeyCodeState); in getKeyCodeState()
1021 int32_t InputDevice::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() function in android::InputDevice
1022 return getState(sourceMask, keyCode, & InputMapper::getKeyCodeState); in getKeyCodeState()
1766 int32_t InputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() function in android::InputMapper
2174 int32_t KeyboardInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() function in android::KeyboardInputMapper
2175 return getEventHub()->getKeyCodeState(getDeviceId(), keyCode); in getKeyCodeState()
5667 int32_t TouchInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() function in android::TouchInputMapper
DEventHub.cpp351 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const { in getKeyCodeState() function in android::EventHub
/frameworks/base/services/input/tests/
DInputReader_test.cpp556 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const { in getKeyCodeState() function in android::FakeEventHub
854 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() function in android::FakeInputMapper
1019 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(0, in TEST_F()
1023 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(1, in TEST_F()
1027 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(1, in TEST_F()
1031 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(-1, in TEST_F()
1035 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(-1, in TEST_F()
1235 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getKeyCodeState(AINPUT_SOURCE_KEYBOARD, 0)) in TEST_F()
1306 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getKeyCodeState(AINPUT_SOURCE_TRACKBALL, AKEYCODE_A)) in TEST_F()
1313 ASSERT_EQ(AKEY_STATE_DOWN, mDevice->getKeyCodeState(AINPUT_SOURCE_KEYBOARD, AKEYCODE_A)) in TEST_F()
[all …]
/frameworks/base/services/java/com/android/server/input/
DInputManagerService.java319 public int getKeyCodeState(int deviceId, int sourceMask, int keyCode) { in getKeyCodeState() method in InputManagerService
/frameworks/base/services/jni/
Dcom_android_server_input_InputManagerService.cpp1070 return im->getInputManager()->getReader()->getKeyCodeState( in nativeGetKeyCodeState()
/frameworks/base/services/java/com/android/server/wm/
DWindowManagerService.java6764 int menuState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode()
6766 int sState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, KeyEvent.KEYCODE_S); in detectSafeMode()
6767 int dpadState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_DPAD, in detectSafeMode()
6771 int volumeDownState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode()