Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputReader.h305 virtual int32_t getScanCodeState(int32_t deviceId, uint32_t sourceMask,
410 virtual int32_t getScanCodeState(int32_t deviceId, uint32_t sourceMask,
565 int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
596 return getEventHub()->getScanCodeState(mId, code) == AKEY_STATE_DOWN; in isKeyPressed()
980 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
1071 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
1141 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
1229 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
DEventHub.h231 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const = 0;
301 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const;
DInputReader.cpp713 int32_t InputReader::getScanCodeState(int32_t deviceId, uint32_t sourceMask, in getScanCodeState() function in android::InputReader
717 return getStateLocked(deviceId, sourceMask, scanCode, &InputDevice::getScanCodeState); in getScanCodeState()
1174 int32_t InputDevice::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::InputDevice
1175 return getState(sourceMask, scanCode, & InputMapper::getScanCodeState); in getScanCodeState()
1937 int32_t InputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::InputMapper
2395 int32_t KeyboardInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::KeyboardInputMapper
2396 return getEventHub()->getScanCodeState(getDeviceId(), scanCode); in getScanCodeState()
2845 int32_t CursorInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::CursorInputMapper
2847 return getEventHub()->getScanCodeState(getDeviceId(), scanCode); in getScanCodeState()
6623 int32_t TouchInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::TouchInputMapper
DEventHub.cpp335 int32_t EventHub::getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState() function in android::EventHub
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp600 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState() function in android::FakeEventHub
924 virtual int32_t getScanCodeState(uint32_t, int32_t scanCode) { in getScanCodeState() function in android::FakeInputMapper
1113 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(0, in TEST_F()
1117 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(1, in TEST_F()
1121 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(1, in TEST_F()
1125 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(-1, in TEST_F()
1129 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(-1, in TEST_F()
1306 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getScanCodeState(AINPUT_SOURCE_KEYBOARD, 0)) in TEST_F()
1377 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getScanCodeState(AINPUT_SOURCE_TRACKBALL, AKEYCODE_A)) in TEST_F()
1384 ASSERT_EQ(AKEY_STATE_UP, mDevice->getScanCodeState(AINPUT_SOURCE_KEYBOARD, 3)) in TEST_F()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1235 return (jint) im->getInputManager()->getReader()->getScanCodeState( in nativeGetScanCodeState()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java464 public int getScanCodeState(int deviceId, int sourceMask, int scanCode) { in getScanCodeState() method in InputManagerService
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java4672 int trackballState = mInputManager.getScanCodeState(-1, InputDevice.SOURCE_TRACKBALL, in detectSafeMode()