Home
last modified time | relevance | path

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

/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DZipUtils.java36 static void extractZippedFileToZipStream(File file, ZipOutputStream zipStream) { in extractZippedFileToZipStream() argument
53 writeInputStreamToZipStream(entry.getName(), stream, zipStream); in extractZippedFileToZipStream() local
62 static void addFileToZipStream(File file, ZipOutputStream zipStream) { in addFileToZipStream() argument
72 writeInputStreamToZipStream(file.getName(), audioInput, zipStream); in addFileToZipStream() local
80 String filename, InputStream input, ZipOutputStream zipStream) throws IOException { in writeInputStreamToZipStream() argument
82 zipStream.putNextEntry(entry); in writeInputStreamToZipStream()
83 ByteStreams.copy(input, zipStream); in writeInputStreamToZipStream()
84 zipStream.closeEntry(); in writeInputStreamToZipStream()
DSimpleUploaderAsyncTask.java163 try (ZipOutputStream zipStream = new ZipOutputStream( in zipBugReportFiles() argument
166 new File(pendingDir, bugReport.getBugReportFileName()), zipStream); in zipBugReportFiles()
168 new File(pendingDir, bugReport.getAudioFileName()), zipStream); in zipBugReportFiles()
DBugReportService.java582 try (ZipOutputStream zipStream = new ZipOutputStream(new BufferedOutputStream(outStream))) { in zipDirectoryToOutputStream() argument
590 ZipUtils.extractZippedFileToZipStream(file, zipStream); in zipDirectoryToOutputStream()
592 ZipUtils.addFileToZipStream(file, zipStream); in zipDirectoryToOutputStream()