Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DArtStatsLogUtilsTest.java98 Path dexMetadataPath = null; in testProfileAndVdexDexMetadata() local
101 dexMetadataPath = createDexMetadata(PROFILE_DEX_METADATA, VDEX_DEX_METADATA); in testProfileAndVdexDexMetadata()
102 apk = zipFiles(".apk", DEX, NON_DEX, dexMetadataPath); in testProfileAndVdexDexMetadata()
111 dexMetadataPath.toString(), in testProfileAndVdexDexMetadata()
122 deleteSliently(dexMetadataPath); in testProfileAndVdexDexMetadata()
130 Path dexMetadataPath = null; in testProfileOnlyDexMetadata() local
133 dexMetadataPath = createDexMetadata(PROFILE_DEX_METADATA); in testProfileOnlyDexMetadata()
134 apk = zipFiles(".apk", DEX, NON_DEX, dexMetadataPath); in testProfileOnlyDexMetadata()
143 dexMetadataPath.toString(), in testProfileOnlyDexMetadata()
154 deleteSliently(dexMetadataPath); in testProfileOnlyDexMetadata()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/dex/
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()
/frameworks/base/core/java/android/content/pm/dex/
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()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java340 String dexMetadataPath = null; in performDexOptLI() local
343 dexMetadataPath = dexMetadataFile == null in performDexOptLI()
359 if (prepareCloudProfile(pkg, cloudProfileName, path, dexMetadataPath)) { in performDexOptLI()
384 packageStats, options.isDowngrade(), profileName, dexMetadataPath, in performDexOptLI()
397 dexMetadataPath, in performDexOptLI()
443 @Nullable String dexMetadataPath) throws LegacyDexoptDisabledException { in prepareCloudProfile() argument
444 if (dexMetadataPath != null) { in prepareCloudProfile()
470 String dexMetadataPath, int compilationReason) throws LegacyDexoptDisabledException { in dexOptPath() argument
495 pkg.getTargetSdkVersion(), profileName, dexMetadataPath, in dexOptPath()
496 getAugmentedReasonName(compilationReason, dexMetadataPath != null)); in dexOptPath()
DOtaDexoptService.java303 @Nullable String dexMetadataPath, @Nullable String dexoptCompilationReason) in generatePackageDexopts()
332 encodeParameter(builder, dexMetadataPath); in generatePackageDexopts()
DInstaller.java599 @Nullable String profileName, @Nullable String dexMetadataPath, in dexopt() argument
/frameworks/native/cmds/installd/
Ddexopt.h128 const char* dexMetadataPath, const char* compilation_reason, std::string* error_msg,
DInstalldNativeService.h143 const std::optional<std::string>& dexMetadataPath,
DInstalldNativeService.cpp3275 const std::optional<std::string>& dexMetadataPath, in dexopt() argument
3282 CHECK_ARGUMENT_PATH(dexMetadataPath); in dexopt()
3300 const char* dm_path = getCStr(dexMetadataPath); in dexopt()
/frameworks/native/cmds/installd/binder/android/os/
DIInstalld.aidl68 @nullable @utf8InCpp String dexMetadataPath, in dexopt() argument