Home
last modified time | relevance | path

Searched refs:CentralDirectoryRecord (Results 1 – 6 of 6) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java24 import com.android.apksig.internal.zip.CentralDirectoryRecord;
240 List<CentralDirectoryRecord> inputCdRecords = in sign()
295 List<CentralDirectoryRecord> inputCdRecordsSortedByLfhOffset = in sign()
299 CentralDirectoryRecord.BY_LOCAL_FILE_HEADER_OFFSET_COMPARATOR); in sign()
304 Map<String, CentralDirectoryRecord> outputCdRecordsByName = in sign()
306 for (final CentralDirectoryRecord inputCdRecord : inputCdRecordsSortedByLfhOffset) { in sign()
406 CentralDirectoryRecord outputCdRecord; in sign()
430 List<CentralDirectoryRecord> outputCdRecords = new ArrayList<>(inputCdRecords.size() + 10); in sign()
431 for (CentralDirectoryRecord inputCdRecord : inputCdRecords) { in sign()
433 CentralDirectoryRecord outputCdRecord = outputCdRecordsByName.get(entryName); in sign()
[all …]
DApkVerifier.java29 import com.android.apksig.internal.zip.CentralDirectoryRecord;
431 List<CentralDirectoryRecord> cdRecords = in getAndroidManifestFromApk()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java44 import com.android.apksig.internal.zip.CentralDirectoryRecord;
122 List<CentralDirectoryRecord> cdRecords = parseZipCentralDirectory(apk, apkSections); in verify()
148 List<CentralDirectoryRecord> cdRecords, Result result) { in checkForDuplicateEntries()
151 for (CentralDirectoryRecord cdRecord : cdRecords) { in checkForDuplicateEntries()
217 List<CentralDirectoryRecord> cdRecords, in verify()
226 CentralDirectoryRecord manifestEntry = null; in verify()
227 Map<String, CentralDirectoryRecord> sigFileEntries = new HashMap<>(1); in verify()
228 List<CentralDirectoryRecord> sigBlockEntries = new ArrayList<>(1); in verify()
229 for (CentralDirectoryRecord cdRecord : cdRecords) { in verify()
279 for (CentralDirectoryRecord sigBlockEntry : sigBlockEntries) { in verify()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DCentralDirectoryRecord.java29 public class CentralDirectoryRecord { class
35 public static final Comparator<CentralDirectoryRecord> BY_LOCAL_FILE_HEADER_OFFSET_COMPARATOR =
57 private CentralDirectoryRecord( in CentralDirectoryRecord() method in CentralDirectoryRecord
130 public static CentralDirectoryRecord getRecord(ByteBuffer buf) throws ZipFormatException { in getRecord()
179 return new CentralDirectoryRecord( in getRecord()
197 public CentralDirectoryRecord createWithModifiedLocalFileHeaderOffset( in createWithModifiedLocalFileHeaderOffset()
204 return new CentralDirectoryRecord( in createWithModifiedLocalFileHeaderOffset()
218 public static CentralDirectoryRecord createWithDeflateCompressedData( in createWithDeflateCompressedData()
255 return new CentralDirectoryRecord( in createWithDeflateCompressedData()
290 implements Comparator<CentralDirectoryRecord> {
[all …]
DLocalFileRecord.java125 CentralDirectoryRecord cdRecord, in getRecord()
143 CentralDirectoryRecord cdRecord, in getRecord()
218 String name = CentralDirectoryRecord.getName(header, NAME_OFFSET, nameLength); in getRecord()
419 CentralDirectoryRecord cdRecord, in outputUncompressedData()
442 CentralDirectoryRecord cdRecord, in getUncompressedData()
/tools/apksig/src/main/java/com/android/apksig/apk/
DApkUtils.java22 import com.android.apksig.internal.zip.CentralDirectoryRecord;
288 List<CentralDirectoryRecord> cdRecords = in getAndroidManifest()
290 CentralDirectoryRecord androidManifestCdRecord = null; in getAndroidManifest()
291 for (CentralDirectoryRecord cdRecord : cdRecords) { in getAndroidManifest()