Searched refs:usesOptionalLibraries (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
D | PackageSharedLibraryUpdater.java | 43 pkg.usesOptionalLibraries = in removeLibrary() 44 ArrayUtils.remove(pkg.usesOptionalLibraries, libraryName); in removeLibrary() 57 ArrayList<String> usesOptionalLibraries, String apacheHttpLegacy) { in isLibraryPresent() argument 59 || ArrayUtils.contains(usesOptionalLibraries, apacheHttpLegacy); in isLibraryPresent() 75 ArrayList<String> usesOptionalLibraries = pkg.usesOptionalLibraries; in prefixImplicitDependency() local 77 if (!isLibraryPresent(usesLibraries, usesOptionalLibraries, implicitDependency)) { in prefixImplicitDependency() 80 } else if (ArrayUtils.contains(usesOptionalLibraries, existingLibrary)) { in prefixImplicitDependency() 81 prefix(usesOptionalLibraries, implicitDependency); in prefixImplicitDependency() 85 pkg.usesOptionalLibraries = usesOptionalLibraries; in prefixImplicitDependency() 91 ArrayList<String> usesOptionalLibraries = pkg.usesOptionalLibraries; in prefixRequiredLibrary() local [all …]
|
D | PackageParser.java | 3935 owner.usesOptionalLibraries = ArrayUtils.add( in parseBaseApplication() 3936 owner.usesOptionalLibraries, lname); in parseBaseApplication() 4155 owner.usesOptionalLibraries = ArrayUtils.remove( in parseSplitApplication() 4156 owner.usesOptionalLibraries, lname); in parseSplitApplication() 4160 owner.usesOptionalLibraries = ArrayUtils.add( in parseSplitApplication() 4161 owner.usesOptionalLibraries, lname); in parseSplitApplication() 6492 public ArrayList<String> usesOptionalLibraries = null; field in Package 7032 usesOptionalLibraries = dest.createStringArrayList(); in Package() 7033 internStringArrayList(usesOptionalLibraries); in Package() 7188 dest.writeStringList(usesOptionalLibraries); in writeToParcel()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageBuilder.java | 49 pkg.usesOptionalLibraries = mOptionalLibraries; in build() 92 pkg.usesOptionalLibraries); in check()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageParserTest.java | 175 assertSame(deserialized.usesOptionalLibraries.get(0), in test_stringInterning() 176 deserialized2.usesOptionalLibraries.get(0)); in test_stringInterning() 266 assertEquals(a.usesOptionalLibraries, b.usesOptionalLibraries); in assertPackagesEqual() 494 pkg.usesOptionalLibraries = new ArrayList<>(); in setKnownFields() 495 pkg.usesOptionalLibraries.add("foo12"); in setKnownFields()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 4641 if (ps.pkg.usesOptionalLibraries != null in dumpPackageLPr() 4642 && ps.pkg.usesOptionalLibraries.size() > 0) { in dumpPackageLPr() 4644 for (int i=0; i<ps.pkg.usesOptionalLibraries.size(); i++) { in dumpPackageLPr() 4646 pw.println(ps.pkg.usesOptionalLibraries.get(i)); in dumpPackageLPr()
|
D | PackageManagerService.java | 5395 || ArrayUtils.contains(ps.pkg.usesOptionalLibraries, libName)) { in getPackagesUsingSharedLibraryLPr() 10508 if (pkg.usesOptionalLibraries != null) { 10509 usesLibraryInfos = collectSharedLibraryInfos(pkg.usesOptionalLibraries, 10667 && !hasString(pkg.usesOptionalLibraries, changingPkg.libraryNames)
|