Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
H A DArtStatsLogUtilsTest.java98 Path dexMetadataPath = null; in testProfileAndVdexDexMetadata() local
111 dexMetadataPath.toString(), in testProfileAndVdexDexMetadata()
122 deleteSliently(dexMetadataPath); in testProfileAndVdexDexMetadata()
130 Path dexMetadataPath = null; in testProfileOnlyDexMetadata() local
143 dexMetadataPath.toString(), in testProfileOnlyDexMetadata()
154 deleteSliently(dexMetadataPath); in testProfileOnlyDexMetadata()
162 Path dexMetadataPath = null; in testVdexOnlyDexMetadata() local
175 dexMetadataPath.toString(), in testVdexOnlyDexMetadata()
186 deleteSliently(dexMetadataPath); in testVdexOnlyDexMetadata()
223 Path dexMetadataPath = null; in testUnKnownDexMetadata() local
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/pm/dex/
H A DArtStatsLogUtils.java147 String dexMetadataPath, in writeStatsLog() argument
153 int dexMetadataType = getDexMetadataType(dexMetadataPath); in writeStatsLog()
227 private static int getDexMetadataType(String dexMetadataPath) { in getDexMetadataType() argument
228 if (dexMetadataPath == null) { in getDexMetadataType()
233 jarFile = new StrictJarFile(dexMetadataPath, in getDexMetadataType()
252 Slog.e(TAG, "Error when parsing dex metadata " + dexMetadataPath); in getDexMetadataType()
H A DArtManagerService.java476 String dexMetadataPath = null; in prepareAppProfiles() local
482 dexMetadataPath = dexMetadata == null ? null : dexMetadata.getAbsolutePath(); in prepareAppProfiles()
486 profileName, codePath, dexMetadataPath); in prepareAppProfiles()
/aosp14/frameworks/base/core/java/android/content/pm/dex/
H A DDexMetadataHelper.java106 String dexMetadataPath = buildDexMetadataPathForFile(targetFile); in findDexMetadataForFile() local
107 File dexMetadataFile = new File(dexMetadataPath); in findDexMetadataForFile()
139 String dexMetadataPath = buildDexMetadataPathForFile(new File(codePath)); in buildPackageApkToDexMetadataMap() local
141 if (Files.exists(Paths.get(dexMetadataPath))) { in buildPackageApkToDexMetadataMap()
142 result.put(codePath, dexMetadataPath); in buildPackageApkToDexMetadataMap()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageDexOptimizer.java356 String dexMetadataPath = null; in performDexOptLI() local
359 dexMetadataPath = dexMetadataFile == null in performDexOptLI()
375 if (prepareCloudProfile(pkg, cloudProfileName, path, dexMetadataPath)) { in performDexOptLI()
400 packageStats, options.isDowngrade(), profileName, dexMetadataPath, in performDexOptLI()
413 dexMetadataPath, in performDexOptLI()
462 @Nullable String dexMetadataPath) throws LegacyDexoptDisabledException { in prepareCloudProfile() argument
463 if (dexMetadataPath != null) { in prepareCloudProfile()
478 profileName, path, dexMetadataPath); in prepareCloudProfile() local
503 String dexMetadataPath, int compilationReason) throws LegacyDexoptDisabledException { in dexOptPath() argument
528 pkg.getTargetSdkVersion(), profileName, dexMetadataPath, in dexOptPath()
[all …]
H A DInstaller.java624 @Nullable String profileName, @Nullable String dexMetadataPath, in dexopt() argument
631 BlockGuard.getVmPolicy().onPathAccess(dexMetadataPath); in dexopt()
636 targetSdkVersion, profileName, dexMetadataPath, compilationReason); in dexopt()
985 String profileName, String codePath, String dexMetadataPath) in prepareAppProfile() argument
990 BlockGuard.getVmPolicy().onPathAccess(dexMetadataPath); in prepareAppProfile()
993 dexMetadataPath); in prepareAppProfile()
H A DOtaDexoptService.java301 @Nullable String dexMetadataPath, @Nullable String dexoptCompilationReason) in generatePackageDexopts()
333 encodeParameter(builder, dexMetadataPath); in generatePackageDexopts()