Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DAutoRevokeFragment.kt167 val revokedPerms = permSet.toList() in <lambda>() constant
193 val mostImportant = getMostImportantGroup(revokedPerms) in <lambda>()
196 revokedPerms.size == 1 -> getString(R.string.auto_revoked_app_summary_one, in <lambda>()
198 revokedPerms.size == 2 -> { in <lambda>()
199 val otherLabel = if (revokedPerms[0] == mostImportant) { in <lambda>()
200 KotlinUtils.getPermGroupLabel(context!!, revokedPerms[1]) in <lambda>()
202 KotlinUtils.getPermGroupLabel(context!!, revokedPerms[0]) in <lambda>()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerServiceImpl.java236 ArrayList<String> revokedPerms = new ArrayList<>(); in revokePermissionGroups() local
254 revokedPerms.add(perm.getName()); in revokePermissionGroups()
261 return revokedPerms; in revokePermissionGroups()
336 ArrayList<String> revokedPerms = revokePermissionGroups(groupsToRevoke); in onRevokeRuntimePermissions() local
339 if (!revokedPerms.isEmpty()) { in onRevokeRuntimePermissions()
340 actuallyRevokedPerms.put(pkgName, revokedPerms); in onRevokeRuntimePermissions()