Home
last modified time | relevance | path

Searched refs:ZFileOptions (Results 1 – 15 of 15) sorted by relevance

/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DAlignmentTest.java56 ZFileOptions options = new ZFileOptions(); in addAlignedFile()
72 ZFileOptions options = new ZFileOptions(); in addNonAlignedFile()
104 ZFileOptions options = new ZFileOptions();
140 ZFileOptions options = new ZFileOptions();
174 ZFileOptions options = new ZFileOptions();
205 ZFileOptions options = new ZFileOptions();
239 ZFileOptions options = new ZFileOptions();
252 ZFileOptions options = new ZFileOptions();
280 ZFileOptions options = new ZFileOptions();
308 ZFileOptions options = new ZFileOptions();
[all …]
DZFileReadOnlyTest.java38 new ZFile(new File(temporaryFolder.getRoot(), "foo.zip"), new ZFileOptions(), true); in cannotCreateRoFileOnNonExistingFile()
57 try (ZFile zf = new ZFile(makeTestZip(), new ZFileOptions(), true)) { in cannotUpdateInRoMode() argument
69 try (ZFile zf = new ZFile(makeTestZip(), new ZFileOptions(), true)) { in cannotAddFilesInRoMode() argument
82 try (ZFile zf = new ZFile(makeTestZip(), new ZFileOptions(), true)) { in cannotAddRecursivelyInRoMode() argument
94 try (ZFile zf = new ZFile(makeTestZip(), new ZFileOptions(), true)) { in cannotReplaceFilesInRoMode() argument
106 try (ZFile zf = new ZFile(makeTestZip(), new ZFileOptions(), true)) { in cannotDeleteFilesInRoMode() argument
121 try (ZFile zf = new ZFile(makeTestZip(), new ZFileOptions(), true)) { in cannotMergeInRoMode() argument
134 try (ZFile zf = new ZFile(makeTestZip(), new ZFileOptions(), true)) { in cannotTouchInRoMode() argument
146 try (ZFile zf = new ZFile(makeTestZip(), new ZFileOptions(), true)) { in cannotRealignInRoMode() argument
158 try (ZFile zf = new ZFile(makeTestZip(), new ZFileOptions(), true)) { in cannotAddExtensionInRoMode() argument
[all …]
DZFileSortTest.java65 private void setupZFile(@Nullable ZFileOptions options) throws Exception { in setupZFile()
75 options = new ZFileOptions(); in setupZFile()
145 ZFileOptions options = new ZFileOptions(); in autoSort()
190 ZFileOptions options = new ZFileOptions(); in sortFilesWithAlignment()
DZFileTest.java761 ZFileOptions options = new ZFileOptions(); in extraDirectoryOffsetNonEmptyFile()
1007 ZFileOptions options = new ZFileOptions(); in zipMemoryUsageIsZeroAfterClose()
1027 ZFileOptions options = new ZFileOptions(); in unusedZipAreasAreClearedOnWrite()
1066 ZFileOptions options = new ZFileOptions(); in deferredCompression()
1179 ZFileOptions coverOptions = new ZFileOptions(); in replaceVeryLargeFileWithBiggerInMiddleOfZip()
1224 ZFileOptions coverOptions = new ZFileOptions(); in regressionRepackingDoesNotFail()
1255 ZFileOptions zfo = new ZFileOptions(); in cannotAddMoreThan0x7fffExtraField()
1326 ZFileOptions zfo = new ZFileOptions(); in canAddMoreThan0x7fffExtraField()
1439 ZFileOptions options = new ZFileOptions(); in detectIncorrectCRC32InLocalHeader()
1479 ZFileOptions options = new ZFileOptions(); in detectIncorrectVersionToExtractInCentralDirectory()
[all …]
DReadWithDifferentCompressionLevelsTest.java33 try (ZFile read = new ZFile(l9File, new ZFileOptions())) { in readL9() argument
43 try (ZFile read = new ZFile(l1File, new ZFileOptions())) { in readL1() argument
DZipToolsTest.java149 ZFileOptions options = new ZFileOptions(); in testReadZFile()
DOldApkReadTest.java33 try (ZFile zf = new ZFile(apkFile, new ZFileOptions())) { in testReadOldApk() argument
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZFileOptions.java28 public class ZFileOptions { class
72 public ZFileOptions() { in ZFileOptions() method in ZFileOptions
108 public ZFileOptions setCompressor(@Nonnull Compressor compressor) { in setCompressor()
127 public ZFileOptions setNoTimestamps(boolean noTimestamps) { in setNoTimestamps()
147 public ZFileOptions setAlignmentRule(@Nonnull AlignmentRule alignmentRule) { in setAlignmentRule()
168 public ZFileOptions setCoverEmptySpaceUsingExtraField(boolean coverEmptySpaceUsingExtraField) { in setCoverEmptySpaceUsingExtraField()
189 public ZFileOptions setAutoSortFiles(boolean autoSortFiles) { in setAutoSortFiles()
199 public ZFileOptions setVerifyLogFactory(@Nonnull Supplier<VerifyLog> verifyLogFactory) { in setVerifyLogFactory()
DZFile.java434 this(file, new ZFileOptions()); in ZFile()
447 public ZFile(@Nonnull File file, @Nonnull ZFileOptions options) throws IOException { in ZFile()
463 public ZFile(@Nonnull File file, @Nonnull ZFileOptions options, boolean readOnly) in ZFile()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/compress/
DMultiCompressorTest.java28 import com.android.tools.build.apkzlib.zip.ZFileOptions;
108 ZFileOptions resultOptions = new ZFileOptions();
138 ZFileOptions resultOptions = new ZFileOptions();
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zfile/
DApkAlignmentTest.java27 import com.android.tools.build.apkzlib.zip.ZFileOptions;
45 ApkZFileCreatorFactory cf = new ApkZFileCreatorFactory(new ZFileOptions()); in soFilesUncompressedAndAligned()
98 ApkZFileCreatorFactory cf = new ApkZFileCreatorFactory(new ZFileOptions()); in soFilesMergedFromZipsCanBeUncompressedAndAligned()
142 ApkZFileCreatorFactory cf = new ApkZFileCreatorFactory(new ZFileOptions()); in soFilesUncompressedAndNotAligned()
195 ApkZFileCreatorFactory cf = new ApkZFileCreatorFactory(new ZFileOptions()); in soFilesMergedFromZipsCanBeUncompressedAndNotAligned()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zfile/
DApkZFileCreatorFactory.java19 import com.android.tools.build.apkzlib.zip.ZFileOptions;
33 private final ZFileOptions options;
40 public ApkZFileCreatorFactory(@Nonnull ZFileOptions options) { in ApkZFileCreatorFactory()
DZFiles.java24 import com.android.tools.build.apkzlib.zip.ZFileOptions;
65 public static ZFile apk(@Nonnull File f, @Nonnull ZFileOptions options) throws IOException { in apk()
94 @Nonnull ZFileOptions options, in apk()
DApkZFileCreator.java23 import com.android.tools.build.apkzlib.zip.ZFileOptions;
77 @Nonnull ZFileOptions options) in ApkZFileCreator()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DFullApkSignTest.java28 import com.android.tools.build.apkzlib.zip.ZFileOptions;
59 ZFileOptions options = new ZFileOptions(); in testSignature()