Home
last modified time | relevance | path

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

/cts/hostsidetests/security/app/src/android/security/cts/
DZipPathValidatorDeviceTest.java99 try (ZipInputStream zis = new ZipInputStream(new ByteArrayInputStream(badZipBytes))) { in zipInputStreamGetNextEntry_whenZipFileHasDangerousEntriesAndChangeEnabled_throws() argument
104 zis.getNextEntry(); in zipInputStreamGetNextEntry_whenZipFileHasDangerousEntriesAndChangeEnabled_throws()
136 ZipInputStream zis = new ZipInputStream(new ByteArrayInputStream(zipBytes)); in zipInputStreamGetNextEntry_whenZipFileHasNormalEntriesAndChangeEnabled_doesNotThrow() local
137 ZipEntry zipEntry = zis.getNextEntry(); in zipInputStreamGetNextEntry_whenZipFileHasNormalEntriesAndChangeEnabled_doesNotThrow()
187 ZipInputStream zis = new ZipInputStream(new ByteArrayInputStream(zipBytes)); in zipInputStreamGetNextEntry_whenZipFileHasNormalAndDangerousEntriesAndChangeDisabled_doesNotThrow() local
188 ZipEntry zipEntry = zis.getNextEntry(); in zipInputStreamGetNextEntry_whenZipFileHasNormalAndDangerousEntriesAndChangeDisabled_doesNotThrow()
/cts/tests/tests/security/src/android/security/cts/
DWallpaperManagerTest.java157 try (ZipInputStream zis = new ZipInputStream( in unZipMaliciousImageFile() argument
162 while ((ze = zis.getNextEntry()) != null) { in unZipMaliciousImageFile()
169 while ((count = zis.read(buffer)) != -1) { in unZipMaliciousImageFile()
/cts/tests/tests/resourcesloader/src/android/content/res/loader/cts/
DResourcesLoaderTestBase.kt244 ZipInputStream(context.assets.open(name)).use { zis -> in <lambda>() method
246 val entry = zis.nextEntry ?: break in <lambda>()
254 var b = zis.read() in <lambda>()
257 b = zis.read() in <lambda>()