Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
H A DArtStatsLogUtilsTest.java95 Path dexMetadataPath = null; in testProfileAndVdexDexMetadata() local
108 dexMetadataPath.toString(), in testProfileAndVdexDexMetadata()
119 deleteSliently(dexMetadataPath); in testProfileAndVdexDexMetadata()
127 Path dexMetadataPath = null; in testProfileOnlyDexMetadata() local
140 dexMetadataPath.toString(), in testProfileOnlyDexMetadata()
151 deleteSliently(dexMetadataPath); in testProfileOnlyDexMetadata()
159 Path dexMetadataPath = null; in testVdexOnlyDexMetadata() local
172 dexMetadataPath.toString(), in testVdexOnlyDexMetadata()
183 deleteSliently(dexMetadataPath); in testVdexOnlyDexMetadata()
220 Path dexMetadataPath = null; in testUnKnownDexMetadata() local
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/pm/dex/
H A DArtStatsLogUtils.java145 String dexMetadataPath, in writeStatsLog() argument
151 int dexMetadataType = getDexMetadataType(dexMetadataPath); in writeStatsLog()
225 private static int getDexMetadataType(String dexMetadataPath) { in getDexMetadataType() argument
226 if (dexMetadataPath == null) { in getDexMetadataType()
231 jarFile = new StrictJarFile(dexMetadataPath, in getDexMetadataType()
250 Slog.e(TAG, "Error when parsing dex metadata " + dexMetadataPath); in getDexMetadataType()
H A DArtManagerService.java416 String dexMetadataPath = null; in prepareAppProfiles() local
422 dexMetadataPath = dexMetadata == null ? null : dexMetadata.getAbsolutePath(); in prepareAppProfiles()
426 profileName, codePath, dexMetadataPath); in prepareAppProfiles()
/aosp12/frameworks/base/core/java/android/content/pm/dex/
H A DDexMetadataHelper.java105 String dexMetadataPath = buildDexMetadataPathForFile(targetFile); in findDexMetadataForFile() local
106 File dexMetadataFile = new File(dexMetadataPath); in findDexMetadataForFile()
138 String dexMetadataPath = buildDexMetadataPathForFile(new File(codePath)); in buildPackageApkToDexMetadataMap() local
140 if (Files.exists(Paths.get(dexMetadataPath))) { in buildPackageApkToDexMetadataMap()
141 result.put(codePath, dexMetadataPath); in buildPackageApkToDexMetadataMap()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageDexOptimizer.java279 String dexMetadataPath = null; in performDexOptLI() local
282 dexMetadataPath = dexMetadataFile == null in performDexOptLI()
304 packageStats, options.isDowngrade(), profileName, dexMetadataPath, in performDexOptLI()
318 dexMetadataPath, in performDexOptLI()
354 String profileName, String dexMetadataPath, int compilationReason) { in dexOptPath() argument
380 profileName, dexMetadataPath, in dexOptPath()
381 getAugmentedReasonName(compilationReason, dexMetadataPath != null)); in dexOptPath()
H A DInstaller.java494 @Nullable String profileName, @Nullable String dexMetadataPath, in dexopt() argument
499 BlockGuard.getVmPolicy().onPathAccess(dexMetadataPath); in dexopt()
504 targetSdkVersion, profileName, dexMetadataPath, compilationReason); in dexopt()
795 String profileName, String codePath, String dexMetadataPath) throws InstallerException { in prepareAppProfile() argument
798 BlockGuard.getVmPolicy().onPathAccess(dexMetadataPath); in prepareAppProfile()
801 dexMetadataPath); in prepareAppProfile()
H A DOtaDexoptService.java295 @Nullable String dexMetadataPath, @Nullable String dexoptCompilationReason) in generatePackageDexopts()
318 encodeParameter(builder, dexMetadataPath); in generatePackageDexopts()
/aosp12/frameworks/native/cmds/installd/
H A Ddexopt.h128 const char* dexMetadataPath, const char* compilation_reason, std::string* error_msg);
H A DInstalldNativeService.h119 const std::optional<std::string>& dexMetadataPath,
H A DInstalldNativeService.cpp2416 const std::optional<std::string>& dexMetadataPath, in dexopt() argument
2425 CHECK_ARGUMENT_PATH(dexMetadataPath); in dexopt()
2442 const char* dm_path = getCStr(dexMetadataPath); in dexopt()
/aosp12/frameworks/native/cmds/installd/binder/android/os/
H A DIInstalld.aidl65 @nullable @utf8InCpp String dexMetadataPath, in dexopt() argument