Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/
DDefaultApkSignerEngine.java470 private boolean isDebuggable(String entryName) { in isDebuggable() argument
472 || !ApkUtils.ANDROID_MANIFEST_ZIP_ENTRY_NAME.equals(entryName); in isDebuggable()
497 String entryName = entry.getKey(); in initWith() local
499 && isDebuggable(entryName)) { in initWith()
512 mOutputJarEntryDigests.put(entryName, extractedDigest.digest); in initWith()
541 public InputJarEntryInstructions inputJarEntry(String entryName) { in inputJarEntry() argument
545 getInputJarEntryOutputPolicy(entryName); in inputJarEntry()
552 if (V1SchemeSigner.MANIFEST_ENTRY_NAME.equals(entryName)) { in inputJarEntry()
555 mInputJarManifestEntryDataRequest = new GetJarEntryDataRequest(entryName); in inputJarEntry()
568 public InspectJarEntryRequest outputJarEntry(String entryName) { in outputJarEntry() argument
[all …]
DApkSignerEngine.java162 InputJarEntryInstructions inputJarEntry(String entryName) throws IllegalStateException; in inputJarEntry() argument
180 InspectJarEntryRequest outputJarEntry(String entryName) throws IllegalStateException; in outputJarEntry() argument
192 InputJarEntryInstructions.OutputPolicy inputJarEntryRemoved(String entryName) in inputJarEntryRemoved() argument
201 void outputJarEntryRemoved(String entryName) throws IllegalStateException; in outputJarEntryRemoved() argument
DApkSigner.java332 String entryName = inputCdRecord.getName(); in sign() local
333 if (Hints.PIN_BYTE_RANGE_ZIP_ENTRY_NAME.equals(entryName)) { in sign()
336 if (SOURCE_STAMP_CERTIFICATE_HASH_ZIP_ENTRY_NAME.equals(entryName)) { in sign()
347 signerEngine.inputJarEntry(entryName); in sign()
402 inspectEntryRequest = signerEngine.outputJarEntry(entryName); in sign()
449 outputCdRecordsByName.put(entryName, outputCdRecord); in sign()
467 String entryName = inputCdRecord.getName(); in sign() local
468 CentralDirectoryRecord outputCdRecord = outputCdRecordsByName.get(entryName); in sign()
513 String entryName = entry.getName(); in sign() local
517 signerEngine.outputJarEntry(entryName); in sign()
[all …]
/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/apk/v1/
DV1SchemeVerifier.java152 String entryName = cdRecord.getName(); in checkForDuplicateEntries() local
153 if (!cdEntryNames.add(entryName)) { in checkForDuplicateEntries()
158 if (duplicateCdEntryNames.add(entryName)) { in checkForDuplicateEntries()
159 result.addError(Issue.JAR_SIG_DUPLICATE_ZIP_ENTRY, entryName); in checkForDuplicateEntries()
186 String entryName = manifestSection.getName(); in parseManifest() local
187 if (entryName == null) { in parseManifest()
191 if (entryNameToManifestSection.put(entryName, manifestSection) != null) { in parseManifest()
192 result.addError(Issue.JAR_SIG_DUPLICATE_MANIFEST_SECTION, entryName); in parseManifest()
195 if (!cdEntryNames.contains(entryName)) { in parseManifest()
197 Issue.JAR_SIG_MISSING_ZIP_ENTRY_REFERENCED_IN_MANIFEST, entryName); in parseManifest()
[all …]
DV1SchemeSigner.java182 public static boolean isJarEntryDigestNeededInManifest(String entryName) { in isJarEntryDigestNeededInManifest() argument
186 if (entryName.endsWith("/")) { in isJarEntryDigestNeededInManifest()
191 if (!entryName.startsWith("META-INF/")) { in isJarEntryDigestNeededInManifest()
195 if (entryName.indexOf('/', "META-INF/".length()) != -1) { in isJarEntryDigestNeededInManifest()
207 entryName.substring("META-INF/".length()).toLowerCase(Locale.US); in isJarEntryDigestNeededInManifest()
366 for (String entryName : sortedEntryNames) { in generateManifestFile()
367 checkEntryNameValid(entryName); in generateManifestFile()
368 byte[] entryDigest = jarEntryDigests.get(entryName); in generateManifestFile()
376 ManifestWriter.writeIndividualSection(sectionOut, entryName, entryAttrs); in generateManifestFile()
382 invidualSectionsContents.put(entryName, sectionBytes); in generateManifestFile()
/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/tradefederation/core/src/com/android/tradefed/util/
DClassPathScanner.java121 String entryName = e.nextElement().getName(); in getEntriesFromJar() local
122 if (filter.accept(entryName)) { in getEntriesFromJar()
123 entryNames.put(filter.transform(entryName), plainFile.getName()); in getEntriesFromJar()
125 entryName = null; in getEntriesFromJar()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationDef.java245 String entryName = objClassEntry.getKey(); in createConfiguration() local
263 matcher = MULTI_PATTERN.matcher(entryName); in createConfiguration()
284 if (Configuration.doesBuiltInObjSupportMultiDevice(entryName)) { in createConfiguration()
317 config.setConfigurationObjectList(entryName, objectList); in createConfiguration()
/tools/tradefederation/core/res/jacoco/
Djacocoagent.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/jacoco/ org/ ...
Djacocoant.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/jacoco/ org/ ...
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...