Searched refs:permissionsToGrant (Results 1 – 2 of 2) sorted by relevance
101 ArraySet<String> permissionsToGrant = new ArraySet<>(permissionsWithoutSplits); in grant() local108 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()
172 String[] permissionsToGrant = null; in grantReviewedPermission() local177 permissionsToGrant = ArrayUtils.appendString( in grantReviewedPermission()178 permissionsToGrant, permission.getName()); in grantReviewedPermission()181 if (permissionsToGrant != null) { in grantReviewedPermission()182 group.grantRuntimePermissions(false, permissionsToGrant); in grantReviewedPermission()