Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DPermissions.java101 ArraySet<String> permissionsToGrant = new ArraySet<>(permissionsWithoutSplits); in grant() local
108 permissionsToGrant.addAll(splitPermission.getNewPermissions()); in grant()
112 CollectionUtils.retainAll(permissionsToGrant, packageInfo.requestedPermissions); in grant()
113 if (permissionsToGrant.isEmpty()) { in grant()
129 CollectionUtils.retainAll(permissionsToGrant, in grant()
131 if (permissionsToGrant.isEmpty()) { in grant()
139 int permissionsToGrantSize = permissionsToGrant.size(); in grant()
144 String permission = permissionsToGrant.valueAt(i); in grant()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DReviewPermissionsFragment.java172 String[] permissionsToGrant = null; in grantReviewedPermission() local
177 permissionsToGrant = ArrayUtils.appendString( in grantReviewedPermission()
178 permissionsToGrant, permission.getName()); in grantReviewedPermission()
181 if (permissionsToGrant != null) { in grantReviewedPermission()
182 group.grantRuntimePermissions(false, permissionsToGrant); in grantReviewedPermission()