Searched refs:byteStream (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
D | Rfc822OutputTests.java | 125 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in testWriteToText() local 126 Rfc822Output.writeTo(mMockContext, msg, byteStream, true, false, null); in testWriteToText() 131 new ByteArrayInputStream(byteStream.toByteArray()); in testWriteToText() 159 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in testWriteToAlternativePart() local 160 Rfc822Output.writeTo(mMockContext, msg, byteStream, true, false, null); in testWriteToAlternativePart() 165 new ByteArrayInputStream(byteStream.toByteArray()); in testWriteToAlternativePart() 203 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in testWriteToMixedPart() local 204 Rfc822Output.writeTo(mMockContext, msg, byteStream, true, false, null); in testWriteToMixedPart() 209 new ByteArrayInputStream(byteStream.toByteArray()); in testWriteToMixedPart()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | HandoverServer.java | 179 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in run() local 195 byteStream.write(partial, 0, size); in run() 198 handoverRequestMsg = new NdefMessage(byteStream.toByteArray()); in run() 236 byteStream = new ByteArrayOutputStream(); in run() 254 byteStream.close(); in run()
|
D | HandoverClient.java | 110 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in sendHandoverRequest() local 131 byteStream.write(partial, 0, size); in sendHandoverRequest() 133 handoverSelectMsg = new NdefMessage(byteStream.toByteArray()); in sendHandoverRequest() 153 byteStream.close(); in sendHandoverRequest()
|