Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java671 ByteBuffer cd = apk.getByteBuffer(cdOffset, (int) cdSizeBytes); in getZipCentralDirectory() local
672 cd.order(ByteOrder.LITTLE_ENDIAN); in getZipCentralDirectory()
673 return cd; in getZipCentralDirectory()
677 ByteBuffer cd, in parseZipCentralDirectory() argument
685 int offsetInsideCd = cd.position(); in parseZipCentralDirectory()
687 cdRecord = CentralDirectoryRecord.getRecord(cd); in parseZipCentralDirectory()
701 if (cd.hasRemaining()) { in parseZipCentralDirectory()
703 "Unused space at the end of ZIP Central Directory: " + cd.remaining() in parseZipCentralDirectory()
704 + " bytes starting at file offset " + (cdOffset + cd.position())); in parseZipCentralDirectory()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileTest.java876 byte[][] cd = new byte[1][]; in obtainingCDAndEocdWhenEntriesWrittenOnEmptyZip()
883 cd[0] = zip.getCentralDirectoryBytes(); in obtainingCDAndEocdWhenEntriesWrittenOnEmptyZip()
889 assertNotNull(cd[0]); in obtainingCDAndEocdWhenEntriesWrittenOnEmptyZip()
890 assertEquals(0, cd[0].length); in obtainingCDAndEocdWhenEntriesWrittenOnEmptyZip()
899 byte[][] cd = new byte[1][]; in obtainingCDAndEocdWhenEntriesWrittenOnNonEmptyZip()
907 cd[0] = zip.getCentralDirectoryBytes(); in obtainingCDAndEocdWhenEntriesWrittenOnNonEmptyZip()
917 assertNotNull(cd[0]); in obtainingCDAndEocdWhenEntriesWrittenOnNonEmptyZip()
918 assertEquals(46 + 3, cd[0].length); in obtainingCDAndEocdWhenEntriesWrittenOnNonEmptyZip()
/tools/test/connectivity/acts/tests/google/bt/pts/instructions/
DMCAP_PTS_INSTRUCTIONS24 cd system/bt/tools/mcap_tool
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java1749 ByteBuffer cd = apk.getByteBuffer(cdOffset, (int) cdSizeBytes); in parseZipCentralDirectory() local
1750 cd.order(ByteOrder.LITTLE_ENDIAN); in parseZipCentralDirectory()
1757 int offsetInsideCd = cd.position(); in parseZipCentralDirectory()
1759 cdRecord = CentralDirectoryRecord.getRecord(cd); in parseZipCentralDirectory()
/tools/test/connectivity/acts/
DREADME.md78 cd framework/tests/ \
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZFile.java1448 CentralDirectory cd = directoryEntry.getStore(); in getCentralDirectoryBytes() local
1449 Preconditions.checkNotNull(cd, "cd == null"); in getCentralDirectoryBytes()
1450 return cd.toBytes(); in getCentralDirectoryBytes()