Home
last modified time | relevance | path

Searched refs:manifestEntry (Results 1 – 3 of 3) sorted by relevance

/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DJarSigningTest.java63 StoredEntry manifestEntry = verifyZFile.get("META-INF/MANIFEST.MF"); in signEmptyJar() local
64 assertNotNull(manifestEntry); in signEmptyJar()
66 Manifest manifest = new Manifest(new ByteArrayInputStream(manifestEntry.read())); in signEmptyJar()
92 StoredEntry manifestEntry = zf3.get("META-INF/MANIFEST.MF"); in signJarWithPrexistingSimpleTextFilePre18() local
93 assertNotNull(manifestEntry); in signJarWithPrexistingSimpleTextFilePre18()
95 Manifest manifest = new Manifest(new ByteArrayInputStream(manifestEntry.read())); in signJarWithPrexistingSimpleTextFilePre18()
114 byte[] manifestTextBytes = manifestEntry.read(); in signJarWithPrexistingSimpleTextFilePre18()
149 StoredEntry manifestEntry = zf3.get("META-INF/MANIFEST.MF"); in signJarWithPrexistingSimpleTextFilePos18() local
150 assertNotNull(manifestEntry); in signJarWithPrexistingSimpleTextFilePos18()
152 Manifest manifest = new Manifest(new ByteArrayInputStream(manifestEntry.read())); in signJarWithPrexistingSimpleTextFilePos18()
[all …]
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DManifestGenerationExtension.java181 StoredEntry manifestEntry = zFile.get(MANIFEST_NAME); in rebuildManifest() local
183 if (manifestEntry != null) { in rebuildManifest()
190 byte[] manifestBytes = manifestEntry.read(); in rebuildManifest()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java229 CentralDirectoryRecord manifestEntry = null; in verify() local
237 if ((manifestEntry == null) && (V1SchemeConstants.MANIFEST_ENTRY_NAME.equals( in verify()
239 manifestEntry = cdRecord; in verify()
253 if (manifestEntry == null) { in verify()
262 LocalFileRecord.getUncompressedData(apk, manifestEntry, cdStartOffset); in verify()
264 throw new ApkFormatException("Malformed ZIP entry: " + manifestEntry.getName(), e); in verify()
396 signatureEntryNames.add(manifestEntry.getName()); in verify()