/frameworks/native/services/inputflinger/ |
D | EventHub.h | 232 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const = 0; 302 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const;
|
D | InputReader.h | 307 virtual int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask, 412 virtual int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask, 564 int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode); 979 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode); 1070 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode); 1228 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode);
|
D | InputReader.cpp | 706 int32_t InputReader::getKeyCodeState(int32_t deviceId, uint32_t sourceMask, in getKeyCodeState() function in android::InputReader 710 return getStateLocked(deviceId, sourceMask, keyCode, &InputDevice::getKeyCodeState); in getKeyCodeState() 1170 int32_t InputDevice::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() function in android::InputDevice 1171 return getState(sourceMask, keyCode, & InputMapper::getKeyCodeState); in getKeyCodeState() 1933 int32_t InputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() function in android::InputMapper 2391 int32_t KeyboardInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() function in android::KeyboardInputMapper 2392 return getEventHub()->getKeyCodeState(getDeviceId(), keyCode); in getKeyCodeState() 6607 int32_t TouchInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() function in android::TouchInputMapper
|
D | EventHub.cpp | 351 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const { in getKeyCodeState() function in android::EventHub
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 611 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const { in getKeyCodeState() function in android::FakeEventHub 919 virtual int32_t getKeyCodeState(uint32_t, int32_t keyCode) { in getKeyCodeState() function in android::FakeInputMapper 1086 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(0, in TEST_F() 1090 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(1, in TEST_F() 1094 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(1, in TEST_F() 1098 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(-1, in TEST_F() 1102 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(-1, in TEST_F() 1304 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getKeyCodeState(AINPUT_SOURCE_KEYBOARD, 0)) in TEST_F() 1375 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getKeyCodeState(AINPUT_SOURCE_TRACKBALL, AKEYCODE_A)) in TEST_F() 1382 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/ |
D | WindowManagerService.java | 4667 int menuState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode() 4669 int sState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, KeyEvent.KEYCODE_S); in detectSafeMode() 4670 int dpadState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_DPAD, in detectSafeMode() 4674 int volumeDownState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 1243 return (jint) im->getInputManager()->getReader()->getKeyCodeState( in nativeGetKeyCodeState()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 451 public int getKeyCodeState(int deviceId, int sourceMask, int keyCode) { in getKeyCodeState() method in InputManagerService
|