/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/ |
D | TamperedUpdatedSystemPackageTest.kt | 156 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/ |
D | DexMetadataHelperTest.java | 173 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/ |
D | ApexManagerTest.java | 368 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/ |
D | PackageAbiHelperImpl.java | 159 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()
|
D | PackageDexOptimizer.java | 290 + " pkg.getBaseCodePath=" + pkg.getBaseApkPath() in performDexOptLI() 400 ArtStatsLogUtils.getApkType(path, pkg.getBaseApkPath(), in performDexOptLI()
|
D | InstallPackageHelper.java | 1152 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()
|
D | ScanPackageUtils.java | 584 if (shouldHaveCode && !apkHasCode(pkg.getBaseApkPath())) { in assertCodePolicy() 586 "Package " + pkg.getBaseApkPath() + " code is missing"); in assertCodePolicy()
|
D | PackageManagerServiceUtils.java | 268 final File baseFile = new File(pkg.getBaseApkPath()); 1040 copyFile(pkg.getBaseApkPath(), targetDir, "base.apk"); in copyPackage()
|
D | ApexManager.java | 715 if (pkg.getBaseApkPath().startsWith( in registerApkInApex()
|
/frameworks/base/core/java/com/android/internal/pm/split/ |
D | DefaultSplitAssetLoader.java | 45 mBaseApkPath = pkg.getBaseApkPath(); in DefaultSplitAssetLoader()
|
D | SplitAssetDependencyLoader.java | 54 mSplitPaths[0] = pkg.getBaseApkPath(); in SplitAssetDependencyLoader()
|
/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ParsedProviderUtils.java | 273 + pkg.getBaseApkPath() + " " + parser.getPositionDescription()); in parseGrantUriPermission() 319 + name + " at " + pkg.getBaseApkPath() + " " in parsePathPermission() 368 + name + " at " + pkg.getBaseApkPath() in parsePathPermission()
|
D | ParsedMainComponentUtils.java | 130 Slog.w(TAG, "No actions in " + parser.getName() + " at " + pkg.getBaseApkPath() + " " in parseIntentFilter()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DexoptUtils.java | 93 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/ |
D | AndroidPackageUtils.java | 65 paths.add(pkg.getBaseApkPath()); in getAllCodePathsExcludingResourceOnly() 84 paths.add(pkg.getBaseApkPath()); in getAllCodePaths()
|
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/ |
D | ParsingUtils.java | 84 + parser.getName() + " at " + pkg.getBaseApkPath() + " " in unknownTag()
|
D | ParsingPackage.java | 427 String getBaseApkPath(); in getBaseApkPath() method
|
D | ParsingPackageUtils.java | 370 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/ |
D | OverlayConfigIterationRule.java | 193 when(a.getBaseApkPath()).thenReturn(info.path.getPath()); in apply()
|
/frameworks/base/core/java/android/content/pm/parsing/ |
D | PackageLite.java | 227 public @NonNull String getBaseApkPath() { in getBaseApkPath() method in PackageLite
|
/frameworks/base/core/java/com/android/internal/content/om/ |
D | OverlayConfig.java | 101 String getBaseApkPath(); in getBaseApkPath() method 427 p.getOverlayPriority(), new File(p.getBaseApkPath()), in getOverlayPackageInfos()
|
/frameworks/base/core/java/com/android/server/pm/pkg/ |
D | AndroidPackage.java | 744 String getBaseApkPath(); in getBaseApkPath() method
|
/frameworks/base/core/java/com/android/internal/pm/parsing/ |
D | PackageInfoCommonUtils.java | 467 info.sourceDir = pkg.getBaseApkPath(); in generateInstrumentationInfo() 468 info.publicSourceDir = pkg.getBaseApkPath(); in generateInstrumentationInfo()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | NativeLibraryHelper.java | 126 final String path = lite.getBaseApkPath(); in createFd()
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/ |
D | AndroidPackageTest.kt | 160 AndroidPackage::getBaseApkPath, in <lambda>()
|