Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h77 int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
106 return getEventHub()->getScanCodeState(mId, code) == AKEY_STATE_DOWN; in isKeyPressed()
DEventHub.h210 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const = 0;
287 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const;
DInputReader.h65 virtual int32_t getScanCodeState(int32_t deviceId, uint32_t sourceMask, int32_t scanCode);
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.h66 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
DKeyboardInputMapper.h37 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
DInputMapper.h62 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
DInputMapper.cpp46 int32_t InputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::InputMapper
DKeyboardInputMapper.cpp351 int32_t KeyboardInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::KeyboardInputMapper
352 return getEventHub()->getScanCodeState(getDeviceId(), scanCode); in getScanCodeState()
DCursorInputMapper.cpp474 int32_t CursorInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::CursorInputMapper
476 return getEventHub()->getScanCodeState(getDeviceId(), scanCode); in getScanCodeState()
DTouchInputMapper.h208 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
DTouchInputMapper.cpp3889 int32_t TouchInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::TouchInputMapper
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp243 int32_t InputDevice::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::InputDevice
244 return getState(sourceMask, scanCode, &InputMapper::getScanCodeState); in getScanCodeState()
DInputReader.cpp465 int32_t InputReader::getScanCodeState(int32_t deviceId, uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::InputReader
468 return getStateLocked(deviceId, sourceMask, scanCode, &InputDevice::getScanCodeState); in getScanCodeState()
DEventHub.cpp418 int32_t EventHub::getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState() function in android::EventHub
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h80 virtual int32_t getScanCodeState(int32_t deviceId, uint32_t sourceMask,
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp644 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState() function in android::FakeEventHub
980 virtual int32_t getScanCodeState(uint32_t, int32_t scanCode) { in getScanCodeState() function in android::FakeInputMapper
1417 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(0, in TEST_F()
1421 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(1, in TEST_F()
1425 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(1, in TEST_F()
1429 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(-1, in TEST_F()
1433 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(-1, in TEST_F()
1678 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getScanCodeState(AINPUT_SOURCE_KEYBOARD, 0)) in TEST_F()
1749 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getScanCodeState(AINPUT_SOURCE_TRACKBALL, AKEYCODE_A)) in TEST_F()
1756 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.cpp1331 return (jint) im->getInputManager()->getReader()->getScanCodeState( in nativeGetScanCodeState()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java454 public int getScanCodeState(int deviceId, int sourceMask, int scanCode) { in getScanCodeState() method in InputManagerService
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java4430 int trackballState = mInputManager.getScanCodeState(-1, InputDevice.SOURCE_TRACKBALL, in detectSafeMode()
/frameworks/base/services/
Dart-profile7190 HSPLcom/android/server/input/InputManagerService;->getScanCodeState(III)I