/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 80 int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode); 237 inline int32_t getScanCodeState(int32_t scanCode) const { in getScanCodeState() function 238 return mEventHub->getScanCodeState(mId, scanCode); in getScanCodeState() 274 return mEventHub->getScanCodeState(mId, code) == AKEY_STATE_DOWN; in isKeyPressed()
|
D | EventHub.h | 209 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const = 0; 287 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const override;
|
D | InputReader.h | 67 virtual int32_t getScanCodeState(int32_t deviceId, uint32_t sourceMask,
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.h | 67 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode) override;
|
D | InputMapper.h | 61 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
|
D | InputMapper.cpp | 46 int32_t InputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::InputMapper
|
D | KeyboardInputMapper.h | 38 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode) override;
|
D | KeyboardInputMapper.cpp | 371 int32_t KeyboardInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::KeyboardInputMapper 372 return getDeviceContext().getScanCodeState(scanCode); in getScanCodeState()
|
D | CursorInputMapper.cpp | 450 int32_t CursorInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::CursorInputMapper 452 return getDeviceContext().getScanCodeState(scanCode); in getScanCodeState()
|
D | TouchInputMapper.h | 147 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode) override;
|
D | TouchInputMapper.cpp | 3881 int32_t TouchInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::TouchInputMapper
|
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 87 virtual int32_t getScanCodeState(int32_t deviceId, uint32_t sourceMask,
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 386 int32_t InputDevice::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::InputDevice 387 return getState(sourceMask, scanCode, &InputMapper::getScanCodeState); in getScanCodeState()
|
D | InputReader.cpp | 468 int32_t InputReader::getScanCodeState(int32_t deviceId, uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::InputReader 471 return getStateLocked(deviceId, sourceMask, scanCode, &InputDevice::getScanCodeState); in getScanCodeState()
|
D | EventHub.cpp | 440 int32_t EventHub::getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState() function in android::EventHub
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 700 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState() function in android::FakeEventHub 1089 virtual int32_t getScanCodeState(uint32_t, int32_t scanCode) { in getScanCodeState() function in android::FakeInputMapper 1515 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(0, in TEST_F() 1520 mReader->getScanCodeState(deviceId, AINPUT_SOURCE_TRACKBALL, KEY_A)) in TEST_F() 1525 mReader->getScanCodeState(deviceId, AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TRACKBALL, in TEST_F() 1530 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(-1, in TEST_F() 1534 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(-1, in TEST_F() 2090 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getScanCodeState(AINPUT_SOURCE_KEYBOARD, 0)) in TEST_F() 2161 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getScanCodeState(AINPUT_SOURCE_TRACKBALL, AKEYCODE_A)) in TEST_F() 2168 ASSERT_EQ(AKEY_STATE_UP, mDevice->getScanCodeState(AINPUT_SOURCE_KEYBOARD, 3)) in TEST_F() [all …]
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 1294 return (jint) im->getInputManager()->getReader()->getScanCodeState( in nativeGetScanCodeState()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 457 public int getScanCodeState(int deviceId, int sourceMask, int scanCode) { in getScanCodeState() method in InputManagerService
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 4602 int trackballState = mInputManager.getScanCodeState(-1, InputDevice.SOURCE_TRACKBALL, in detectSafeMode()
|
/frameworks/base/services/ |
D | art-profile | 16509 HSPLcom/android/server/input/InputManagerService;->getScanCodeState(III)I
|