Searched refs:usesLibraryFiles (Results 1 – 8 of 8) sorted by relevance
240 assertThat(testPackageSetting.usesLibraryFiles).isEmpty() in <lambda>()245 assertThat(testPackageSetting.usesLibraryFiles).hasSize(1) in <lambda>()246 assertThat(testPackageSetting.usesLibraryFiles).contains(builtinLibPath(BUILTIN_LIB_NAME)) in <lambda>()253 assertThat(testPackageSetting.usesLibraryFiles).isEmpty() in <lambda>()258 assertThat(testPackageSetting.usesLibraryFiles).hasSize(2) in <lambda>()259 assertThat(testPackageSetting.usesLibraryFiles).contains(builtinLibPath(BUILTIN_LIB_NAME)) in <lambda>()260 assertThat(testPackageSetting.usesLibraryFiles).contains(apkPath(DYNAMIC_LIB_PACKAGE_NAME)) in <lambda>()267 assertThat(testPackageSetting.usesLibraryFiles).isEmpty() in <lambda>()272 assertThat(testPackageSetting.usesLibraryFiles).hasSize(3) in <lambda>()273 assertThat(testPackageSetting.usesLibraryFiles).contains(builtinLibPath(BUILTIN_LIB_NAME)) in <lambda>()[all …]
54 private List<String> usesLibraryFiles = emptyList(); field in PackageStateUnserialized87 usesLibraryFiles = CollectionUtils.add(usesLibraryFiles, value); in addUsesLibraryFile()138 if (!other.usesLibraryFiles.isEmpty()) { in updateFrom()139 this.usesLibraryFiles = new ArrayList<>(other.usesLibraryFiles); in updateFrom()181 usesLibraryFiles = value; in setUsesLibraryFiles()251 return usesLibraryFiles; in getUsesLibraryFiles()
504 @NonNull Set<String> usesLibraryFiles, @NonNull SharedLibraryInfo libInfo,507 usesLibraryFiles.add(libInfo.getPath());524 usesLibraryFiles.addAll(AndroidPackageUtils.getAllCodePaths(pkgForCodePaths));528 usesLibraryFiles.addAll(pkgSetting.getPkgState().getUsesLibraryFiles());590 Set<String> usesLibraryFiles = new LinkedHashSet<>();592 addSharedLibraryLPr(pkg, usesLibraryFiles, libInfo, changingLib,595 pkgSetting.setPkgStateLibraryFiles(usesLibraryFiles);
478 public PackageSetting setPkgStateLibraryFiles(@NonNull Collection<String> usesLibraryFiles) {480 if (oldUsesLibraryFiles.size() != usesLibraryFiles.size()481 || !oldUsesLibraryFiles.containsAll(usesLibraryFiles)) {482 pkgState.setUsesLibraryFiles(new ArrayList<>(usesLibraryFiles));
5231 List<String> usesLibraryFiles = ps.getPkgState().getUsesLibraryFiles();5232 if (usesLibraryFiles.size() > 0) {5234 for (int i=0; i< usesLibraryFiles.size(); i++) {5235 pw.print(prefix); pw.print(" "); pw.println(usesLibraryFiles.get(i));
335 List<String> usesLibraryFiles = pkg.getUsesLibraries(); in generateApplicationInfo() local337 info.sharedLibraryFiles = usesLibraryFiles.isEmpty() in generateApplicationInfo()338 ? null : usesLibraryFiles.toArray(new String[0]); in generateApplicationInfo()
475 List<String> usesLibraryFiles = pkgState.getUsesLibraryFiles(); in generateApplicationInfo() local481 info.sharedLibraryFiles = usesLibraryFiles.isEmpty() in generateApplicationInfo()482 ? null : usesLibraryFiles.toArray(new String[0]); in generateApplicationInfo()
6848 public String[] usesLibraryFiles = null; field in PackageParser.Package7388 usesLibraryFiles = dest.readStringArray(); in Package()7543 dest.writeStringArray(usesLibraryFiles); in writeToParcel()7955 && p.usesLibraryFiles != null) { in copyNeeded()8057 ai.sharedLibraryFiles = p.usesLibraryFiles; in generateApplicationInfo()