Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DEventHub.h230 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const = 0;
309 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const;
DInputReader.h318 virtual int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask,
425 virtual int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask,
580 int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode);
997 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode);
1088 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode);
1248 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode);
DEventHub.cpp368 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const { in getKeyCodeState() function in android::EventHub
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp686 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const { in getKeyCodeState() function in android::FakeEventHub
994 virtual int32_t getKeyCodeState(uint32_t, int32_t keyCode) { in getKeyCodeState() function in android::FakeInputMapper
1215 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(0, in TEST_F()
1219 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(1, in TEST_F()
1223 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(1, in TEST_F()
1227 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(-1, in TEST_F()
1231 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(-1, in TEST_F()
1437 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getKeyCodeState(AINPUT_SOURCE_KEYBOARD, 0)) in TEST_F()
1508 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getKeyCodeState(AINPUT_SOURCE_TRACKBALL, AKEYCODE_A)) in TEST_F()
1515 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.java4490 int menuState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode()
4492 int sState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, KeyEvent.KEYCODE_S); in detectSafeMode()
4493 int dpadState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_DPAD, in detectSafeMode()
4497 int volumeDownState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1302 return (jint) im->getInputManager()->getReader()->getKeyCodeState( in nativeGetKeyCodeState()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java452 public int getKeyCodeState(int deviceId, int sourceMask, int keyCode) { in getKeyCodeState() method in InputManagerService