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 | 3933 owner.usesLibraries = ArrayUtils.add(owner.usesLibraries, lname); in parseBaseApplication() 4154 owner.usesLibraries = ArrayUtils.add(owner.usesLibraries, lname); in parseSplitApplication() 4159 if (!ArrayUtils.contains(owner.usesLibraries, lname)) { in parseSplitApplication() 6487 public ArrayList<String> usesLibraries = null; field in Package 7030 usesLibraries = dest.createStringArrayList(); in Package() 7031 internStringArrayList(usesLibraries); in Package() 7187 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 | 173 assertSame(deserialized.usesLibraries.get(0), in test_stringInterning() 174 deserialized2.usesLibraries.get(0)); in test_stringInterning() 265 assertEquals(a.usesLibraries, b.usesLibraries); in assertPackagesEqual() 491 pkg.usesLibraries = new ArrayList<>(); in setKnownFields() 492 pkg.usesLibraries.add("foo11"); in setKnownFields()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 4630 if (ps.pkg.usesLibraries != null && ps.pkg.usesLibraries.size() > 0) { in dumpPackageLPr() 4632 for (int i=0; i<ps.pkg.usesLibraries.size(); i++) { in dumpPackageLPr() 4633 pw.print(prefix); pw.print(" "); pw.println(ps.pkg.usesLibraries.get(i)); in dumpPackageLPr()
|
D | PackageManagerService.java | 5386 if (ArrayUtils.contains(ps.pkg.usesLibraries, libName) in getPackagesUsingSharedLibraryLPr() 10489 if (pkg.usesLibraries != null) { 10490 usesLibraryInfos = collectSharedLibraryInfos(pkg.usesLibraries, null, null, 10658 && !hasString(pkg.usesLibraries, changingPkg.libraryNames)
|