Home
last modified time | relevance | path

Searched refs:foregroundPermission (Results 1 – 3 of 3) sorted by relevance

/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DPermissions.java201 String foregroundPermission = foregroundPermissions.get(i); in grantSingle() local
203 if (isPermissionAndAppOpGranted(packageName, foregroundPermission, context)) { in grantSingle()
294 String foregroundPermission = foregroundPermissions.get(i); in isPermissionAndAppOpGranted() local
296 String foregroundAppOp = getPermissionAppOp(foregroundPermission); in isPermissionAndAppOpGranted()
346 String foregroundPermission = foregroundPermissions.get(i); in grantPermissionAndAppOp() local
348 String foregroundAppOp = getPermissionAppOp(foregroundPermission); in grantPermissionAndAppOp()
521 String foregroundPermission = foregroundPermissions.get(i); in revokePermissionAndAppOp() local
523 if (!isPermissionAndAppOpGranted(packageName, foregroundPermission, context)) { in revokePermissionAndAppOp()
527 String foregroundAppOp = getPermissionAppOp(foregroundPermission); in revokePermissionAndAppOp()
661 private static String getBackgroundPermission(@NonNull String foregroundPermission, in getBackgroundPermission() argument
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DAppPermissionGroup.java716 Permission foregroundPermission = foregroundPermissions.get(i); in allowAppOp() local
717 if (foregroundPermission.isAppOpAllowed()) { in allowAppOp()
718 wasChanged |= setAppOpMode(foregroundPermission.getAppOp(), uid, MODE_ALLOWED); in allowAppOp()
919 Permission foregroundPermission = foregroundPermissions.get(i); in disallowAppOp() local
920 if (foregroundPermission.isAppOpAllowed()) { in disallowAppOp()
921 wasChanged |= setAppOpMode(foregroundPermission.getAppOp(), uid, in disallowAppOp()
DPermission.java66 public void addForegroundPermissions(Permission foregroundPermission) { in addForegroundPermissions() argument
70 mForegroundPermissions.add(foregroundPermission); in addForegroundPermissions()