Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DLocalFileRecord.java125 CentralDirectoryRecord cdRecord, in getRecord() argument
129 cdRecord, in getRecord()
143 CentralDirectoryRecord cdRecord, in getRecord() argument
150 String entryName = cdRecord.getName(); in getRecord()
151 int cdRecordEntryNameSizeBytes = cdRecord.getNameSizeBytes(); in getRecord()
153 long headerStartOffset = cdRecord.getLocalFileHeaderOffset(); in getRecord()
178 (cdRecord.getGpFlags() & ZipUtils.GP_FLAG_DATA_DESCRIPTOR_USED) != 0; in getRecord()
185 long uncompressedDataCrc32FromCdRecord = cdRecord.getCrc32(); in getRecord()
186 long compressedDataSizeFromCdRecord = cdRecord.getCompressedSize(); in getRecord()
187 long uncompressedDataSizeFromCdRecord = cdRecord.getUncompressedSize(); in getRecord()
[all …]
DZipUtils.java287 CentralDirectoryRecord cdRecord; in parseZipCentralDirectory() local
290 cdRecord = CentralDirectoryRecord.getRecord(cd); in parseZipCentralDirectory()
297 String entryName = cdRecord.getName(); in parseZipCentralDirectory()
302 cdRecords.add(cdRecord); in parseZipCentralDirectory()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java154 for (CentralDirectoryRecord cdRecord : cdRecords) { in checkForDuplicateEntries()
155 String entryName = cdRecord.getName(); in checkForDuplicateEntries()
232 for (CentralDirectoryRecord cdRecord : cdRecords) { in verify()
233 String entryName = cdRecord.getName(); in verify()
239 manifestEntry = cdRecord; in verify()
243 sigFileEntries.put(entryName, cdRecord); in verify()
249 sigBlockEntries.add(cdRecord); in verify()
401 for (CentralDirectoryRecord cdRecord : cdRecords) { in verify()
402 String entryName = cdRecord.getName(); in verify()
1306 for (CentralDirectoryRecord cdRecord : cdRecordsSortedByLocalFileHeaderOffset) { in verifyJarEntriesAgainstManifestAndSigners()
[all …]
/tools/apksig/src/main/java/com/android/apksig/
DSourceStampVerifier.java170 for (CentralDirectoryRecord cdRecord : cdRecords) { in verifySourceStamp()
171 if (SOURCE_STAMP_CERTIFICATE_HASH_ZIP_ENTRY_NAME.equals(cdRecord.getName())) { in verifySourceStamp()
172 sourceStampCdRecord = cdRecord; in verifySourceStamp()
437 for (CentralDirectoryRecord cdRecord : cdRecords) { in getApkContentDigestFromV1SigningScheme()
438 String cdRecordName = cdRecord.getName(); in getApkContentDigestFromV1SigningScheme()
443 manifestCdRecord = cdRecord; in getApkContentDigestFromV1SigningScheme()
450 signatureBlockRecords.add(cdRecord); in getApkContentDigestFromV1SigningScheme()
DApkSigner.java874 CentralDirectoryRecord cdRecord; in parseZipCentralDirectory() local
877 cdRecord = CentralDirectoryRecord.getRecord(cd); in parseZipCentralDirectory()
886 String entryName = cdRecord.getName(); in parseZipCentralDirectory()
891 cdRecords.add(cdRecord); in parseZipCentralDirectory()
906 for (CentralDirectoryRecord cdRecord : cdRecords) { in findCdRecord()
907 if (name.equals(cdRecord.getName())) { in findCdRecord()
908 return cdRecord; in findCdRecord()
DApkVerifier.java349 for (CentralDirectoryRecord cdRecord : cdRecords) { in verify()
351 cdRecord.getName())) { in verify()
352 sourceStampCdRecord = cdRecord; in verify()
725 for (CentralDirectoryRecord cdRecord : cdRecords) { in verifySourceStamp()
726 if (SOURCE_STAMP_CERTIFICATE_HASH_ZIP_ENTRY_NAME.equals(cdRecord.getName())) { in verifySourceStamp()
727 sourceStampCdRecord = cdRecord; in verifySourceStamp()
988 for (CentralDirectoryRecord cdRecord : cdRecords) { in getApkContentDigestFromV1SigningScheme()
989 if (MANIFEST_ENTRY_NAME.equals(cdRecord.getName())) { in getApkContentDigestFromV1SigningScheme()
990 manifestCdRecord = cdRecord; in getApkContentDigestFromV1SigningScheme()
/tools/apksig/src/main/java/com/android/apksig/apk/
DApkUtils.java180 for (CentralDirectoryRecord cdRecord : cdRecords) { in getAndroidManifest()
181 if (ANDROID_MANIFEST_ZIP_ENTRY_NAME.equals(cdRecord.getName())) { in getAndroidManifest()
182 androidManifestCdRecord = cdRecord; in getAndroidManifest()
/tools/apksig/src/test/java/com/android/apksig/
DApkSignerTest.java1230 for (CentralDirectoryRecord cdRecord : cdRecords) { in testSignApk_stampFile()
1231 if (SOURCE_STAMP_CERTIFICATE_HASH_ZIP_ENTRY_NAME.equals(cdRecord.getName())) { in testSignApk_stampFile()
1232 stampCdRecord = cdRecord; in testSignApk_stampFile()