Searched refs:zos (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
D | Main.java | 64 ZipOutputStream zos = new ZipOutputStream(new FileOutputStream(outJar)); in main() local 77 zos.putNextEntry(newEntry); in main() 81 convert(bis, zos, targets); in main() 84 zos.write(bis.read()); in main() 86 zos.closeEntry(); in main() 90 zos.finish(); in main() 91 zos.close(); in main()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | DumpTruck.java | 172 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/ |
D | FileRotator.java | 152 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/ |
D | BugreportProgressService.java | 1117 ZipOutputStream zos = new ZipOutputStream( in zipBugreport() 1119 addEntry(zos, info.bugreportFile.getName(), is); in zipBugreport() 1169 ZipOutputStream zos = new ZipOutputStream(new FileOutputStream(tmpZip))) { in addDetailsToZipFileLocked() 1177 addEntry(zos, entryName, entry.getTime(), oldZip.getInputStream(entry)); in addDetailsToZipFileLocked() 1184 addEntry(zos, "title.txt", info.title); in addDetailsToZipFileLocked() 1185 addEntry(zos, "description.txt", info.description); in addDetailsToZipFileLocked() 1203 private static void addEntry(ZipOutputStream zos, String entry, String text) in addEntry() argument 1207 addEntry(zos, entry, new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8))); in addEntry() 1211 private static void addEntry(ZipOutputStream zos, String entryName, InputStream is) in addEntry() argument 1213 addEntry(zos, entryName, System.currentTimeMillis(), is); in addEntry() [all …]
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | BugreportReceiverTest.java | 991 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()
|