Home
last modified time | relevance | path

Searched refs:getCompressionLevel (Results 1 – 8 of 8) sorted by relevance

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/gzip/
DGzipCompressorOutputStream.java83 this.deflater = new Deflater(parameters.getCompressionLevel(), true); in GzipCompressorOutputStream()
100 final int compressionLevel = parameters.getCompressionLevel(); in writeHeader()
DGzipParameters.java37 public int getCompressionLevel() { in getCompressionLevel() method in GzipParameters
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
DDeflateCompressorTest.java100 Assert.assertEquals(Deflater.DEFAULT_COMPRESSION, compressor.getCompressionLevel());
167 Assert.assertEquals(level, compressor.getCompressionLevel());
254 Assert.assertNotEquals(7, compressor.getCompressionLevel()); // Ensure test is valid
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/deflate/
DDeflateParameters.java59 public int getCompressionLevel() { in getCompressionLevel() method in DeflateParameters
DDeflateCompressorOutputStream.java53 … this.deflater = new Deflater(parameters.getCompressionLevel(), !parameters.withZlibHeader()); in DeflateCompressorOutputStream()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/deflate/
DDeflateParametersTest.java30 Assert.assertEquals(5, p.getCompressionLevel()); in shouldBeAbleToSetCompressionLevel()
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
DDeflateCompressor.java94 public int getCompressionLevel() { in getCompressionLevel() method in DeflateCompressor
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/
DGZipTestCase.java276 assertEquals(Deflater.BEST_COMPRESSION, readParams.getCompressionLevel()); in testMetadataRoundTrip()