Home
last modified time | relevance | path

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

/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileTest.java698 File zipWithOffsetFile = new File(mTemporaryFolder.getRoot(), "b.zip"); in extraDirectoryOffsetEmptyFile() local
705 ZFile zipWithOffset = new ZFile(zipWithOffsetFile)) { in extraDirectoryOffsetEmptyFile()
712 long zipWithOffsetSize = zipWithOffsetFile.length(); in extraDirectoryOffsetEmptyFile()
740 byte[] withOffsetData1 = readSegment(zipWithOffsetFile, offset, p1Size); in extraDirectoryOffsetEmptyFile()
741 byte[] withOffsetData2 = readSegment(zipWithOffsetFile, offset + p2Start, p2Size); in extraDirectoryOffsetEmptyFile()
746 try (ZFile readWithOffset = new ZFile(zipWithOffsetFile)) { in extraDirectoryOffsetEmptyFile()
754 File zipWithOffsetFile = new File(mTemporaryFolder.getRoot(), "b.zip"); in extraDirectoryOffsetNonEmptyFile() local
765 ZFile zipWithOffset = new ZFile(zipWithOffsetFile, options)) { in extraDirectoryOffsetNonEmptyFile()
775 long zipWithOffsetSize = zipWithOffsetFile.length(); in extraDirectoryOffsetNonEmptyFile()
813 byte[] withOffsetData1 = readSegment(zipWithOffsetFile, p1Start, p1Size); in extraDirectoryOffsetNonEmptyFile()
[all …]