/frameworks/base/services/input/ |
D | EventHub.h | 206 virtual int32_t getSwitchState(int32_t deviceId, int32_t sw) const = 0; 271 virtual int32_t getSwitchState(int32_t deviceId, int32_t sw) const;
|
D | InputReader.h | 275 virtual int32_t getSwitchState(int32_t deviceId, uint32_t sourceMask, 349 virtual int32_t getSwitchState(int32_t deviceId, uint32_t sourceMask, 487 int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode); 882 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode); 913 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode);
|
D | InputReader.cpp | 609 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) { in getSwitchState() function in android::InputReader 612 return getStateLocked(deviceId, sourceMask, switchCode, &InputDevice::getSwitchState); in getSwitchState() 1029 int32_t InputDevice::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState() function in android::InputDevice 1030 return getState(sourceMask, switchCode, & InputMapper::getSwitchState); in getSwitchState() 1774 int32_t InputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState() function in android::InputMapper 1842 int32_t SwitchInputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState() function in android::SwitchInputMapper 1843 return getEventHub()->getSwitchState(getDeviceId(), switchCode); in getSwitchState()
|
D | EventHub.cpp | 375 int32_t EventHub::getSwitchState(int32_t deviceId, int32_t sw) const { in getSwitchState() function in android::EventHub
|
/frameworks/base/services/input/tests/ |
D | InputReader_test.cpp | 567 virtual int32_t getSwitchState(int32_t deviceId, int32_t sw) const { in getSwitchState() function in android::FakeEventHub 864 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState() function in android::FakeInputMapper 1073 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getSwitchState(0, in TEST_F() 1077 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getSwitchState(1, in TEST_F() 1081 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getSwitchState(1, in TEST_F() 1085 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getSwitchState(-1, in TEST_F() 1089 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getSwitchState(-1, in TEST_F() 1239 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getSwitchState(AINPUT_SOURCE_KEYBOARD, 0)) in TEST_F() 1310 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getSwitchState(AINPUT_SOURCE_TRACKBALL, AKEYCODE_A)) in TEST_F() 1317 ASSERT_EQ(AKEY_STATE_DOWN, mDevice->getSwitchState(AINPUT_SOURCE_KEYBOARD, 4)) in TEST_F() [all …]
|
/frameworks/base/services/java/com/android/server/input/ |
D | InputManagerService.java | 345 public int getSwitchState(int deviceId, int sourceMask, int switchCode) { in getSwitchState() method in InputManagerService
|
/frameworks/base/services/jni/ |
D | com_android_server_input_InputManagerService.cpp | 1078 return im->getInputManager()->getReader()->getSwitchState( in nativeGetSwitchState()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | WindowManagerService.java | 5123 int sw = mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, in getLidState()
|