Searched refs:baos (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
D | AbstractResult.java | 93 ByteArrayOutputStream baos = null; in getBytes() local 97 baos = new ByteArrayOutputStream(); in getBytes() 98 oos = new ObjectOutputStream(baos); in getBytes() 101 if (baos != null) { in getBytes() 102 baos.close(); in getBytes() 112 return baos == null ? null : baos.toByteArray(); in getBytes()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | Base64Test.java | 439 ByteArrayOutputStream baos; in testOutputStream() local 447 baos = new ByteArrayOutputStream(); in testOutputStream() 448 b64os = new Base64OutputStream(baos, flags); in testOutputStream() 451 actual = baos.toByteArray(); in testOutputStream() 455 baos = new ByteArrayOutputStream(); in testOutputStream() 456 b64os = new Base64OutputStream(baos, flags); in testOutputStream() 461 actual = baos.toByteArray(); in testOutputStream() 466 baos = new ByteArrayOutputStream(); in testOutputStream() 467 b64os = new Base64OutputStream(baos, flags); in testOutputStream() 484 actual = baos.toByteArray(); in testOutputStream() [all …]
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
D | MultipartEntity.java | 221 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getContent() local 222 Part.sendParts(baos, this.parts, this.multipartBoundary); in getContent() 223 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in getContent()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | NinePatch_Delegate.java | 72 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in serialize() local 75 oos = new ObjectOutputStream(baos); in serialize() 90 byte[] array = baos.toByteArray(); in serialize()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | SmsMessage.java | 876 ByteArrayOutputStream baos = new ByteArrayOutputStream(100); in privateGetSubmitPdu() local 877 DataOutputStream dos = new DataOutputStream(baos); in privateGetSubmitPdu() 896 pdu.encodedMessage = baos.toByteArray(); in privateGetSubmitPdu() 912 ByteArrayOutputStream baos = new ByteArrayOutputStream(100); in createPdu() local 913 DataOutputStream dos = new DataOutputStream(new BufferedOutputStream(baos)); in createPdu() 945 mPdu = baos.toByteArray(); in createPdu()
|
D | CdmaSMSDispatcher.java | 470 ByteArrayOutputStream baos = new ByteArrayOutputStream(100); 471 DataOutputStream dos = new DataOutputStream(baos); 491 mCi.sendCdmaSms(baos.toByteArray(), null);
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
D | PduPersister.java | 431 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in loadParts() local 442 baos.write(blob, 0, blob.length); in loadParts() 451 baos.write(buffer, 0, len); in loadParts() 468 part.setData(baos.toByteArray()); in loadParts()
|
/frameworks/base/core/java/android/os/ |
D | Parcel.java | 1277 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeSerializable() local 1279 ObjectOutputStream oos = new ObjectOutputStream(baos); in writeSerializable() 1283 writeByteArray(baos.toByteArray()); in writeSerializable()
|