Home
last modified time | relevance | path

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

/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZipToolsTest.java103 Files.write(ZipTestUtils.rsrcBytes(mZipFile), zfile); in cloneZipFile()
115 byte[] inFileData = ZipTestUtils.rsrcBytes(name); in assertFileInZip()
156 zf.add("root", new ByteArrayInputStream(ZipTestUtils.rsrcBytes("root"))); in testReadZFile()
160 new ByteArrayInputStream(ZipTestUtils.rsrcBytes("images/lena.png"))); in testReadZFile()
164 new ByteArrayInputStream(ZipTestUtils.rsrcBytes("text-files/rfc2460.txt"))); in testReadZFile()
167 new ByteArrayInputStream(ZipTestUtils.rsrcBytes("text-files/wikipedia.html"))); in testReadZFile()
204 assertSize(new String[] { "root" }, ZipTestUtils.rsrcBytes("root").length, sizes); in testReadZFile()
206 ZipTestUtils.rsrcBytes("images/lena.png").length, sizes); in testReadZFile()
208 ZipTestUtils.rsrcBytes("text-files/rfc2460.txt").length, sizes); in testReadZFile()
210 ZipTestUtils.rsrcBytes("text-files/wikipedia.html").length, sizes); in testReadZFile()
DZipMergeTest.java96 byte[] wBytes = ZipTestUtils.rsrcBytes("text-files/wikipedia.html"); in mergeZipWithDeferredCrc()
127 byte[] wBytes = ZipTestUtils.rsrcBytes("text-files/wikipedia.html"); in mergeZipKeepsDeflatedAndStored()
128 byte[] lBytes = ZipTestUtils.rsrcBytes("images/lena.png"); in mergeZipKeepsDeflatedAndStored()
175 byte[] wBytes = ZipTestUtils.rsrcBytes("text-files/wikipedia.html"); in mergeZipWithSorting()
176 byte[] lBytes = ZipTestUtils.rsrcBytes("images/lena.png"); in mergeZipWithSorting()
DZipTestUtils.java41 static byte[] rsrcBytes(@Nonnull String rsrcName) throws IOException { in rsrcBytes() method in ZipTestUtils
87 Files.write(rsrcBytes(rsrcName), result); in cloneRsrc()