Home
last modified time | relevance | path

Searched refs:parsePackage (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DParallelPackageParser.java117 pr.pkg = parsePackage(pp, scanFile, parseFlags); in submit()
136 protected PackageParser.Package parsePackage(PackageParser packageParser, File scanFile, in parsePackage() method in ParallelPackageParser
138 return packageParser.parsePackage(scanFile, parseFlags, true /* useCaches */); in parsePackage()
DApexManager.java347 pkg = pp.parsePackage(apexFile, flags, false); in populateAllPackagesCacheIfNeeded()
DInstantAppRegistry.java1051 return parsePackage(parser, packageName); in parseMetadata()
1057 private static InstantAppInfo parsePackage(@NonNull XmlPullParser parser, in parsePackage() method in InstantAppRegistry
DStagingManager.java192 pkg = pp.parsePackage(apexFile, flags, false); in submitSessionToApexService()
DPackageManagerService.java9111 pkg = pp.parsePackage(scanFile, parseFlags);
11995 ppkg = pp.parsePackage(previousPkg.codePath,
16794 pkg = pp.parsePackage(tmpPackageFile, parseFlags);
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/
DDexMetadataHelperTest.java98 Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageWithDmFileValid()
114 Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageSplitsWithDmFileValid()
133 Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageSplitsNoBaseWithDmFileValid()
149 PackageParser.Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageWithDmFileInvalid()
166 PackageParser.Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageSplitsWithDmFileInvalid()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageParserTest.java303 Package parsePackage(String apkFileName, int apkResourceId) throws Exception { in parsePackage() method in PackageParserTest
304 return parsePackage(apkFileName, apkResourceId, p -> p); in parsePackage()
337 Package parsePackage(String apkFileName, int apkResourceId, in parsePackage() method in PackageParserTest
343 return converter.apply(new PackageParser().parsePackage(outFile, 0 /* flags */)); in parsePackage()
420 Package p = parsePackage( in checkPackageWithComponents()
469 Package parent = parsePackage("install_multi_package.apk", R.raw.install_multi_package); in testMultiPackageComponents()
513 Package p = pp.parsePackage(apexFile, flags, false); in testApexPackageInfoGeneration()
DPackageManagerTests.java330 private PackageParser.Package parsePackage(Uri packageURI) throws PackageParserException { in parsePackage() method in PackageManagerTests
690 PackageParser.Package pkg = parsePackage(packageURI); in getParsedPackage()
2458 PackageParser.Package pkg = parsePackage(packageURI); in testCheckSignaturesUnknown()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java81 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in testParse_noCache()
86 pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in testParse_noCache()
101 pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, true /* useCaches */); in testParse_withCache()
105 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in testParse_withCache()
111 pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, false /* useCaches */); in testParse_withCache()
117 pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, true /* useCaches */); in testParse_withCache()
120 pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, false /* useCaches */); in testParse_withCache()
129 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in test_serializePackage()
DParallelPackageParserTest.java77 protected PackageParser.Package parsePackage(PackageParser packageParser, File scanFile, in parsePackage() method in ParallelPackageParserTest.TestParallelPackageParser
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageUtil.java60 return parser.parsePackage(sourceFile, 0); in getPackageInfo()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h2116 status_t parsePackage(
/frameworks/base/tools/aapt/
DResource.cpp51 status_t parsePackage(const sp<AaptGroup>& grp);
220 static status_t parsePackage(Bundle* bundle, const sp<AaptAssets>& assets, in parsePackage() function
1267 status_t err = parsePackage(bundle, assets, androidManifestFile); in buildResources()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1056 public Package parsePackage(File packageFile, int flags, boolean useCaches) in parsePackage() method in PackageParser
1087 public Package parsePackage(File packageFile, int flags) throws PackageParserException { in parsePackage() method in PackageParser
1088 return parsePackage(packageFile, flags, false /* useCaches */); in parsePackage()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4207 if (parsePackage( in addInternal()
6562 status_t ResTable::parsePackage(const ResTable_package* const pkg, in parsePackage() function in android::ResTable
/frameworks/base/config/
Dboot-image-profile.txt4396 HSPLandroid/content/pm/PackageParser;->parsePackage(Ljava/io/File;I)Landroid/content/pm/PackagePars…
4397 HSPLandroid/content/pm/PackageParser;->parsePackage(Ljava/io/File;IZ)Landroid/content/pm/PackagePar…
/frameworks/base/services/
Dart-profile11283 HSPLcom/android/server/pm/ParallelPackageParser;->parsePackage(Landroid/content/pm/PackageParser;Lj…