Home
last modified time | relevance | path

Searched refs:byteStream (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DProcStatsUtil.java100 ByteArrayOutputStream byteStream = null; in readTerminatedProcFile() local
122 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()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DIpConfigStoreTest.java52 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in backwardCompatibility2to3() local
53 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.MockedDelayedDiskWrite
132 DataOutputStream outputStream = new DataOutputStream(byteStream); in write()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowBackupDataOutput.java67 try (ByteArrayOutputStream byteStream = new ByteArrayOutputStream()) { in writeEntityHeader() argument
68 writeEntityHeader(new ObjectOutputStream(byteStream), key, dataSize); in writeEntityHeader()
69 size = byteStream.size(); in writeEntityHeader()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DInputStreamSource.java68 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in process() local
72 byteStream.write(buffer, 0, bytesRead); in process()
75 byteBuffer = ByteBuffer.wrap(byteStream.toByteArray()); in process()
/frameworks/base/core/java/android/gesture/
DGesture.java315 final ByteArrayOutputStream byteStream = in writeToParcel() local
317 final DataOutputStream outStream = new DataOutputStream(byteStream); in writeToParcel()
326 GestureUtils.closeStream(byteStream); in writeToParcel()
330 out.writeByteArray(byteStream.toByteArray()); in writeToParcel()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRationalTest.java461 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in serialize() local
462 try (ObjectOutputStream objectStream = new ObjectOutputStream(byteStream)) { in serialize()
465 return byteStream.toByteArray(); in serialize()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt102346 Lcom/android/okhttp/ResponseBody;->byteStream()Ljava/io/InputStream;