Home
last modified time | relevance | path

Searched refs:opToDefaultMode (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsUpgradeTest.java88 final int defaultModeOp1 = AppOpsManager.opToDefaultMode(op1); in assertSameModes()
89 final int defaultModeOp2 = AppOpsManager.opToDefaultMode(op2); in assertSameModes()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java430 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 …]
/frameworks/base/core/java/android/app/
DAppOpsManager.java2119 public static @Mode int opToDefaultMode(int op) { in opToDefaultMode() method in AppOpsManager
2134 public static int opToDefaultMode(@NonNull String appOp) { in opToDefaultMode() method in AppOpsManager
2135 return opToDefaultMode(strOpToOp(appOp)); in opToDefaultMode()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java1271 && AppOpsManager.opToDefaultMode(appOp) in grantRuntimePermissions()
/frameworks/base/api/
Dtest-current.txt145 method public static int opToDefaultMode(@NonNull String);
Dsystem-current.txt322 method public static int opToDefaultMode(@NonNull String);