Home
last modified time | relevance | path

Searched refs:getCompressionMethod (Results 1 – 5 of 5) sorted by relevance

/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/
DPreDiffPlanner.java277 if (oldEntry.getCompressionMethod() != 0 && !oldEntry.isDeflateCompressed()) { in unsuitable()
282 if (newEntry.getCompressionMethod() != 0 && !newEntry.isDeflateCompressed()) { in unsuitable()
318 return oldEntry.getCompressionMethod() == 0 && newEntry.getCompressionMethod() == 0; in bothEntriesUncompressed()
331 return oldEntry.getCompressionMethod() == 0 && newEntry.getCompressionMethod() != 0; in uncompressedChangedToCompressed()
346 return newEntry.getCompressionMethod() == 0 && oldEntry.getCompressionMethod() != 0; in compressedChangedToUncompressed()
DMinimalZipEntry.java112 public int getCompressionMethod() { in getCompressionMethod() method in MinimalZipEntry
210 if (getCompressionMethod() != 8) { in isDeflateCompressed()
/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/
DMinimalZipParserTest.java171 Assert.assertEquals(8 /* deflate */, parsed.getCompressionMethod()); in testParseCentralDirectoryEntry()
173 Assert.assertEquals(0 /* store */, parsed.getCompressionMethod()); in testParseCentralDirectoryEntry()
DMinimalZipArchiveTest.java82 Assert.assertEquals(expected.level == 0 ? 0 : 8, actual.getCompressionMethod()); in testListEntries()
DMinimalZipEntryTest.java251 Assert.assertEquals(COMPRESSION_METHOD, defaultEntry.getCompressionMethod()); in testGetters()