Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DPackageParser.java811 private static Certificate[][] loadCertificates(StrictJarFile jarFile, ZipEntry entry) in loadCertificates() argument
817 is = jarFile.getInputStream(entry); in loadCertificates()
819 return jarFile.getCertificateChains(entry); in loadCertificates()
822 "Failed reading " + entry.getName() + " in " + jarFile, e); in loadCertificates()
1607 StrictJarFile jarFile = null; in collectCertificates() local
1615 jarFile = new StrictJarFile( in collectCertificates()
1622 final ZipEntry manifestEntry = jarFile.findEntry(ANDROID_MANIFEST_FILENAME); in collectCertificates()
1640 final Iterator<ZipEntry> i = jarFile.iterator(); in collectCertificates()
1658 final Certificate[][] entryCerts = loadCertificates(jarFile, entry); in collectCertificates()
1690 closeQuietly(jarFile); in collectCertificates()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java10786 StrictJarFile jarFile = null; in apkHasCode() local
10788 jarFile = new StrictJarFile(fileName, in apkHasCode()
10790 return jarFile.findEntry("classes.dex") != null; in apkHasCode()
10794 if (jarFile != null) { in apkHasCode()
10795 jarFile.close(); in apkHasCode()