Home
last modified time | relevance | path

Searched refs:revokedPerms (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DUnusedAppsFragment.kt208 val revokedPerms = permSet.toList() in <lambda>() constant
234 val mostImportant = getMostImportantGroup(revokedPerms) in <lambda>()
237 revokedPerms.isEmpty() -> null in <lambda>()
238 revokedPerms.size == 1 -> getString(R.string.auto_revoked_app_summary_one, in <lambda>()
240 revokedPerms.size == 2 -> { in <lambda>()
241 val otherLabel = if (revokedPerms[0] == mostImportant) { in <lambda>()
242 KotlinUtils.getPermGroupLabel(context!!, revokedPerms[1]) in <lambda>()
244 KotlinUtils.getPermGroupLabel(context!!, revokedPerms[0]) in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerServiceImpl.java242 ArrayList<String> revokedPerms = new ArrayList<>(); in revokePermissionGroups() local
260 revokedPerms.add(perm.getName()); in revokePermissionGroups()
267 return revokedPerms; in revokePermissionGroups()
342 ArrayList<String> revokedPerms = revokePermissionGroups(groupsToRevoke); in onRevokeRuntimePermissions() local
345 if (!revokedPerms.isEmpty()) { in onRevokeRuntimePermissions()
346 actuallyRevokedPerms.put(pkgName, revokedPerms); in onRevokeRuntimePermissions()