Searched refs:switchCode (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/ |
D | AppOpsService.java | 1586 final int switchCode = AppOpsManager.opToSwitch(code); in noteOperationUnchecked() local 1589 if (uidState.opModes != null && uidState.opModes.indexOfKey(switchCode) >= 0) { in noteOperationUnchecked() 1590 final int uidMode = uidState.evalMode(uidState.opModes.get(switchCode)); in noteOperationUnchecked() 1593 + switchCode + " (" + code + ") uid " + uid + " package " in noteOperationUnchecked() 1599 final Op switchOp = switchCode != code ? getOpLocked(ops, switchCode, true) : op; in noteOperationUnchecked() 1603 + switchCode + " (" + code + ") uid " + uid + " package " in noteOperationUnchecked() 1692 final int switchCode = AppOpsManager.opToSwitch(code); in startOperation() local 1696 if (uidState.opModes != null && uidState.opModes.indexOfKey(switchCode) >= 0) { in startOperation() 1697 final int uidMode = uidState.evalMode(uidState.opModes.get(switchCode)); in startOperation() 1701 + switchCode + " (" + code + ") uid " + uid + " package " in startOperation() [all …]
|
/frameworks/native/services/inputflinger/ |
D | InputReader.h | 582 int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode); 999 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode); 1035 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode); 1042 void processSwitch(int32_t switchCode, int32_t switchValue);
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 478 public int getSwitchState(int deviceId, int sourceMask, int switchCode) { in getSwitchState() argument 479 return nativeGetSwitchState(mPtr, deviceId, sourceMask, switchCode); in getSwitchState()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 503 void setSwitchState(int32_t deviceId, int32_t switchCode, int32_t state) { in setSwitchState() argument 505 device->switchStates.replaceValueFor(switchCode, state); in setSwitchState() 960 void setSwitchState(int32_t switchCode, int32_t state) { in setSwitchState() argument 961 mSwitchStates.replaceValueFor(switchCode, state); in setSwitchState() 1004 virtual int32_t getSwitchState(uint32_t, int32_t switchCode) { in getSwitchState() argument 1005 ssize_t index = mSwitchStates.indexOfKey(switchCode); in getSwitchState()
|