Home
last modified time | relevance | path

Searched refs:entryName (Results 1 – 8 of 8) sorted by relevance

/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DSigningExtension.java169 String entryName = entry.getCentralDirectoryHeader().getName(); in register()
170 return () -> onZipEntryRemovedFromOutput(entryName); in register()
246 String entryName = entry.getCentralDirectoryHeader().getName(); in onZipEntryOutput() local
253 signer.outputJarEntry(entryName); in onZipEntryOutput()
254 signerProcessedOutputEntryNames.add(entryName); in onZipEntryOutput()
262 private void onZipEntryRemovedFromOutput(@Nonnull String entryName) { in onZipEntryRemovedFromOutput() argument
264 signer.outputJarEntryRemoved(entryName); in onZipEntryRemovedFromOutput()
265 signerProcessedOutputEntryNames.remove(entryName); in onZipEntryRemovedFromOutput()
278 String entryName = entry.getCentralDirectoryHeader().getName(); in onOutputZipReadyForUpdate() local
279 unprocessedRemovedEntryNames.remove(entryName); in onOutputZipReadyForUpdate()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DLocalFileRecord.java150 String entryName = cdRecord.getName(); in getRecord() local
157 "Local File Header of " + entryName + " extends beyond start of Central" in getRecord()
165 throw new IOException("Failed to read Local File Header of " + entryName, e); in getRecord()
172 "Not a Local File Header record for entry " + entryName + ". Signature: 0x" in getRecord()
182 + " Directory for entry " + entryName in getRecord()
193 + entryName + ". LFH: " + crc32 in getRecord()
200 + " for entry " + entryName + ". LFH: " + compressedSize in getRecord()
207 + " for entry " + entryName + ". LFH: " + uncompressedSize in getRecord()
215 + entryName + ". LFH: " + nameLength in getRecord()
219 if (!entryName.equals(name)) { in getRecord()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java150 String entryName = cdRecord.getName(); in checkForDuplicateEntries() local
151 if (!cdEntryNames.add(entryName)) { in checkForDuplicateEntries()
156 if (duplicateCdEntryNames.add(entryName)) { in checkForDuplicateEntries()
157 result.addError(Issue.JAR_SIG_DUPLICATE_ZIP_ENTRY, entryName); in checkForDuplicateEntries()
190 String entryName = cdRecord.getName(); in verify() local
191 if (!entryName.startsWith("META-INF/")) { in verify()
194 if ((manifestEntry == null) && (MANIFEST_ENTRY_NAME.equals(entryName))) { in verify()
198 if (entryName.endsWith(".SF")) { in verify()
199 sigFileEntries.put(entryName, cdRecord); in verify()
202 if ((entryName.endsWith(".RSA")) in verify()
[all …]
DV1SchemeSigner.java188 public static boolean isJarEntryDigestNeededInManifest(String entryName) { in isJarEntryDigestNeededInManifest() argument
192 if (entryName.endsWith("/")) { in isJarEntryDigestNeededInManifest()
197 if (!entryName.startsWith("META-INF/")) { in isJarEntryDigestNeededInManifest()
201 if (entryName.indexOf('/', "META-INF/".length()) != -1) { in isJarEntryDigestNeededInManifest()
213 entryName.substring("META-INF/".length()).toLowerCase(Locale.US); in isJarEntryDigestNeededInManifest()
372 for (String entryName : sortedEntryNames) { in generateManifestFile()
373 checkEntryNameValid(entryName); in generateManifestFile()
374 byte[] entryDigest = jarEntryDigests.get(entryName); in generateManifestFile()
382 ManifestWriter.writeIndividualSection(sectionOut, entryName, entryAttrs); in generateManifestFile()
388 invidualSectionsContents.put(entryName, sectionBytes); in generateManifestFile()
/tools/tradefederation/core/src/com/android/tradefed/util/
DClassPathScanner.java118 String entryName = e.nextElement().getName(); in getEntriesFromJar() local
119 if (filter.accept(entryName)) { in getEntriesFromJar()
120 entryNames.add(filter.transform(entryName)); in getEntriesFromJar()
122 entryName = null; in getEntriesFromJar()
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java300 String entryName = inputCdRecord.getName(); in sign() local
302 signerEngine.inputJarEntry(entryName); in sign()
357 inspectEntryRequest = signerEngine.outputJarEntry(entryName); in sign()
382 outputCdRecordsByName.put(entryName, outputCdRecord); in sign()
400 String entryName = inputCdRecord.getName(); in sign() local
401 CentralDirectoryRecord outputCdRecord = outputCdRecordsByName.get(entryName); in sign()
418 String entryName = entry.getName(); in sign() local
426 signerEngine.outputJarEntry(entryName); in sign()
436 entryName, in sign()
447 entryName, in sign()
[all …]
/tools/tradefederation/core/res/jacoco/
Djacocoagent.jarMETA-INF/MANIFEST.MF META-INF/MTNMINDS.SF META-INF/MTNMINDS ...
Djacocoant.jarMETA-INF/MANIFEST.MF META-INF/MTNMINDS.SF META-INF/MTNMINDS ...