Home
last modified time | relevance | path

Searched refs:dmaPath (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/content/pm/dex/
DDexMetadataHelper.java181 public static ParseResult validateDexMetadataFile(ParseInput input, String dmaPath, in validateDexMetadataFile() argument
183 return validateDexMetadataFile(input, dmaPath, packageName, versionCode, in validateDexMetadataFile()
188 public static ParseResult validateDexMetadataFile(ParseInput input, String dmaPath, in validateDexMetadataFile() argument
193 Log.v(TAG, "validateDexMetadataFile: " + dmaPath + ", " + packageName + in validateDexMetadataFile()
198 jarFile = new StrictJarFile(dmaPath, false, false); in validateDexMetadataFile()
199 return validateDexMetadataManifest(input, dmaPath, jarFile, packageName, versionCode, in validateDexMetadataFile()
202 return input.error(INSTALL_FAILED_BAD_DEX_METADATA, "Error opening " + dmaPath, e); in validateDexMetadataFile()
214 private static ParseResult validateDexMetadataManifest(ParseInput input, String dmaPath, in validateDexMetadataManifest() argument
219 Log.v(TAG, "validateDexMetadataManifest: " + dmaPath in validateDexMetadataManifest()
228 "Missing manifest.json in " + dmaPath); in validateDexMetadataManifest()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexMetadataHelperTest.java433 private static boolean isDexMetadataForApk(String dmaPath, String apkPath) { in isDexMetadataForApk() argument
435 dmaPath.substring(0, dmaPath.length() - DEX_METADATA_FILE_EXTENSION.length())); in isDexMetadataForApk()