Searched refs:ZFileTestConstants (Results 1 – 4 of 4) sorted by relevance
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | AlignmentTest.java | 329 ZFileTestConstants.LOCAL_HEADER_SIZE + "first.u".length() + 1024, 368 int fixedLh = ZFileTestConstants.LOCAL_HEADER_SIZE + 3; 386 int fixedLh = ZFileTestConstants.LOCAL_HEADER_SIZE + 3; 420 ZFileTestConstants.LOCAL_HEADER_SIZE + "f.u".length(), 448 ZFileTestConstants.LOCAL_HEADER_SIZE + "f.b".length(), 481 ZFileTestConstants.LOCAL_HEADER_SIZE 514 int recognizable1Start = ZFileTestConstants.LOCAL_HEADER_SIZE + "begin.u".length(); 520 3 * ZFileTestConstants.LOCAL_HEADER_SIZE 810 long fooOffset = ZFileTestConstants.LOCAL_HEADER_SIZE + fooName.length() + 7; 826 long barStartOffset = ZFileTestConstants.LOCAL_HEADER_SIZE + barName.length() + 6; [all …]
|
D | ZFileTest.java | 722 assertEquals(ZFileTestConstants.EOCD_SIZE, zipNoOffset.getEocdSize()); in extraDirectoryOffsetEmptyFile() 726 assertEquals(ZFileTestConstants.EOCD_SIZE, zipWithOffset.getEocdSize()); in extraDirectoryOffsetEmptyFile() 784 assertEquals(ZFileTestConstants.LOCAL_HEADER_SIZE + 1 + 2, in extraDirectoryOffsetNonEmptyFile() 787 assertEquals(ZFileTestConstants.CENTRAL_DIRECTORY_ENTRY_SIZE + 1, cdSize); in extraDirectoryOffsetNonEmptyFile() 788 assertEquals(ZFileTestConstants.LOCAL_HEADER_SIZE + 1 + 2 + cdSize, in extraDirectoryOffsetNonEmptyFile() 790 assertEquals(ZFileTestConstants.EOCD_SIZE, zipNoOffset.getEocdSize()); in extraDirectoryOffsetNonEmptyFile() 791 assertEquals(ZFileTestConstants.LOCAL_HEADER_SIZE + 1 + 2 + 37, in extraDirectoryOffsetNonEmptyFile() 794 assertEquals(ZFileTestConstants.LOCAL_HEADER_SIZE + 1 + 2 + 37 + cdSize, in extraDirectoryOffsetNonEmptyFile() 796 assertEquals(ZFileTestConstants.EOCD_SIZE, zipWithOffset.getEocdSize()); in extraDirectoryOffsetNonEmptyFile() 804 int p1Size = ZFileTestConstants.LOCAL_HEADER_SIZE + 1 + 2; in extraDirectoryOffsetNonEmptyFile() [all …]
|
D | ZFileTestConstants.java | 22 public interface ZFileTestConstants { interface
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/ |
D | FullApkSignTest.java | 29 import com.android.tools.build.apkzlib.zip.ZFileTestConstants; 79 int f1DataStart = ZFileTestConstants.LOCAL_HEADER_SIZE + f1Name.length(); in testSignature() 81 int f2DataStart = f1DataEnd + ZFileTestConstants.LOCAL_HEADER_SIZE + f2Name.length(); in testSignature()
|