Searched refs:foregroundPermission (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/ |
D | Permissions.java | 226 String foregroundPermission = foregroundPermissions.get(i); in grantSingleAsUser() local 228 if (isPermissionAndAppOpGrantedAsUser(packageName, foregroundPermission, user, in grantSingleAsUser() 322 String foregroundPermission = foregroundPermissions.get(i); in isPermissionAndAppOpGrantedAsUser() local 324 String foregroundAppOp = getPermissionAppOp(foregroundPermission); in isPermissionAndAppOpGrantedAsUser() 376 String foregroundPermission = foregroundPermissions.get(i); in grantPermissionAndAppOpAsUser() local 378 String foregroundAppOp = getPermissionAppOp(foregroundPermission); in grantPermissionAndAppOpAsUser() 560 String foregroundPermission = foregroundPermissions.get(i); in revokePermissionAndAppOpAsUser() local 562 if (!isPermissionAndAppOpGrantedAsUser(packageName, foregroundPermission, user, in revokePermissionAndAppOpAsUser() 567 String foregroundAppOp = getPermissionAppOp(foregroundPermission); in revokePermissionAndAppOpAsUser() 711 private static String getBackgroundPermission(@NonNull String foregroundPermission, in getBackgroundPermission() argument [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
D | Permission.java | 67 public void addForegroundPermissions(Permission foregroundPermission) { in addForegroundPermissions() argument 71 mForegroundPermissions.add(foregroundPermission); in addForegroundPermissions()
|
D | AppPermissionGroup.java | 860 Permission foregroundPermission = foregroundPermissions.get(i); 861 if (foregroundPermission.isAppOpAllowed()) { 862 wasChanged |= setAppOpMode(foregroundPermission.getAppOp(), uid, MODE_ALLOWED); 1093 Permission foregroundPermission = foregroundPermissions.get(i); 1094 if (foregroundPermission.isAppOpAllowed()) { 1095 wasChanged |= setAppOpMode(foregroundPermission.getAppOp(), uid,
|