Home
last modified time | relevance | path

Searched refs:cdRecord (Results 1 – 6 of 6) 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 …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java151 for (CentralDirectoryRecord cdRecord : cdRecords) { in checkForDuplicateEntries()
152 String entryName = cdRecord.getName(); in checkForDuplicateEntries()
229 for (CentralDirectoryRecord cdRecord : cdRecords) { in verify()
230 String entryName = cdRecord.getName(); in verify()
235 manifestEntry = cdRecord; in verify()
239 sigFileEntries.put(entryName, cdRecord); in verify()
245 sigBlockEntries.add(cdRecord); in verify()
392 for (CentralDirectoryRecord cdRecord : cdRecords) { in verify()
393 String entryName = cdRecord.getName(); in verify()
1255 CentralDirectoryRecord cdRecord; in parseZipCentralDirectory() local
[all …]
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java841 CentralDirectoryRecord cdRecord; in parseZipCentralDirectory() local
844 cdRecord = CentralDirectoryRecord.getRecord(cd); in parseZipCentralDirectory()
853 String entryName = cdRecord.getName(); in parseZipCentralDirectory()
858 cdRecords.add(cdRecord); in parseZipCentralDirectory()
873 for (CentralDirectoryRecord cdRecord : cdRecords) { in findCdRecord()
874 if (name.equals(cdRecord.getName())) { in findCdRecord()
875 return cdRecord; in findCdRecord()
DApkVerifier.java341 for (CentralDirectoryRecord cdRecord : cdRecords) { in verify()
343 cdRecord.getName())) { in verify()
344 sourceStampCdRecord = cdRecord; in verify()
618 for (CentralDirectoryRecord cdRecord : cdRecords) { in getApkContentDigestFromV1SigningScheme()
619 if (MANIFEST_ENTRY_NAME.equals(cdRecord.getName())) { in getApkContentDigestFromV1SigningScheme()
620 manifestCdRecord = cdRecord; in getApkContentDigestFromV1SigningScheme()
/tools/apksig/src/main/java/com/android/apksig/apk/
DApkUtils.java296 for (CentralDirectoryRecord cdRecord : cdRecords) { in getAndroidManifest()
297 if (ANDROID_MANIFEST_ZIP_ENTRY_NAME.equals(cdRecord.getName())) { in getAndroidManifest()
298 androidManifestCdRecord = cdRecord; in getAndroidManifest()
/tools/apksig/src/test/java/com/android/apksig/
DApkSignerTest.java1023 for (CentralDirectoryRecord cdRecord : cdRecords) { in testSignApk_stampFile()
1024 if (SOURCE_STAMP_CERTIFICATE_HASH_ZIP_ENTRY_NAME.equals(cdRecord.getName())) { in testSignApk_stampFile()
1025 stampCdRecord = cdRecord; in testSignApk_stampFile()