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/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/
DApkSigner.java24 import com.android.apksig.internal.zip.CentralDirectoryRecord;
237 List<CentralDirectoryRecord> inputCdRecords = in sign()
288 List<CentralDirectoryRecord> inputCdRecordsSortedByLfhOffset = in sign()
292 CentralDirectoryRecord.BY_LOCAL_FILE_HEADER_OFFSET_COMPARATOR); in sign()
297 Map<String, CentralDirectoryRecord> outputCdRecordsByName = in sign()
299 for (final CentralDirectoryRecord inputCdRecord : inputCdRecordsSortedByLfhOffset) { in sign()
374 CentralDirectoryRecord outputCdRecord; in sign()
398 List<CentralDirectoryRecord> outputCdRecords = new ArrayList<>(inputCdRecords.size() + 10); in sign()
399 for (CentralDirectoryRecord inputCdRecord : inputCdRecords) { in sign()
401 CentralDirectoryRecord outputCdRecord = outputCdRecordsByName.get(entryName); in sign()
[all …]
DApkVerifier.java29 import com.android.apksig.internal.zip.CentralDirectoryRecord;
407 List<CentralDirectoryRecord> cdRecords = in getAndroidManifestFromApk()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java42 import com.android.apksig.internal.zip.CentralDirectoryRecord;
120 List<CentralDirectoryRecord> cdRecords = parseZipCentralDirectory(apk, apkSections); in verify()
146 List<CentralDirectoryRecord> cdRecords, Result result) { in checkForDuplicateEntries()
149 for (CentralDirectoryRecord cdRecord : cdRecords) { in checkForDuplicateEntries()
177 List<CentralDirectoryRecord> cdRecords, in verify()
186 CentralDirectoryRecord manifestEntry = null; in verify()
187 Map<String, CentralDirectoryRecord> sigFileEntries = new HashMap<>(1); in verify()
188 List<CentralDirectoryRecord> sigBlockEntries = new ArrayList<>(1); in verify()
189 for (CentralDirectoryRecord cdRecord : cdRecords) { in verify()
253 for (CentralDirectoryRecord sigBlockEntry : sigBlockEntries) { in verify()
[all …]
/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()