Home
last modified time | relevance | path

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

/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DMain.java65 ZipOutputStream zos = new ZipOutputStream(new FileOutputStream(outJar)); in main() local
79 zos.putNextEntry(newEntry); in main()
83 convert(bis, zos, targets); in main()
86 zos.write(bis.read()); in main()
88 zos.closeEntry(); in main()
92 zos.finish(); in main()
93 zos.close(); in main()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DDumpTruck.java172 try (ZipOutputStream zos = new ZipOutputStream(new FileOutputStream(zipfilePath))) { in zipUp() argument
178 zos.putNextEntry(entry); in zipUp()
181 zos.write(buf, 0, len); in zipUp()
183 zos.closeEntry(); in zipUp()
/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java152 final ZipOutputStream zos = new ZipOutputStream(os); in dumpAll() local
158 zos.putNextEntry(entry); in dumpAll()
163 FileUtils.copy(is, zos); in dumpAll()
168 zos.closeEntry(); in dumpAll()
172 IoUtils.closeQuietly(zos); in dumpAll()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java1115 ZipOutputStream zos = new ZipOutputStream( in zipBugreport()
1117 addEntry(zos, info.bugreportFile.getName(), is); in zipBugreport()
1167 ZipOutputStream zos = new ZipOutputStream(new FileOutputStream(tmpZip))) { in addDetailsToZipFileLocked()
1175 addEntry(zos, entryName, entry.getTime(), oldZip.getInputStream(entry)); in addDetailsToZipFileLocked()
1182 addEntry(zos, "title.txt", info.title); in addDetailsToZipFileLocked()
1183 addEntry(zos, "description.txt", info.description); in addDetailsToZipFileLocked()
1201 private static void addEntry(ZipOutputStream zos, String entry, String text) in addEntry() argument
1205 addEntry(zos, entry, new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8))); in addEntry()
1209 private static void addEntry(ZipOutputStream zos, String entryName, InputStream is) in addEntry() argument
1211 addEntry(zos, entryName, System.currentTimeMillis(), is); in addEntry()
[all …]
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportReceiverTest.java991 try (ZipOutputStream zos = new ZipOutputStream( in createZipFile() argument
994 zos.putNextEntry(entry); in createZipFile()
996 zos.write(data, 0, data.length); in createZipFile()
997 zos.closeEntry(); in createZipFile()