Home | History | Annotate | Download | only in input

Lines Matching refs:switchCode

594 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) {
597 return getStateLocked(deviceId, sourceMask, switchCode, &InputDevice::getSwitchState);
1017 int32_t InputDevice::getSwitchState(uint32_t sourceMask, int32_t switchCode) {
1018 return getState(sourceMask, switchCode, & InputMapper::getSwitchState);
1762 int32_t InputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) {
1830 void SwitchInputMapper::processSwitch(int32_t switchCode, int32_t switchValue) {
1831 if (switchCode >= 0 && switchCode < 32) {
1833 mUpdatedSwitchValues |= 1 << switchCode;
1835 mUpdatedSwitchMask |= 1 << switchCode;
1849 int32_t SwitchInputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) {
1850 return getEventHub()->getSwitchState(getDeviceId(), switchCode);