Searched refs:CompressionMethod (Results 1 – 11 of 11) sorted by relevance
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zfile/ |
D | ApkAlignmentTest.java | 24 import com.android.tools.build.apkzlib.zip.CompressionMethod; 68 CompressionMethod.STORE, in soFilesUncompressedAndAligned() 89 CompressionMethod.DEFLATE, in soFilesMergedFromZipsCanBeUncompressedAndAligned() 121 CompressionMethod.STORE, in soFilesMergedFromZipsCanBeUncompressedAndAligned() 165 CompressionMethod.DEFLATE, in soFilesUncompressedAndNotAligned() 186 CompressionMethod.DEFLATE, in soFilesMergedFromZipsCanBeUncompressedAndNotAligned() 218 CompressionMethod.DEFLATE, in soFilesMergedFromZipsCanBeUncompressedAndNotAligned()
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | ZipMergeTest.java | 108 assertEquals(CompressionMethod.DEFLATE, in mergeZipWithDeferredCrc() 118 assertEquals(CompressionMethod.DEFLATE, in mergeZipWithDeferredCrc() 145 assertEquals(CompressionMethod.DEFLATE, in mergeZipKeepsDeflatedAndStored() 149 assertEquals(CompressionMethod.STORE, in mergeZipKeepsDeflatedAndStored() 159 assertEquals(CompressionMethod.DEFLATE, in mergeZipKeepsDeflatedAndStored() 165 assertEquals(CompressionMethod.STORE, in mergeZipKeepsDeflatedAndStored()
|
D | ZFileTest.java | 652 assertEquals(CompressionMethod.DEFLATE, in addDirectoryRecursively() 658 assertEquals(CompressionMethod.DEFLATE, in addDirectoryRecursively() 671 assertEquals(CompressionMethod.STORE, in addDirectoryRecursively() 677 assertEquals(CompressionMethod.STORE, in addDirectoryRecursively() 686 assertEquals(CompressionMethod.DEFLATE, in addDirectoryRecursively()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | CentralDirectoryHeaderCompressInfo.java | 41 private final CompressionMethod mMethod; 62 @Nonnull CompressionMethod method, in CentralDirectoryHeaderCompressInfo() 78 @Nonnull CompressionMethod method, long compressedSize) { in CentralDirectoryHeaderCompressInfo() 82 if (header.getName().endsWith("/") || method == CompressionMethod.DEFLATE) { in CentralDirectoryHeaderCompressInfo() 107 public CompressionMethod getMethod() { in getMethod()
|
D | CompressionMethod.java | 24 public enum CompressionMethod { enum 45 CompressionMethod(int methodCode) { in CompressionMethod() method in CompressionMethod 56 static CompressionMethod fromCode(long code) { in fromCode() 57 for (CompressionMethod method : values()) { in fromCode()
|
D | CompressionResult.java | 31 private final CompressionMethod compressionMethod; 51 public CompressionResult(@Nonnull CloseableByteSource source, @Nonnull CompressionMethod method, in CompressionResult() 64 public CompressionMethod getCompressionMethod() { in getCompressionMethod()
|
D | ZFile.java | 1733 CompressionMethod.STORE, source.size())); in createSources() 1946 boolean isCompressed = compressionInfo.getMethod() != CompressionMethod.STORE; in chooseAlignment() 2040 if (fromCompressInfo.getMethod() == CompressionMethod.DEFLATE) { in mergeFrom() 2189 if (compressInfo.getMethod() == CompressionMethod.DEFLATE) { in realign()
|
D | CentralDirectory.java | 295 CompressionMethod method = CompressionMethod.fromCode(methodCode); in readEntry()
|
D | StoredEntry.java | 607 if (compressInfo.getMethod() == CompressionMethod.DEFLATE) { in createSourcesFromRawContents()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/compress/ |
D | DeflateExecutionCompressor.java | 19 import com.android.tools.build.apkzlib.zip.CompressionMethod; 76 return new CompressionResult(source, CompressionMethod.STORE, source.size()); in immediateCompress() 78 return new CompressionResult(result, CompressionMethod.DEFLATE, result.size()); in immediateCompress()
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/compress/ |
D | MultiCompressorTest.java | 25 import com.android.tools.build.apkzlib.zip.CompressionMethod; 73 assertEquals(CompressionMethod.STORE, ci.getMethod()); in storeIsBest() 91 assertEquals(CompressionMethod.DEFLATE, ci.getMethod()); in sameCompressionResultButBetterThanStore()
|