Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsCheckingServiceImpl.java184 return AppOpsManager.opToDefaultMode(op); in getUidMode()
186 return opModes.get(op, AppOpsManager.opToDefaultMode(op)); in getUidMode()
192 final int defaultMode = AppOpsManager.opToDefaultMode(op); in setUidMode()
234 return AppOpsManager.opToDefaultMode(op); in getPackageMode()
238 return AppOpsManager.opToDefaultMode(op); in getPackageMode()
240 return opModes.get(op, AppOpsManager.opToDefaultMode(op)); in getPackageMode()
246 final int defaultMode = AppOpsManager.opToDefaultMode(op); in setPackageMode()
615 if (oldMode == AppOpsManager.opToDefaultMode(OP_SCHEDULE_EXACT_ALARM)) { in upgradeScheduleExactAlarmLocked()
657 AppOpsManager.opToDefaultMode(OP_USE_FULL_SCREEN_INTENT)); in resetUseFullScreenIntentLocked()
DLegacyAppOpStateParser.java19 import static android.app.AppOpsManager.opToDefaultMode;
169 if (mode != opToDefaultMode(code)) { in readUidOps()
231 final int defaultMode = AppOpsManager.opToDefaultMode(opCode); in readOp()
DAppOpsService.java1475 != AppOpsManager.opToDefaultMode(code) in onUidStateChanged()
1991 AppOpsManager.opToDefaultMode(op.op), in pruneOpLocked()
2046 final int defaultMode = AppOpsManager.opToDefaultMode(code); in setUidMode()
2066 != AppOpsManager.opToDefaultMode(code)) { in setUidMode()
2206 if (op != null && mode == AppOpsManager.opToDefaultMode(op.op)) { in notifyOpChangedForPkg()
2520 AppOpsManager.opToDefaultMode(code); in resetAllModes()
2573 curOp.op) ? MODE_ALLOWED : AppOpsManager.opToDefaultMode( in resetAllModes()
2636 AppOpsManager.opToDefaultMode(change.op), change.previous_mode); in resetAllModes()
2834 return AppOpsManager.opToDefaultMode(code); in checkOperationImpl()
2862 return AppOpsManager.opToDefaultMode(code); in checkOperationUnchecked()
[all …]
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DPackageAppOpPolicy.kt83 .getWithDefault(appOpName, AppOpsManager.opToDefaultMode(appOpName)) in <lambda>()
95 val defaultMode = AppOpsManager.opToDefaultMode(appOpName) in <lambda>()
DAppIdAppOpPolicy.kt80 .getWithDefault(appOpName, AppOpsManager.opToDefaultMode(appOpName)) in <lambda>()
92 val defaultMode = AppOpsManager.opToDefaultMode(appOpName) in <lambda>()
DAppIdAppOpUpgrade.kt52 AppOpsManager.opToDefaultMode(AppOpsManager.OP_SCHEDULE_EXACT_ALARM) in MutateStateScope()
DAppOpService.kt157 if (mode != AppOpsManager.opToDefaultMode(appOpCode)) { in <lambda>()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsUpgradeTest.java235 return AppOpsManager.opToDefaultMode(op); in getModeInFile()
274 if (previousMode == AppOpsManager.opToDefaultMode(OP_SCHEDULE_EXACT_ALARM)) { in upgradeScheduleExactAlarm()
293 assertEquals(AppOpsManager.opToDefaultMode(OP_SCHEDULE_EXACT_ALARM), mode); in upgradeScheduleExactAlarm()
337 final int expectedMode = AppOpsManager.opToDefaultMode(OP_USE_FULL_SCREEN_INTENT); in resetUseFullScreenIntent()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java710 setInteractAcrossProfilesAppOp(userId, packageName, AppOpsManager.opToDefaultMode(op));
716 AppOpsManager.opToDefaultMode(
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java760 final int defaultAppOpMode = AppOpsManager.opToDefaultMode(appOpCode); in resetAppOpPermissionsIfNotRequestedForUid()
1121 AppOpsManager.opToDefaultMode(opCode), mAppOpsCallback); in setUidMode()
/frameworks/base/services/robotests/src/com/android/server/pm/
DCrossProfileAppsServiceImplRoboTest.java254 final int defaultMode = AppOpsManager.opToDefaultMode(OP_INTERACT_ACROSS_PROFILES); in setInteractAcrossProfilesAppOpDefault()
/frameworks/base/core/java/android/app/
DAppOpsManager.java3269 public static @Mode int opToDefaultMode(int op) { in opToDefaultMode() method in AppOpsManager
3287 public static int opToDefaultMode(@NonNull String appOp) { in opToDefaultMode() method in AppOpsManager
3288 return opToDefaultMode(strOpToOp(appOp)); in opToDefaultMode()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java2030 oldMode = AppOpsManager.opToDefaultMode( in onBootPhase()
/frameworks/base/config/
Dboot-profile.txt183 Landroid/app/AppOpsManager;->opToDefaultMode(I)I
Dboot-image-profile.txt1125 HSPLandroid/app/AppOpsManager;->opToDefaultMode(I)I
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java16059 : AppOpsManager.opToDefaultMode(AppOpsManager.OP_INTERACT_ACROSS_PROFILES); in findInteractAcrossProfilesResetMode()
/frameworks/base/core/api/
Dsystem-current.txt633 method public static int opToDefaultMode(@NonNull String);
/frameworks/base/boot/
Dboot-image-profile.txt1125 HSPLandroid/app/AppOpsManager;->opToDefaultMode(I)I
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt3799 Landroid/app/AppOpsManager;->opToDefaultMode(I)I