Home
last modified time | relevance | path

Searched refs:getBaseApkPath (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DTamperedUpdatedSystemPackageTest.kt156 val baseApkPath = getBaseApkPath(TEST_PKG_NAME) in detectApkTamperingAtBoot()
189 assertThat(getBaseApkPath(ANOTHER_PKG_NAME)).startsWith("/data/app/") in allowlistedPackageIsNotASystemApp()
192 assertThat(getBaseApkPath(ANOTHER_PKG_NAME)).startsWith("/data/app/") in allowlistedPackageIsNotASystemApp()
195 private fun getBaseApkPath(pkgName: String): String { in getBaseApkPath() method
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexMetadataHelperTest.java173 String baseDexMetadata = packageDexMetadata.get(pkg.getBaseApkPath()); in testParsePackageWithDmFileValid()
175 assertTrue(isDexMetadataForApk(baseDexMetadata, pkg.getBaseApkPath())); in testParsePackageWithDmFileValid()
192 String baseDexMetadata = packageDexMetadata.get(pkg.getBaseApkPath()); in testParsePackageSplitsWithDmFileValid()
194 assertTrue(isDexMetadataForApk(baseDexMetadata, pkg.getBaseApkPath())); in testParsePackageSplitsWithDmFileValid()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DApexManagerTest.java368 when(fakeApkInApex.getBaseApkPath()).thenReturn("/apex/" + TEST_APEX_PKG + "randomSuffix"); in testRegisterApkInApexDoesNotRegisterSimilarPrefix()
400 assertThat(newPkg.getBaseApkPath()).isEqualTo(finalApex.getAbsolutePath()); in testInstallPackage_activeOnSystem()
405 assertThat(factoryPkg.getBaseApkPath()).isEqualTo(activeApexInfo.modulePath); in testInstallPackage_activeOnSystem()
431 assertThat(newPkg.getBaseApkPath()).isEqualTo(finalApex.getAbsolutePath()); in testInstallPackage_activeOnData()
436 assertThat(factoryPkg.getBaseApkPath()).isEqualTo(factoryApexInfo.modulePath); in testInstallPackage_activeOnData()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageAbiHelperImpl.java159 pkg.getBaseApkPath(), isSystemApp, isUpdatedSystemApp); in deriveNativeLibraryPaths()
231 final String apkRoot = calculateBundledApkRoot(pkg.getBaseApkPath()); in getBundledAppAbis()
360 pkg.getBaseApkPath(), isSystemApp, in derivePackageAbi()
537 pkg.getPath(), pkg.getBaseApkPath(), isSystemApp, in derivePackageAbi()
DPackageDexOptimizer.java290 + " pkg.getBaseCodePath=" + pkg.getBaseApkPath() in performDexOptLI()
400 ArtStatsLogUtils.getApkType(path, pkg.getBaseApkPath(), in performDexOptLI()
DInstallPackageHelper.java1152 final String baseCodePath = request.getPkg().getBaseApkPath(); in installPackagesLI()
1783 updateDigest(digest, new File(parsedPackage.getBaseApkPath())); in preparePackageLI()
2022 afterCodeFile, parsedPackage.getBaseApkPath())); in doRenameLI()
2111 fsverityCandidates.put(pkg.getBaseApkPath(), in setUpFsVerity()
2112 VerityUtils.getFsveritySignatureFilePath(pkg.getBaseApkPath())); in setUpFsVerity()
2115 pkg.getBaseApkPath()); in setUpFsVerity()
2550 pkg.getBaseApkPath(), pkg.getSplitCodePaths()); in executePostCommitStepsLIF()
2877 mPm.mProcessLoggingHandler.invalidateBaseApkHash(request.getPkg().getBaseApkPath()); in handlePackagePostInstall()
3147 pkg.getBaseApkPath(), pkg.getSplitCodePaths()); in enableCompressedPackage()
DScanPackageUtils.java584 if (shouldHaveCode && !apkHasCode(pkg.getBaseApkPath())) { in assertCodePolicy()
586 "Package " + pkg.getBaseApkPath() + " code is missing"); in assertCodePolicy()
DPackageManagerServiceUtils.java268 final File baseFile = new File(pkg.getBaseApkPath());
1040 copyFile(pkg.getBaseApkPath(), targetDir, "base.apk"); in copyPackage()
DApexManager.java715 if (pkg.getBaseApkPath().startsWith( in registerApkInApex()
/frameworks/base/core/java/com/android/internal/pm/split/
DDefaultSplitAssetLoader.java45 mBaseApkPath = pkg.getBaseApkPath(); in DefaultSplitAssetLoader()
DSplitAssetDependencyLoader.java54 mSplitPaths[0] = pkg.getBaseApkPath(); in SplitAssetDependencyLoader()
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedProviderUtils.java273 + pkg.getBaseApkPath() + " " + parser.getPositionDescription()); in parseGrantUriPermission()
319 + name + " at " + pkg.getBaseApkPath() + " " in parsePathPermission()
368 + name + " at " + pkg.getBaseApkPath() in parsePathPermission()
DParsedMainComponentUtils.java130 Slog.w(TAG, "No actions in " + parser.getName() + " at " + pkg.getBaseApkPath() + " " in parseIntentFilter()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexoptUtils.java93 String baseApkName = new File(pkg.getBaseApkPath()).getName(); in getClassLoaderContexts()
405 String baseCodePath = new File(pkg.getBaseApkPath()).getParent(); in getSplitRelativeCodePaths()
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
DAndroidPackageUtils.java65 paths.add(pkg.getBaseApkPath()); in getAllCodePathsExcludingResourceOnly()
84 paths.add(pkg.getBaseApkPath()); in getAllCodePaths()
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingUtils.java84 + parser.getName() + " at " + pkg.getBaseApkPath() + " " in unknownTag()
DParsingPackage.java427 String getBaseApkPath(); in getBaseApkPath() method
DParsingPackageUtils.java370 final File baseApk = new File(lite.getBaseApkPath()); in parseClusterPackage()
458 lite.getBaseApkPath(), lite.getPath(), manifestArray, lite.isCoreApp()); in parsePackageFromPackageLite()
1627 + " at " + pkg.getBaseApkPath() + " "
2974 + pkg.getBaseApkPath()
3174 + pkg.getBaseApkPath() + " "
3204 return getSigningDetails(input, pkg.getBaseApkPath(), pkg.isStaticSharedLibrary(),
3211 return getSigningDetails(input, pkg.getBaseApkPath(), pkg.isStaticSharedLibrary(),
/frameworks/base/core/tests/coretests/src/com/android/internal/content/res/
DOverlayConfigIterationRule.java193 when(a.getBaseApkPath()).thenReturn(info.path.getPath()); in apply()
/frameworks/base/core/java/android/content/pm/parsing/
DPackageLite.java227 public @NonNull String getBaseApkPath() { in getBaseApkPath() method in PackageLite
/frameworks/base/core/java/com/android/internal/content/om/
DOverlayConfig.java101 String getBaseApkPath(); in getBaseApkPath() method
427 p.getOverlayPriority(), new File(p.getBaseApkPath()), in getOverlayPackageInfos()
/frameworks/base/core/java/com/android/server/pm/pkg/
DAndroidPackage.java744 String getBaseApkPath(); in getBaseApkPath() method
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageInfoCommonUtils.java467 info.sourceDir = pkg.getBaseApkPath(); in generateInstrumentationInfo()
468 info.publicSourceDir = pkg.getBaseApkPath(); in generateInstrumentationInfo()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java126 final String path = lite.getBaseApkPath(); in createFd()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DAndroidPackageTest.kt160 AndroidPackage::getBaseApkPath, in <lambda>()

12