Home
last modified time | relevance | path

Searched refs:_NUM_OP (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/app/
DAppOpsManager.java839 public static final int _NUM_OP = 90; field in AppOpsManager
1971 if (sOpToSwitch.length != _NUM_OP) {
1973 + " should be " + _NUM_OP);
1975 if (sOpToString.length != _NUM_OP) {
1977 + " should be " + _NUM_OP);
1979 if (sOpNames.length != _NUM_OP) {
1981 + " should be " + _NUM_OP);
1983 if (sOpPerms.length != _NUM_OP) {
1985 + " should be " + _NUM_OP);
1987 if (sOpDefaultMode.length != _NUM_OP) {
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java1666 AppOpsManager._NUM_OP - 1, "Invalid op code: " + op); in startWatchingModeWithFlags()
2072 AppOpsManager._NUM_OP - 1, "Invalid op code in: " + Arrays.toString(ops)); in startWatchingActive()
2119 Preconditions.checkArrayElementsInRange(ops, 0, AppOpsManager._NUM_OP - 1, in startWatchingNoted()
2417 if (op >= 0 && op < AppOpsManager._NUM_OP) { in verifyIncomingOp()
3398 if (shell.op > AppOpsManager.OP_NONE && shell.op < AppOpsManager._NUM_OP) { in onShellCommand()
4217 for (int i = 0; i < AppOpsManager._NUM_OP; i++) { in setUserRestrictions()
4474 userRestrictions = new boolean[AppOpsManager._NUM_OP]; in setRestriction()