Home | History | Annotate | Download | only in inputflinger

Lines Matching refs:switchCode

746 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) {
749 return getStateLocked(deviceId, sourceMask, switchCode, &InputDevice::getSwitchState);
1242 int32_t InputDevice::getSwitchState(uint32_t sourceMask, int32_t switchCode) {
1243 return getState(sourceMask, switchCode, & InputMapper::getSwitchState);
2005 int32_t InputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) {
2089 void SwitchInputMapper::processSwitch(int32_t switchCode, int32_t switchValue) {
2090 if (switchCode >= 0 && switchCode < 32) {
2092 mSwitchValues |= 1 << switchCode;
2094 mSwitchValues &= ~(1 << switchCode);
2096 mUpdatedSwitchMask |= 1 << switchCode;
2110 int32_t SwitchInputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) {
2111 return getEventHub()->getSwitchState(getDeviceId(), switchCode);