Home
last modified time | relevance | path

Searched refs:usesOptionalLibraries (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DPackageSharedLibraryUpdater.java44 pkg.usesOptionalLibraries = in removeLibrary()
45 ArrayUtils.remove(pkg.usesOptionalLibraries, libraryName); in removeLibrary()
58 ArrayList<String> usesOptionalLibraries, String apacheHttpLegacy) { in isLibraryPresent() argument
60 || ArrayUtils.contains(usesOptionalLibraries, apacheHttpLegacy); in isLibraryPresent()
81 ArrayList<String> usesOptionalLibraries = pkg.usesOptionalLibraries; in prefixImplicitDependency() local
83 if (!isLibraryPresent(usesLibraries, usesOptionalLibraries, implicitDependency)) { in prefixImplicitDependency()
86 } else if (ArrayUtils.contains(usesOptionalLibraries, existingLibrary)) { in prefixImplicitDependency()
87 prefix(usesOptionalLibraries, implicitDependency); in prefixImplicitDependency()
91 pkg.usesOptionalLibraries = usesOptionalLibraries; in prefixImplicitDependency()
97 ArrayList<String> usesOptionalLibraries = pkg.usesOptionalLibraries; in prefixRequiredLibrary() local
[all …]
DPackageParser.java3785 owner.usesOptionalLibraries = ArrayUtils.add( in parseBaseApplication()
3786 owner.usesOptionalLibraries, lname); in parseBaseApplication()
3990 owner.usesOptionalLibraries = ArrayUtils.remove( in parseSplitApplication()
3991 owner.usesOptionalLibraries, lname); in parseSplitApplication()
3995 owner.usesOptionalLibraries = ArrayUtils.add( in parseSplitApplication()
3996 owner.usesOptionalLibraries, lname); in parseSplitApplication()
6262 public ArrayList<String> usesOptionalLibraries = null; field in PackageParser.Package
6774 usesOptionalLibraries = dest.createStringArrayList(); in Package()
6775 internStringArrayList(usesOptionalLibraries); in Package()
6926 dest.writeStringList(usesOptionalLibraries); in writeToParcel()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageBuilder.java45 pkg.usesOptionalLibraries = mOptionalLibraries; in build()
83 pkg.usesOptionalLibraries); in check()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java168 assertSame(deserialized.usesOptionalLibraries.get(0), in test_stringInterning()
169 deserialized2.usesOptionalLibraries.get(0)); in test_stringInterning()
259 assertEquals(a.usesOptionalLibraries, b.usesOptionalLibraries); in assertPackagesEqual()
485 pkg.usesOptionalLibraries = new ArrayList<>(); in setKnownFields()
486 pkg.usesOptionalLibraries.add("foo12"); in setKnownFields()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java4669 if (ps.pkg.usesOptionalLibraries != null in dumpPackageLPr()
4670 && ps.pkg.usesOptionalLibraries.size() > 0) { in dumpPackageLPr()
4672 for (int i=0; i<ps.pkg.usesOptionalLibraries.size(); i++) { in dumpPackageLPr()
4674 pw.println(ps.pkg.usesOptionalLibraries.get(i)); in dumpPackageLPr()
DPackageManagerService.java5118 || ArrayUtils.contains(ps.pkg.usesOptionalLibraries, libName)) { in getPackagesUsingSharedLibraryLPr()
9403 if (p.usesLibraries != null || p.usesOptionalLibraries != null
9427 if (p.usesOptionalLibraries != null) {
9428 findSharedNonSystemLibrariesRecursive(p.usesOptionalLibraries,
9748 if (pkg.usesOptionalLibraries != null) {
9749 usesLibraryFiles = addSharedLibrariesLPw(pkg.usesOptionalLibraries,
9877 && !hasString(pkg.usesOptionalLibraries, changingPkg.libraryNames)
/frameworks/base/config/
Dhiddenapi-light-greylist.txt1730 Landroid/content/pm/PackageParser$Package;->usesOptionalLibraries:Ljava/util/ArrayList;