Searched refs:perms (Results 1 – 10 of 10) sorted by relevance
535 final ArrayList<String> perms = new ArrayList<String>(); in buildState() local541 if (perm != null && !perms.contains(perm)) { in buildState()542 perms.add(perm); in buildState()580 String[] permsArray = new String[perms.size()]; in buildState()581 perms.toArray(permsArray); in buildState()605 for (int k=0; k<perms.size(); k++) { in buildState()606 if (!perms.get(k).equals(appInfo.requestedPermissions[j])) { in buildState()609 if (DEBUG) Log.d(TAG, "Pkg " + appInfo.packageName + " perm " + perms.get(k) in buildState()
85 private @NonNull ArrayList<String> addSplitPermissions(@NonNull List<String> perms, in addSplitPermissions() argument91 ArrayList<String> expandedPerms = new ArrayList<>(perms); in addSplitPermissions()92 int numReqPerms = perms.size(); in addSplitPermissions()94 String reqPerm = perms.get(reqPermNum); in addSplitPermissions()187 ArrayList<Permission> perms = group.getPermissions(); in revokePermissionGroups() local193 int numPerms = perms.size(); in revokePermissionGroups()195 Permission perm = perms.get(permNum); in revokePermissionGroups()
507 List<Permission> perms = group.getPermissions(); in fromPermissionGroup() local512 int numPerms = perms.size(); in fromPermissionGroup()514 BackupPermissionState permState = fromPermission(perms.get(i), in fromPermissionGroup()
130 ArrayList<Permission> perms = group.getPermissions(); in addAllPermissions() local132 int numPerms = perms.size(); in addAllPermissions()134 mPermissionNameToGroup.put(perms.get(permNum).getName(), group); in addAllPermissions()
409 List<GrantedUriPermission> perms = in refreshGrantedUriPermissions() local412 if (perms.isEmpty()) { in refreshGrantedUriPermissions()421 for (GrantedUriPermission perm : perms) { in refreshGrantedUriPermissions()