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

/frameworks/base/services/input/
H A DEventHub.h219 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 DInputReader.h322 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 DInputReader.cpp579 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 DEventHub.cpp352 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const {
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp572 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 DInputManagerService.java364 public int getKeyCodeState(int deviceId, int sourceMask, int keyCode) { method in class:InputManagerService
/frameworks/base/services/jni/
H A Dcom_android_server_input_InputManagerService.cpp1033 return im->getInputManager()->getReader()->getKeyCodeState(
/frameworks/base/services/java/com/android/server/wm/
H A DWindowManagerService.java6719 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,

Completed in 274 milliseconds