Home
last modified time | relevance | path

Searched refs:baseCodePath (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/android/content/om/
DOverlayInfo.java125 public final String baseCodePath; field in OverlayInfo
161 this(source.packageName, source.targetPackageName, source.category, source.baseCodePath, in OverlayInfo()
166 @NonNull String category, @NonNull String baseCodePath, int state, int userId, in OverlayInfo() argument
171 this.baseCodePath = baseCodePath; in OverlayInfo()
183 baseCodePath = source.readString(); in OverlayInfo()
198 if (baseCodePath == null) { in ensureValidState()
226 dest.writeString(baseCodePath); in writeToParcel()
302 result = prime * result + ((baseCodePath == null) ? 0 : baseCodePath.hashCode()); in hashCode()
333 if (!baseCodePath.equals(other.baseCodePath)) { in equals()
/frameworks/base/services/core/java/com/android/server/om/
DIdmapManager.java74 Slog.d(TAG, "remove idmap for " + oi.baseCodePath); in removeIdmap()
77 mInstaller.removeIdmap(oi.baseCodePath); in removeIdmap()
79 Slog.w(TAG, "failed to remove idmap for " + oi.baseCodePath + ": " + e.getMessage()); in removeIdmap()
87 return new File(getIdmapPath(oi.baseCodePath)).isFile(); in idmapExists()
95 private String getIdmapPath(@NonNull final String baseCodePath) { in getIdmapPath() argument
97 sb.append(baseCodePath.substring(1).replace('/', '@')); in getIdmapPath()
DOverlayManagerSettings.java68 @NonNull final String targetPackageName, @NonNull final String baseCodePath, in init() argument
72 new SettingsItem(packageName, userId, targetPackageName, baseCodePath, in init()
389 final String baseCodePath = XmlUtils.readStringAttribute(parser, ATTR_BASE_CODE_PATH); in restoreRow() local
396 return new SettingsItem(packageName, userId, targetPackageName, baseCodePath, in restoreRow()
447 @NonNull final String targetPackageName, @NonNull final String baseCodePath, in SettingsItem() argument
453 mBaseCodePath = baseCodePath; in SettingsItem()
463 @NonNull final String targetPackageName, @NonNull final String baseCodePath, in SettingsItem() argument
465 this(packageName, userId, targetPackageName, baseCodePath, OverlayInfo.STATE_UNKNOWN, in SettingsItem()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexManager.java280 public void notifyPackageUpdated(String packageName, String baseCodePath, in notifyPackageUpdated() argument
282 cachePackageCodeLocation(packageName, baseCodePath, splitCodePaths, null, /*userId*/ -1); in notifyPackageUpdated()
323 private void cachePackageCodeLocation(String packageName, String baseCodePath, in cachePackageCodeLocation() argument
327 new PackageCodeLocations(packageName, baseCodePath, splitCodePaths)); in cachePackageCodeLocation()
331 pcl.updateCodeLocation(baseCodePath, splitCodePaths); in cachePackageCodeLocation()
752 logIfApkHasUncompressedCode(pkg.baseCodePath); in logIfPackageHasUncompressedCode()
830 public PackageCodeLocations(String packageName, String baseCodePath, in PackageCodeLocations() argument
835 updateCodeLocation(baseCodePath, splitCodePaths); in PackageCodeLocations()
838 public void updateCodeLocation(String baseCodePath, String[] splitCodePaths) { in updateCodeLocation() argument
839 mBaseCodePath = baseCodePath; in updateCodeLocation()
DDexoptUtils.java352 String baseCodePath = new File(info.getBaseCodePath()).getParent(); in getSplitRelativeCodePaths() local
360 if (!basePath.equals(baseCodePath)) { in getSplitRelativeCodePaths()
362 baseCodePath); in getSplitRelativeCodePaths()
DArtManagerService.java473 result.put(pkg.baseCodePath, ArtManager.getProfileName(null)); in getPackageProfileNames()
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/
DDexMetadataHelperTest.java108 String baseDexMetadata = packageDexMetadata.get(pkg.baseCodePath); in testParsePackageWithDmFileValid()
110 assertTrue(isDexMetadataForApk(baseDexMetadata, pkg.baseCodePath)); in testParsePackageWithDmFileValid()
124 String baseDexMetadata = packageDexMetadata.get(pkg.baseCodePath); in testParsePackageSplitsWithDmFileValid()
126 assertTrue(isDexMetadataForApk(baseDexMetadata, pkg.baseCodePath)); in testParsePackageSplitsWithDmFileValid()
/frameworks/base/core/java/android/content/pm/split/
DDefaultSplitAssetLoader.java45 mBaseCodePath = pkg.baseCodePath; in DefaultSplitAssetLoader()
DSplitAssetDependencyLoader.java54 mSplitPaths[0] = pkg.baseCodePath; in SplitAssetDependencyLoader()
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java276 String baseCodePath = cameraInfo.getBaseCodePath(); in pinCamera() local
279 files = DexFile.getDexFileOutputPaths(baseCodePath, arch); in pinCamera()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java209 assertEquals(a.baseCodePath, b.baseCodePath); in assertPackagesEqual()
443 pkg.baseCodePath = "foo5"; in setKnownFields()
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java244 copyFile(pkg.baseCodePath, target, "base.apk"); in copyPackageInner()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java409 public final String baseCodePath; field in PackageParser.PackageLite
438 this.baseCodePath = baseApk.codePath; in PackageLite()
452 paths.add(baseCodePath); in getAllCodePaths()
1234 final File baseApk = new File(lite.baseCodePath); in parseClusterPackage()
1263 "Failed to get path: " + lite.baseCodePath, e); in parseClusterPackage()
1492 collectCertificates(pkg, new File(pkg.baseCodePath), skipVerify); in collectCertificatesInternal()
2085 + pkg.baseCodePath+ ": overlay ignored due to required system property: " in parseBaseApkCommon()
6216 public String baseCodePath; field in PackageParser.Package
6427 public void setApplicationInfoBaseCodePath(String baseCodePath) { in setApplicationInfoBaseCodePath() argument
6428 this.applicationInfo.setBaseCodePath(baseCodePath); in setApplicationInfoBaseCodePath()
[all …]
DApplicationInfo.java1889 /** {@hide} */ public void setBaseCodePath(String baseCodePath) { sourceDir = baseCodePath; } in setBaseCodePath() argument
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java124 final String path = lite.baseCodePath; in createFd()
/frameworks/base/core/java/android/app/
DResourcesManager.java1106 final void applyNewResourceDirsLocked(@NonNull final String baseCodePath, in applyNewResourceDirsLocked() argument
1118 if (impl != null && (key.mResDir == null || key.mResDir.equals(baseCodePath))) { in applyNewResourceDirsLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java1337 String baseCodePath = null; in runSnapshotProfile() local
1345 baseCodePath = packageInfo.applicationInfo.getBaseCodePath(); in runSnapshotProfile()
1347 codePath = baseCodePath; in runSnapshotProfile()
1371 final String outputFileSuffix = isBootImage || Objects.equals(baseCodePath, codePath) in runSnapshotProfile()
DPackageManagerServiceUtils.java305 final File baseFile = new File(pkg.baseCodePath);
DPackageManagerService.java822 overlayPathList.add(overlayPackage.baseCodePath); in getStaticOverlayPaths()
832 mInstaller.idmap(targetPath, overlayPackage.baseCodePath, in getStaticOverlayPaths()
838 overlayPathList.add(overlayPackage.baseCodePath); in getStaticOverlayPaths()
841 overlayPackage.baseCodePath); in getStaticOverlayPaths()
2051 mProcessLoggingHandler.invalidateProcessLoggingBaseApkHash(res.pkg.baseCodePath); in handlePackagePostInstall()
3348 Slog.i(TAG, "No files to decompress: " + pkg.baseCodePath); in decompressPackage()
8635 if (!canSkipFullApkVerification(pkg.baseCodePath)) {
8704 pkg.setApplicationInfoBaseCodePath(pkg.baseCodePath);
8707 pkg.setApplicationInfoBaseResourcePath(pkg.baseCodePath);
9015 return pkg.baseCodePath + ".prof";
[all …]
/frameworks/base/config/
Dhiddenapi-private-dex.txt16446 Landroid/content/om/OverlayInfo;->baseCodePath:Ljava/lang/String;
18630 Landroid/content/pm/PackageParser$Package;->baseCodePath:Ljava/lang/String;
18737 Landroid/content/pm/PackageParser$PackageLite;->baseCodePath:Ljava/lang/String;