Searched refs:outputStream (Results 1 – 7 of 7) sorted by relevance
91 FileOutputStream outputStream = new FileOutputStream(outputPath); in runDumpsysCmd() local92 outputStream.write(res.getBytes()); in runDumpsysCmd()93 outputStream.close(); in runDumpsysCmd()
145 public void attachOutput(OutputStream outputStream) { in attachOutput() argument146 Preconditions.checkNotNull(outputStream, "Cannot attach a null output"); in attachOutput()147 mOutputs.add(outputStream); in attachOutput()148 LOGGER.fine(String.format("Attatched new Output - %s", outputStream)); in attachOutput()
52 void attachOutput(OutputStream outputStream); in attachOutput() argument
107 InputStream outputStream = new BufferedInputStream(fileStream); in ChecksumReporter()108 ObjectInput objectInput = new ObjectInputStream(outputStream)) { in ChecksumReporter()257 OutputStream outputStream = new BufferedOutputStream(fileStream); in saveToFile() argument258 ObjectOutput objectOutput = new ObjectOutputStream(outputStream)) { in saveToFile()
582 OutputStream outputStream = new FileOutputStream(failureReport)) { in createFailureReport() argument586 transformer.transform(new StreamSource(inputXml), new StreamResult(outputStream)); in createFailureReport()
523 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in readInputStream() local528 outputStream.write(buffer, 0, size); in readInputStream()531 return outputStream.toByteArray(); in readInputStream()533 outputStream.close(); in readInputStream()
336 ParcelFileDescriptor pfDescriptor, ByteArrayOutputStream outputStream) in writeDataToByteStream() argument343 outputStream.write(buffer, 0, length); in writeDataToByteStream()