/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | ArtStatsLogUtilsTest.java | 95 Path dexMetadataPath = null; in testProfileAndVdexDexMetadata() local 98 dexMetadataPath = createDexMetadata(PROFILE_DEX_METADATA, VDEX_DEX_METADATA); in testProfileAndVdexDexMetadata() 99 apk = zipFiles(".apk", DEX, NON_DEX, dexMetadataPath); in testProfileAndVdexDexMetadata() 108 dexMetadataPath.toString(), in testProfileAndVdexDexMetadata() 119 deleteSliently(dexMetadataPath); in testProfileAndVdexDexMetadata() 127 Path dexMetadataPath = null; in testProfileOnlyDexMetadata() local 130 dexMetadataPath = createDexMetadata(PROFILE_DEX_METADATA); in testProfileOnlyDexMetadata() 131 apk = zipFiles(".apk", DEX, NON_DEX, dexMetadataPath); in testProfileOnlyDexMetadata() 140 dexMetadataPath.toString(), in testProfileOnlyDexMetadata() 151 deleteSliently(dexMetadataPath); in testProfileOnlyDexMetadata() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | ArtStatsLogUtils.java | 145 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()
|
D | ArtManagerService.java | 416 String dexMetadataPath = null; in prepareAppProfiles() local 422 dexMetadataPath = dexMetadata == null ? null : dexMetadata.getAbsolutePath(); in prepareAppProfiles() 426 profileName, codePath, dexMetadataPath); in prepareAppProfiles()
|
/frameworks/base/core/java/android/content/pm/dex/ |
D | DexMetadataHelper.java | 105 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()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageDexOptimizer.java | 245 String dexMetadataPath = null; in performDexOptLI() local 248 dexMetadataPath = dexMetadataFile == null in performDexOptLI() 270 packageStats, options.isDowngrade(), profileName, dexMetadataPath, in performDexOptLI() 284 dexMetadataPath, in performDexOptLI() 320 String profileName, String dexMetadataPath, int compilationReason) { in dexOptPath() argument 346 profileName, dexMetadataPath, in dexOptPath() 347 getAugmentedReasonName(compilationReason, dexMetadataPath != null)); in dexOptPath()
|
D | Installer.java | 494 @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()
|
D | OtaDexoptService.java | 295 @Nullable String dexMetadataPath, @Nullable String dexoptCompilationReason) in generatePackageDexopts() 318 encodeParameter(builder, dexMetadataPath); in generatePackageDexopts()
|
/frameworks/native/cmds/installd/ |
D | dexopt.h | 128 const char* dexMetadataPath, const char* compilation_reason, std::string* error_msg);
|
D | InstalldNativeService.h | 119 const std::optional<std::string>& dexMetadataPath,
|
D | InstalldNativeService.cpp | 2403 const std::optional<std::string>& dexMetadataPath, in dexopt() argument 2412 CHECK_ARGUMENT_PATH(dexMetadataPath); in dexopt() 2429 const char* dm_path = getCStr(dexMetadataPath); in dexopt()
|
/frameworks/native/cmds/installd/binder/android/os/ |
D | IInstalld.aidl | 65 @nullable @utf8InCpp String dexMetadataPath, in dexopt() argument
|