HomeSort by relevance Sort by last modified time
    Searched full:outstream (Results 1 - 25 of 76) sorted by null

1 2 3 4

  /frameworks/base/core/tests/coretests/src/com/android/internal/util/
BitwiseStreamsTest.java 37 BitwiseOutputStream outStream = new BitwiseOutputStream(30);
38 outStream.skip(offset);
39 for (int i = 0; i < inBuf.length; i++) outStream.write(8, inBuf[i]);
40 byte[] outBuf = outStream.toByteArray();
52 BitwiseOutputStream outStream = new BitwiseOutputStream(30);
53 outStream.skip(offset);
54 for (int i = 0; i < inBuf.length; i++) outStream.write(8, inBuf[i]);
55 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray());
66 BitwiseOutputStream outStream = new BitwiseOutputStream(30);
67 outStream.skip(offset)
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
SmsHeader.java 198 ByteArrayOutputStream outStream =
203 outStream.write(ELT_ID_CONCATENATED_8_BIT_REFERENCE);
204 outStream.write(3);
205 outStream.write(concatRef.refNumber);
207 outStream.write(ELT_ID_CONCATENATED_16_BIT_REFERENCE);
208 outStream.write(4);
209 outStream.write(concatRef.refNumber >>> 8);
210 outStream.write(concatRef.refNumber & 0x00FF);
212 outStream.write(concatRef.msgCount);
213 outStream.write(concatRef.seqNumber)
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
BearerData.java 442 private static void encodeMessageId(BearerData bData, BitwiseOutputStream outStream)
445 outStream.write(8, 3);
446 outStream.write(4, bData.messageType);
447 outStream.write(8, bData.messageId >> 8);
448 outStream.write(8, bData.messageId);
449 outStream.write(1, bData.hasUserDataHeader ? 1 : 0);
450 outStream.skip(3);
508 BitwiseOutputStream outStream = new BitwiseOutputStream(msg.length());
514 outStream.write(7, UserData.UNENCODABLE_7_BIT_CHAR);
519 outStream.write(7, charCode)
    [all...]
  /cts/tests/tests/gesture/src/android/gesture/cts/
GestureStoreTest.java 140 ByteArrayOutputStream outStream = null;
145 outStream = new ByteArrayOutputStream();
146 mGestureStore.save(outStream);
149 inStream = new ByteArrayInputStream(outStream.toByteArray());
162 if (outStream != null) {
163 outStream.close();
  /cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
TestPlanTest.java 145 ByteArrayOutputStream outStream = new ByteArrayOutputStream();
146 mPlan.serialize(outStream);
147 assertTrue(outStream.toString().contains(EMPTY_DATA));
157 ByteArrayOutputStream outStream = new ByteArrayOutputStream();
158 mPlan.serialize(outStream);
160 parsedPlan.parse(getStringAsStream(outStream.toString()));
174 ByteArrayOutputStream outStream = new ByteArrayOutputStream();
175 mPlan.serialize(outStream);
177 parsedPlan.parse(getStringAsStream(outStream.toString()));
  /external/webrtc/src/system_wrappers/interface/
file_wrapper.h 19 // Implementation of an InStream and OutStream that can read (exclusive) or
24 class FileWrapper : public InStream, public OutStream
66 // Inherited from OutStream.
71 // Inherited from both Instream and OutStream.
  /packages/apps/Mms/src/com/android/mms/transaction/
ProgressCallbackEntity.java 49 public void writeTo(final OutputStream outstream) throws IOException {
50 if (outstream == null) {
64 outstream.write(mContent, pos, len);
65 outstream.flush();
  /tools/motodev/src/plugins/preflighting/src/com/motorolamobility/preflighting/internal/commandoutput/
DaemonXMLOutputter.java 46 ByteArrayOutputStream outStream = new ByteArrayOutputStream();
47 PrintStream stream = new PrintStream(outStream);
53 CDATASection cdata = document.createCDATASection(outStream.toString().trim());
72 outStream.close();
  /external/apache-http/src/org/apache/http/impl/io/
AbstractSessionOutputBuffer.java 58 private OutputStream outstream; field in class:AbstractSessionOutputBuffer
66 protected void init(final OutputStream outstream, int buffersize, final HttpParams params) {
67 if (outstream == null) {
76 this.outstream = outstream;
87 this.outstream.write(this.buffer.buffer(), 0, len);
95 this.outstream.flush();
109 this.outstream.write(b, off, len);
  /external/apache-http/src/org/apache/http/entity/
SerializableEntity.java 92 public void writeTo(OutputStream outstream) throws IOException {
93 if (outstream == null) {
98 ObjectOutputStream out = new ObjectOutputStream(outstream);
102 outstream.write(this.objSer);
103 outstream.flush();
ByteArrayEntity.java 72 public void writeTo(final OutputStream outstream) throws IOException {
73 if (outstream == null) {
76 outstream.write(this.content);
77 outstream.flush();
FileEntity.java 74 public void writeTo(final OutputStream outstream) throws IOException {
75 if (outstream == null) {
83 outstream.write(tmp, 0, l);
85 outstream.flush();
StringEntity.java 85 public void writeTo(final OutputStream outstream) throws IOException {
86 if (outstream == null) {
89 outstream.write(this.content);
90 outstream.flush();
EntityTemplate.java 72 public void writeTo(final OutputStream outstream) throws IOException {
73 if (outstream == null) {
76 this.contentproducer.writeTo(outstream);
BufferedHttpEntity.java 103 public void writeTo(final OutputStream outstream) throws IOException {
104 if (outstream == null) {
108 outstream.write(this.buffer);
110 wrappedEntity.writeTo(outstream);
InputStreamEntity.java 76 public void writeTo(final OutputStream outstream) throws IOException {
77 if (outstream == null) {
86 outstream.write(buffer, 0, l);
96 outstream.write(buffer, 0, l);
HttpEntityWrapper.java 99 public void writeTo(OutputStream outstream)
101 wrappedEntity.writeTo(outstream);
BasicHttpEntity.java 122 public void writeTo(final OutputStream outstream) throws IOException {
123 if (outstream == null) {
130 outstream.write(tmp, 0, l);
  /development/tools/mkstubs/src/com/android/mkstubs/
StubGenerator.java 84 * @param outStream The file output stream were to write the JAR.
88 void createJar(FileOutputStream outStream, Map<String,byte[]> all) throws IOException {
89 JarOutputStream jar = new JarOutputStream(outStream);
  /external/llvm/utils/FileUpdate/
FileUpdate.cpp 73 tool_output_file OutStream(OutputFilename.c_str(), ErrorStr,
81 OutStream.os().write(In->getBufferStart(), In->getBufferSize());
84 OutStream.keep();
  /frameworks/base/core/java/com/android/internal/app/
IMediaContainerService.aidl 30 in ParcelFileDescriptor outStream);
  /external/libxml2/
trio.c 683 void (*OutStream) TRIO_PROTO((struct _trio_class_t *, int));
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppLauncherActivity.java 209 FileOutputStream outStream = null;
220 outStream = context.openFileOutput(fileName, Context.MODE_PRIVATE);
221 if (outStream != null) {
222 outStream.write(byteBuff, 0, byteBuff.length);
238 if (outStream != null) {
239 outStream.close();
  /external/apache-http/src/org/apache/http/impl/conn/
Wire.java 87 public void output(InputStream outstream)
89 if (outstream == null) {
92 wire(">> ", outstream);
  /external/apache-http/src/org/apache/http/impl/entity/
EntitySerializer.java 96 OutputStream outstream = doSerialize(outbuffer, message); local
97 entity.writeTo(outstream);
98 outstream.close();

Completed in 2287 milliseconds

1 2 3 4