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 | 3993 owner.usesOptionalLibraries = ArrayUtils.add( in parseBaseApplication() 3994 owner.usesOptionalLibraries, lname); in parseBaseApplication() 4213 owner.usesOptionalLibraries = ArrayUtils.remove( in parseSplitApplication() 4214 owner.usesOptionalLibraries, lname); in parseSplitApplication() 4218 owner.usesOptionalLibraries = ArrayUtils.add( in parseSplitApplication() 4219 owner.usesOptionalLibraries, lname); in parseSplitApplication() 6550 public ArrayList<String> usesOptionalLibraries = null; field in Package 7090 usesOptionalLibraries = dest.createStringArrayList(); in Package() 7091 internStringArrayList(usesOptionalLibraries); in Package() 7246 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 | 179 assertSame(deserialized.usesOptionalLibraries.get(0), in test_stringInterning() 180 deserialized2.usesOptionalLibraries.get(0)); in test_stringInterning() 270 assertEquals(a.usesOptionalLibraries, b.usesOptionalLibraries); in assertPackagesEqual() 498 pkg.usesOptionalLibraries = new ArrayList<>(); in setKnownFields() 499 pkg.usesOptionalLibraries.add("foo12"); in setKnownFields()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 4646 if (ps.pkg.usesOptionalLibraries != null in dumpPackageLPr() 4647 && ps.pkg.usesOptionalLibraries.size() > 0) { in dumpPackageLPr() 4649 for (int i=0; i<ps.pkg.usesOptionalLibraries.size(); i++) { in dumpPackageLPr() 4651 pw.println(ps.pkg.usesOptionalLibraries.get(i)); in dumpPackageLPr()
|
D | PackageManagerService.java | 5320 || ArrayUtils.contains(ps.pkg.usesOptionalLibraries, libName)) { 10446 if (pkg.usesOptionalLibraries != null) { 10447 usesLibraryInfos = collectSharedLibraryInfos(pkg.usesOptionalLibraries, 10606 && !hasString(pkg.usesOptionalLibraries, changingPkg.libraryNames)
|