Searched defs:switchCode (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/services/java/com/android/server/input/ |
H A D | InputManagerService.java | 387 * @param switchCode The switch code to check. 390 public int getSwitchState(int deviceId, int sourceMask, int switchCode) { argument 391 return nativeGetSwitchState(mPtr, deviceId, sourceMask, switchCode);
|
/frameworks/base/services/input/tests/ |
H A D | InputReader_test.cpp | 396 void setSwitchState(int32_t deviceId, int32_t switchCode, int32_t state) { argument 398 device->switchStates.replaceValueFor(switchCode, state); 835 void setSwitchState(int32_t switchCode, int32_t state) { argument 836 mSwitchStates.replaceValueFor(switchCode, state); 880 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode) { argument 881 ssize_t index = mSwitchStates.indexOfKey(switchCode);
|
/frameworks/base/services/input/ |
H A D | InputReader.cpp | 593 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) { argument 596 return getStateLocked(deviceId, sourceMask, switchCode, &InputDevice::getSwitchState); 1015 int32_t InputDevice::getSwitchState(uint32_t sourceMask, int32_t switchCode) { argument 1016 return getState(sourceMask, switchCode, & InputMapper::getSwitchState); 1760 int32_t InputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) { argument 1828 void SwitchInputMapper::processSwitch(int32_t switchCode, int32_t switchValue) { argument 1829 if (switchCode >= 0 && switchCode < 32) { 1831 mUpdatedSwitchValues |= 1 << switchCode; 1833 mUpdatedSwitchMask |= 1 << switchCode; 1847 getSwitchState(uint32_t sourceMask, int32_t switchCode) argument [all...] |
Completed in 44 milliseconds