Searched refs:zos (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
D | Main.java | 65 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/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | ArtStatsLogUtilsTest.java | 300 try (final ZipOutputStream zos = new ZipOutputStream(os)) { in zipFiles() argument 303 zos.putNextEntry(zipEntry); in zipFiles() 304 zos.write(Files.readAllBytes(file)); in zipFiles() 305 zos.closeEntry(); in zipFiles() 315 try (final ZipOutputStream zos = new ZipOutputStream(os)) { in createDexMetadata() argument 318 zos.putNextEntry(zipEntry); in createDexMetadata() 319 zos.write(entryName.getBytes()); in createDexMetadata() 320 zos.closeEntry(); in createDexMetadata()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | DumpTruck.java | 171 try (ZipOutputStream zos = new ZipOutputStream(new FileOutputStream(zipfilePath))) { in zipUp() argument 177 zos.putNextEntry(entry); in zipUp() 180 zos.write(buf, 0, len); in zipUp() 182 zos.closeEntry(); in zipUp()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FileRotator.java | 153 final ZipOutputStream zos = new ZipOutputStream(os); in dumpAll() local 159 zos.putNextEntry(entry); in dumpAll() 164 FileUtils.copy(is, zos); in dumpAll() 169 zos.closeEntry(); in dumpAll() 173 IoUtils.closeQuietly(zos); in dumpAll()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportProgressService.java | 1339 ZipOutputStream zos = new ZipOutputStream( in zipBugreport() 1341 addEntry(zos, info.bugreportFile.getName(), is); in zipBugreport() 1392 ZipOutputStream zos = new ZipOutputStream(new FileOutputStream(tmpZip))) { in addDetailsToZipFileLocked() 1400 addEntry(zos, entryName, entry.getTime(), oldZip.getInputStream(entry)); in addDetailsToZipFileLocked() 1407 addEntry(zos, "title.txt", info.getTitle()); in addDetailsToZipFileLocked() 1408 addEntry(zos, "description.txt", info.getDescription()); in addDetailsToZipFileLocked() 1426 private static void addEntry(ZipOutputStream zos, String entry, String text) in addEntry() argument 1430 addEntry(zos, entry, new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8))); in addEntry() 1434 private static void addEntry(ZipOutputStream zos, String entryName, InputStream is) in addEntry() argument 1436 addEntry(zos, entryName, System.currentTimeMillis(), is); in addEntry() [all …]
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | BugreportReceiverTest.java | 880 try (ZipOutputStream zos = new ZipOutputStream( in writeZipFile() argument 883 zos.putNextEntry(entry); in writeZipFile() 885 zos.write(data, 0, data.length); in writeZipFile() 886 zos.closeEntry(); in writeZipFile()
|