Searched refs:usesPermission (Results 1 – 4 of 4) sorted by relevance
155 final ParsedUsesPermission usesPermission = usesPermissions.get(i); in generate() local156 info.requestedPermissions[i] = usesPermission.getName(); in generate()160 if ((usesPermission.getUsesPermissionFlags() in generate()
616 for (ParsedUsesPermission usesPermission : newPkg.getUsesPermissions()) { in addPackageInternal()617 String usesPermissionName = usesPermission.getName(); in addPackageInternal()1159 for (ParsedUsesPermission usesPermission : setting.getPkg().getUsesPermissions()) { in removePackageInternal()1160 String usesPermissionName = usesPermission.getName(); in removePackageInternal()
199 final ParsedUsesPermission usesPermission = usesPermissions.get(i); in generateWithComponents() local200 info.requestedPermissions[i] = usesPermission.getName(); in generateWithComponents()205 && grantedPermissions.contains(usesPermission.getName())) { in generateWithComponents()209 if ((usesPermission.getUsesPermissionFlags() in generateWithComponents()
1479 final ParsedUsesPermission usesPermission = usesPermissions.get(i);1480 if (Objects.equals(usesPermission.getName(), name)) {1481 if (usesPermission.getUsesPermissionFlags() != usesPermissionFlags) {