Home
last modified time | relevance | path

Searched refs:baos (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DAbstractResult.java93 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/
DBase64Test.java439 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/
DMultipartEntity.java221 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/
DNinePatch_Delegate.java72 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/
DSmsMessage.java876 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()
DCdmaSMSDispatcher.java470 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/
DPduPersister.java431 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/
DParcel.java1277 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeSerializable() local
1279 ObjectOutputStream oos = new ObjectOutputStream(baos); in writeSerializable()
1283 writeByteArray(baos.toByteArray()); in writeSerializable()