Home
last modified time | relevance | path

Searched refs:jarFile (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/dex/
DArtStatsLogUtils.java195 StrictJarFile jarFile = null; in getDexBytes() local
198 jarFile = new StrictJarFile(apkPath, in getDexBytes()
201 Iterator<ZipEntry> it = jarFile.iterator(); in getDexBytes()
217 if (jarFile != null) { in getDexBytes()
218 jarFile.close(); in getDexBytes()
229 StrictJarFile jarFile = null; in getDexMetadataType() local
231 jarFile = new StrictJarFile(dexMetadataPath, in getDexMetadataType()
234 boolean hasProfile = findFileName(jarFile, PROFILE_DEX_METADATA); in getDexMetadataType()
235 boolean hasVdex = findFileName(jarFile, VDEX_DEX_METADATA); in getDexMetadataType()
254 if (jarFile != null) { in getDexMetadataType()
[all …]
DDexManager.java938 StrictJarFile jarFile = null; in auditUncompressedDexInApk() local
940 jarFile = new StrictJarFile(fileName, in auditUncompressedDexInApk()
942 Iterator<ZipEntry> it = jarFile.iterator(); in auditUncompressedDexInApk()
964 if (jarFile != null) { in auditUncompressedDexInApk()
965 jarFile.close(); in auditUncompressedDexInApk()
/frameworks/base/core/java/android/util/apk/
DApkSignatureVerifier.java357 StrictJarFile jarFile = null; in verifyV1Signature() local
367 jarFile = new StrictJarFile( in verifyV1Signature()
375 final ZipEntry manifestEntry = jarFile.findEntry( in verifyV1Signature()
381 lastCerts = loadCertificates(jarFile, manifestEntry); in verifyV1Signature()
391 final Iterator<ZipEntry> i = jarFile.iterator(); in verifyV1Signature()
404 final Certificate[][] entryCerts = loadCertificates(jarFile, entry); in verifyV1Signature()
431 closeQuietly(jarFile); in verifyV1Signature()
435 private static Certificate[][] loadCertificates(StrictJarFile jarFile, ZipEntry entry) in loadCertificates() argument
441 is = jarFile.getInputStream(entry); in loadCertificates()
443 return jarFile.getCertificateChains(entry); in loadCertificates()
[all …]
/frameworks/base/core/java/android/content/pm/dex/
DDexMetadataHelper.java191 StrictJarFile jarFile = null; in validateDexMetadataFile() local
199 jarFile = new StrictJarFile(dmaPath, false, false); in validateDexMetadataFile()
200 validateDexMetadataManifest(dmaPath, jarFile, packageName, versionCode, in validateDexMetadataFile()
206 if (jarFile != null) { in validateDexMetadataFile()
208 jarFile.close(); in validateDexMetadataFile()
216 private static void validateDexMetadataManifest(String dmaPath, StrictJarFile jarFile, in validateDexMetadataManifest() argument
227 ZipEntry zipEntry = jarFile.findEntry("manifest.json"); in validateDexMetadataManifest()
232 InputStream inputStream = jarFile.getInputStream(zipEntry); in validateDexMetadataManifest()
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DProtoLogGroupReader.kt26 val jarFile = File(jarPath) in <lambda>() constant
27 val url = jarFile.toURI().toURL() in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java14597 StrictJarFile jarFile = null;
14599 jarFile = new StrictJarFile(fileName,
14601 return jarFile.findEntry("classes.dex") != null;
14605 if (jarFile != null) {
14606 jarFile.close();