/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | Permissions.java | 270 String appOp = getPermissionAppOp(permission); in isPermissionAndAppOpGranted() local 271 if (appOp == null) { in isPermissionAndAppOpGranted() 274 Integer appOpMode = getAppOpMode(packageName, appOp, context); in isPermissionAndAppOpGranted() 320 String appOp = getPermissionAppOp(permission); in grantPermissionAndAppOp() local 321 if (appOp == null) { in grantPermissionAndAppOp() 339 permissionOrAppOpChanged = setAppOpMode(packageName, appOp, appOpMode, context); in grantPermissionAndAppOp() 494 String appOp = getPermissionAppOp(permission); in revokePermissionAndAppOp() local 495 if (appOp == null) { in revokePermissionAndAppOp() 501 int appOpMode = getDefaultAppOpMode(appOp); in revokePermissionAndAppOp() 502 boolean appOpModeChanged = setAppOpMode(packageName, appOp, appOpMode, context); in revokePermissionAndAppOp() [all …]
|
D | AppOp.java | 130 AppOp appOp = (AppOp) object; in equals() local 131 return mMode == appOp.mMode in equals() 132 && Objects.equals(mName, appOp.mName) in equals() 133 && Objects.equals(mMaxTargetSdkVersion, appOp.mMaxTargetSdkVersion); in equals()
|
D | Role.java | 589 AppOp appOp = mAppOps.get(i); in grant() local 590 appOp.grant(packageName, context); in grant() 642 AppOp appOp = appOpsToRevoke.get(i); in revoke() local 643 appOp.revoke(packageName, context); in revoke()
|
D | Roles.java | 714 AppOp appOp = new AppOp(name, maxTargetSdkVersion, mode); in parseAppOps() local 715 appOps.add(appOp); in parseAppOps() 962 AppOp appOp = appOps.get(i); in validateParseResult() local 964 String permission = AppOpsManager.opToPermission(appOp.getName()); in validateParseResult() 967 + appOp.getName()); in validateParseResult()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | PermissionsUtil.java | 60 public static boolean hasAppOp(Context context, String appOp) { in hasAppOp() argument 63 final int mode = appOpsManager.checkOpNoThrow(appOp, Process.myUid(), in hasAppOp()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CellBroadcastHandler.java | 493 String appOp; in broadcastMessage() local 504 appOp = AppOpsManager.OPSTR_RECEIVE_EMERGENCY_BROADCAST; in broadcastMessage() 519 additionalIntent, receiverPermission, appOp, null, in broadcastMessage() 533 intent, receiverPermission, appOp, mOrderedBroadcastReceiver, in broadcastMessage()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/ |
D | Permission.java | 47 String appOp, boolean appOpAllowed, int flags) { in Permission() argument 52 mAppOp = appOp; in Permission()
|
D | AppPermissionGroup.java | 273 final String appOp = PLATFORM_PACKAGE_NAME.equals(requestedPermissionInfo.packageName) in create() local 277 if (appOp == null) { in create() 280 int appOpsMode = appOpsManager.unsafeCheckOpRaw(appOp, in create() 289 granted, appOp, appOpAllowed, flags); in create()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | ComponentContextFixture.java | 331 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 337 String receiverPermission, int appOp, Bundle options, in sendOrderedBroadcastAsUser() argument
|