Searched refs:usesLibraries (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
D | PackageSharedLibraryUpdater.java | 42 pkg.usesLibraries = ArrayUtils.remove(pkg.usesLibraries, libraryName); in removeLibrary() 56 private static boolean isLibraryPresent(ArrayList<String> usesLibraries, in isLibraryPresent() argument 58 return ArrayUtils.contains(usesLibraries, apacheHttpLegacy) in isLibraryPresent() 74 ArrayList<String> usesLibraries = pkg.usesLibraries; in prefixImplicitDependency() local 77 if (!isLibraryPresent(usesLibraries, usesOptionalLibraries, implicitDependency)) { in prefixImplicitDependency() 78 if (ArrayUtils.contains(usesLibraries, existingLibrary)) { in prefixImplicitDependency() 79 prefix(usesLibraries, implicitDependency); in prefixImplicitDependency() 84 pkg.usesLibraries = usesLibraries; in prefixImplicitDependency() 90 ArrayList<String> usesLibraries = pkg.usesLibraries; in prefixRequiredLibrary() local 94 usesLibraries, usesOptionalLibraries, libraryName); in prefixRequiredLibrary() [all …]
|
D | PackageParser.java | 3991 owner.usesLibraries = ArrayUtils.add(owner.usesLibraries, lname); in parseBaseApplication() 4212 owner.usesLibraries = ArrayUtils.add(owner.usesLibraries, lname); in parseSplitApplication() 4217 if (!ArrayUtils.contains(owner.usesLibraries, lname)) { in parseSplitApplication() 6545 public ArrayList<String> usesLibraries = null; field in Package 7088 usesLibraries = dest.createStringArrayList(); in Package() 7089 internStringArrayList(usesLibraries); in Package() 7245 dest.writeStringList(usesLibraries); in writeToParcel()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageBuilder.java | 48 pkg.usesLibraries = mRequiredLibraries; in build() 89 pkg.usesLibraries); in check()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageParserTest.java | 177 assertSame(deserialized.usesLibraries.get(0), in test_stringInterning() 178 deserialized2.usesLibraries.get(0)); in test_stringInterning() 269 assertEquals(a.usesLibraries, b.usesLibraries); in assertPackagesEqual() 495 pkg.usesLibraries = new ArrayList<>(); in setKnownFields() 496 pkg.usesLibraries.add("foo11"); in setKnownFields()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 4631 if (ps.pkg.usesLibraries != null && ps.pkg.usesLibraries.size() > 0) { in dumpPackageLPr() 4633 for (int i=0; i<ps.pkg.usesLibraries.size(); i++) { in dumpPackageLPr() 4634 pw.print(prefix); pw.print(" "); pw.println(ps.pkg.usesLibraries.get(i)); in dumpPackageLPr()
|
D | PackageManagerService.java | 5319 if (ArrayUtils.contains(ps.pkg.usesLibraries, libName) 10435 if (pkg.usesLibraries != null) { 10436 usesLibraryInfos = collectSharedLibraryInfos(pkg.usesLibraries, null, null, 10605 && !hasString(pkg.usesLibraries, changingPkg.libraryNames)
|