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.java594 StrictJarFile jarFile = null; in auditUncompressedDexInApk() local
596 jarFile = new StrictJarFile(fileName, in auditUncompressedDexInApk()
598 Iterator<ZipEntry> it = jarFile.iterator(); in auditUncompressedDexInApk()
620 if (jarFile != null) { in auditUncompressedDexInApk()
621 jarFile.close(); in auditUncompressedDexInApk()
/frameworks/base/core/java/android/content/pm/dex/
DDexMetadataHelper.java190 StrictJarFile jarFile = null; in validateDexMetadataFile() local
198 jarFile = new StrictJarFile(dmaPath, false, false); in validateDexMetadataFile()
199 return validateDexMetadataManifest(input, dmaPath, jarFile, packageName, versionCode, in validateDexMetadataFile()
204 if (jarFile != null) { in validateDexMetadataFile()
206 jarFile.close(); in validateDexMetadataFile()
215 StrictJarFile jarFile, String packageName, long versionCode, boolean requireManifest) in validateDexMetadataManifest() argument
225 ZipEntry zipEntry = jarFile.findEntry("manifest.json"); in validateDexMetadataManifest()
230 InputStream inputStream = jarFile.getInputStream(zipEntry); in validateDexMetadataManifest()
/frameworks/base/core/java/android/util/apk/
DApkSignatureVerifier.java422 StrictJarFile jarFile = null; in verifyV1Signature() local
432 jarFile = new StrictJarFile( in verifyV1Signature()
440 final ZipEntry manifestEntry = jarFile.findEntry( in verifyV1Signature()
447 loadCertificates(input, jarFile, manifestEntry); in verifyV1Signature()
461 final Iterator<ZipEntry> i = jarFile.iterator(); in verifyV1Signature()
476 loadCertificates(input, jarFile, entry); in verifyV1Signature()
507 closeQuietly(jarFile); in verifyV1Signature()
512 StrictJarFile jarFile, ZipEntry entry) { in loadCertificates() argument
517 is = jarFile.getInputStream(entry); in loadCertificates()
519 return input.success(jarFile.getCertificateChains(entry)); in loadCertificates()
[all …]
/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/
DScanPackageUtils.java790 StrictJarFile jarFile = null; in apkHasCode() local
792 jarFile = new StrictJarFile(fileName, in apkHasCode()
794 return jarFile.findEntry("classes.dex") != null; in apkHasCode()
798 if (jarFile != null) { in apkHasCode()
799 jarFile.close(); in apkHasCode()