/frameworks/base/services/input/ |
H A D | EventHub.h | 219 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const = 0; 284 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const;
|
H A D | InputReader.h | 322 virtual int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask, 396 virtual int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask, 534 int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode); 933 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode); 1018 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode); 1151 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode);
|
H A D | InputReader.cpp | 579 int32_t InputReader::getKeyCodeState(int32_t deviceId, uint32_t sourceMask, function in class:android::InputReader 583 return getStateLocked(deviceId, sourceMask, keyCode, &InputDevice::getKeyCodeState); 1007 int32_t InputDevice::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { function in class:android::InputDevice 1008 return getState(sourceMask, keyCode, & InputMapper::getKeyCodeState); 1752 int32_t InputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { function in class:android::InputMapper 2181 int32_t KeyboardInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { function in class:android::KeyboardInputMapper 2182 return getEventHub()->getKeyCodeState(getDeviceId(), keyCode); 5856 int32_t TouchInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { function in class:android::TouchInputMapper
|
H A D | EventHub.cpp | 352 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const {
|
/frameworks/base/services/input/tests/ |
H A D | InputReader_test.cpp | 572 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const { function in class:android::FakeEventHub 870 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { function in class:android::FakeInputMapper 1035 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(0, 1039 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(1, 1043 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(1, 1047 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(-1, 1051 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(-1, 1251 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getKeyCodeState(AINPUT_SOURCE_KEYBOARD, 0)) 1322 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getKeyCodeState(AINPUT_SOURCE_TRACKBALL, AKEYCODE_A)) 1329 ASSERT_EQ(AKEY_STATE_DOWN, mDevice->getKeyCodeState(AINPUT_SOURCE_KEYBOAR [all...] |
/frameworks/base/services/java/com/android/server/input/ |
H A D | InputManagerService.java | 364 public int getKeyCodeState(int deviceId, int sourceMask, int keyCode) { method in class:InputManagerService
|
/frameworks/base/services/jni/ |
H A D | com_android_server_input_InputManagerService.cpp | 1033 return im->getInputManager()->getReader()->getKeyCodeState(
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | WindowManagerService.java | 6719 int menuState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, 6721 int sState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, KeyEvent.KEYCODE_S); 6722 int dpadState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_DPAD, 6726 int volumeDownState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY,
|