Searched defs:getSwitchState (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/services/inputflinger/
H A DEventHub.cpp368 int32_t EventHub::getSwitchState(int32_t deviceId, int32_t sw) const { function in class:android::EventHub
H A DInputReader.cpp605 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) { function in class:android::InputReader
608 return getStateLocked(deviceId, sourceMask, switchCode, &InputDevice::getSwitchState);
1028 int32_t InputDevice::getSwitchState(uint32_t sourceMask, int32_t switchCode) { function in class:android::InputDevice
1029 return getState(sourceMask, switchCode, & InputMapper::getSwitchState);
1773 int32_t InputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) { function in class:android::InputMapper
1862 int32_t SwitchInputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) { function in class:android::SwitchInputMapper
1863 return getEventHub()->getSwitchState(getDeviceId(), switchCode);
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java413 public int getSwitchState(int deviceId, int sourceMask, int switchCode) { method in class:InputManagerService
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp597 virtual int32_t getSwitchState(int32_t deviceId, int32_t sw) const { function in class:android::FakeEventHub
894 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode) { function in class:android::FakeInputMapper
1105 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getSwitchState(0,
1109 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getSwitchState(1,
1113 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getSwitchState(1,
1117 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getSwitchState(-1,
1121 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getSwitchState(-1,
1273 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getSwitchState(AINPUT_SOURCE_KEYBOARD, 0))
1344 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getSwitchState(AINPUT_SOURCE_TRACKBALL, AKEYCODE_A))
1351 ASSERT_EQ(AKEY_STATE_DOWN, mDevice->getSwitchState(AINPUT_SOURCE_KEYBOAR
[all...]

Completed in 198 milliseconds