Searched refs:byteStream (Results 1 – 7 of 7) sorted by relevance
100 ByteArrayOutputStream byteStream = null; in readTerminatedProcFile() local122 if (foundTerminator && byteStream == null) { in readTerminatedProcFile()127 if (byteStream == null) { in readTerminatedProcFile()128 byteStream = new ByteArrayOutputStream(READ_SIZE); in readTerminatedProcFile()132 byteStream.write(buffer, 0, foundTerminator ? terminatingIndex : len); in readTerminatedProcFile()141 if (byteStream == null) { in readTerminatedProcFile()144 return byteStream.toString(); in readTerminatedProcFile()
52 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in backwardCompatibility2to3() local53 DataOutputStream outputStream = new DataOutputStream(byteStream); in backwardCompatibility2to3()61 InputStream in = new ByteArrayInputStream(byteStream.toByteArray()); in backwardCompatibility2to3()100 InputStream in = new ByteArrayInputStream(writer.byteStream.toByteArray()); in staticIpMultiNetworks()128 final ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); field in IpConfigStoreTest.MockedDelayedDiskWrite132 DataOutputStream outputStream = new DataOutputStream(byteStream); in write()
67 try (ByteArrayOutputStream byteStream = new ByteArrayOutputStream()) { in writeEntityHeader() argument68 writeEntityHeader(new ObjectOutputStream(byteStream), key, dataSize); in writeEntityHeader()69 size = byteStream.size(); in writeEntityHeader()
68 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in process() local72 byteStream.write(buffer, 0, bytesRead); in process()75 byteBuffer = ByteBuffer.wrap(byteStream.toByteArray()); in process()
315 final ByteArrayOutputStream byteStream = in writeToParcel() local317 final DataOutputStream outStream = new DataOutputStream(byteStream); in writeToParcel()326 GestureUtils.closeStream(byteStream); in writeToParcel()330 out.writeByteArray(byteStream.toByteArray()); in writeToParcel()
461 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in serialize() local462 try (ObjectOutputStream objectStream = new ObjectOutputStream(byteStream)) { in serialize()465 return byteStream.toByteArray(); in serialize()
102346 Lcom/android/okhttp/ResponseBody;->byteStream()Ljava/io/InputStream;