Searched refs:opToDefaultMode (Results 1 – 6 of 6) sorted by relevance
88 final int defaultModeOp1 = AppOpsManager.opToDefaultMode(op1); in assertSameModes()89 final int defaultModeOp2 = AppOpsManager.opToDefaultMode(op2); in assertSameModes()
430 this.mode = AppOpsManager.opToDefaultMode(op); in Op()1243 final int defaultMode = AppOpsManager.opToDefaultMode(code); in setUidMode()1380 int defaultMode = AppOpsManager.opToDefaultMode(code); in setAllPkgModesToDefault()1438 if (mode == AppOpsManager.opToDefaultMode(op.op)) { in setMode()1597 && curOp.mode != AppOpsManager.opToDefaultMode(curOp.op)) { in resetAllModes()1598 curOp.mode = AppOpsManager.opToDefaultMode(curOp.op); in resetAllModes()1819 return AppOpsManager.opToDefaultMode(code); in checkOperationUnchecked()2781 if (op != null && op.mode != AppOpsManager.opToDefaultMode(op.op)) { in upgradeRunAnyInBackgroundLocked()2913 AppOpsManager.opToDefaultMode(op.op)); in readOp()3032 if (op.getMode() != AppOpsManager.opToDefaultMode(op.getOp())) { in writeState()[all …]
2119 public static @Mode int opToDefaultMode(int op) { in opToDefaultMode() method in AppOpsManager2134 public static int opToDefaultMode(@NonNull String appOp) { in opToDefaultMode() method in AppOpsManager2135 return opToDefaultMode(strOpToOp(appOp)); in opToDefaultMode()
1271 && AppOpsManager.opToDefaultMode(appOp) in grantRuntimePermissions()
145 method public static int opToDefaultMode(@NonNull String);
322 method public static int opToDefaultMode(@NonNull String);