Home
last modified time | relevance | path

Searched refs:usesLibraryFiles (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DSharedLibrariesImplTest.kt240 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 …]
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageStateUnserialized.java54 private List<String> usesLibraryFiles = emptyList(); field in PackageStateUnserialized
87 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()
/frameworks/base/services/core/java/com/android/server/pm/
DSharedLibrariesImpl.java504 @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);
DPackageSetting.java478 public PackageSetting setPkgStateLibraryFiles(@NonNull Collection<String> usesLibraryFiles) {
480 if (oldUsesLibraryFiles.size() != usesLibraryFiles.size()
481 || !oldUsesLibraryFiles.containsAll(usesLibraryFiles)) {
482 pkgState.setUsesLibraryFiles(new ArrayList<>(usesLibraryFiles));
DSettings.java5231 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));
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageInfoCommonUtils.java335 List<String> usesLibraryFiles = pkg.getUsesLibraries(); in generateApplicationInfo() local
337 info.sharedLibraryFiles = usesLibraryFiles.isEmpty() in generateApplicationInfo()
338 ? null : usesLibraryFiles.toArray(new String[0]); in generateApplicationInfo()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java475 List<String> usesLibraryFiles = pkgState.getUsesLibraryFiles(); in generateApplicationInfo() local
481 info.sharedLibraryFiles = usesLibraryFiles.isEmpty() in generateApplicationInfo()
482 ? null : usesLibraryFiles.toArray(new String[0]); in generateApplicationInfo()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java6848 public String[] usesLibraryFiles = null; field in PackageParser.Package
7388 usesLibraryFiles = dest.readStringArray(); in Package()
7543 dest.writeStringArray(usesLibraryFiles); in writeToParcel()
7955 && p.usesLibraryFiles != null) { in copyNeeded()
8057 ai.sharedLibraryFiles = p.usesLibraryFiles; in generateApplicationInfo()