/frameworks/native/services/inputflinger/ |
D | InputReader.h | 131 virtual int32_t getScanCodeState(int32_t deviceId, uint32_t sourceMask, 284 int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode); 315 return getEventHub()->getScanCodeState(mId, code) == AKEY_STATE_DOWN; in isKeyPressed() 768 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode); 861 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode); 935 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode); 1025 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
|
D | EventHub.h | 212 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const = 0; 291 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const;
|
D | InputReader.cpp | 673 int32_t InputReader::getScanCodeState(int32_t deviceId, uint32_t sourceMask, in getScanCodeState() function in android::InputReader 677 return getStateLocked(deviceId, sourceMask, scanCode, &InputDevice::getScanCodeState); in getScanCodeState() 1193 int32_t InputDevice::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::InputDevice 1194 return getState(sourceMask, scanCode, & InputMapper::getScanCodeState); in getScanCodeState() 1954 int32_t InputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::InputMapper 2459 int32_t KeyboardInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::KeyboardInputMapper 2460 return getEventHub()->getScanCodeState(getDeviceId(), scanCode); in getScanCodeState() 2917 int32_t CursorInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::CursorInputMapper 2919 return getEventHub()->getScanCodeState(getDeviceId(), scanCode); in getScanCodeState() 6816 int32_t TouchInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() function in android::TouchInputMapper
|
D | EventHub.cpp | 404 int32_t EventHub::getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState() function in android::EventHub
|
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 80 virtual int32_t getScanCodeState(int32_t deviceId, uint32_t sourceMask,
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 632 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState() function in android::FakeEventHub 968 virtual int32_t getScanCodeState(uint32_t, int32_t scanCode) { in getScanCodeState() function in android::FakeInputMapper 1405 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(0, in TEST_F() 1409 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(1, in TEST_F() 1413 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(1, in TEST_F() 1417 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(-1, in TEST_F() 1421 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(-1, in TEST_F() 1666 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getScanCodeState(AINPUT_SOURCE_KEYBOARD, 0)) in TEST_F() 1737 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getScanCodeState(AINPUT_SOURCE_TRACKBALL, AKEYCODE_A)) in TEST_F() 1744 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 | 1350 return (jint) im->getInputManager()->getReader()->getScanCodeState( in nativeGetScanCodeState()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 439 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 | 4407 int trackballState = mInputManager.getScanCodeState(-1, InputDevice.SOURCE_TRACKBALL, in detectSafeMode()
|
/frameworks/base/services/ |
D | art-profile | 7190 HSPLcom/android/server/input/InputManagerService;->getScanCodeState(III)I
|