/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 | 445 private static void encodeMessageId(BearerData bData, BitwiseOutputStream outStream) 448 outStream.write(8, 3); 449 outStream.write(4, bData.messageType); 450 outStream.write(8, bData.messageId >> 8); 451 outStream.write(8, bData.messageId); 452 outStream.write(1, bData.hasUserDataHeader ? 1 : 0); 453 outStream.skip(3); 511 BitwiseOutputStream outStream = new BitwiseOutputStream(msg.length()); 517 outStream.write(7, UserData.UNENCODABLE_7_BIT_CHAR); 522 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();
|
/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);
|
/external/llvm/lib/Support/ |
Statistic.cpp | 154 raw_ostream &OutStream = *CreateInfoOutputFile(); 155 PrintStatistics(OutStream); 156 delete &OutStream; // Close the file. 163 raw_ostream &OutStream = *CreateInfoOutputFile(); 164 OutStream << "Statistics are disabled. " 166 OutStream.flush(); 167 delete &OutStream; // Close the file.
|
/external/skia/tests/ |
AnnotationTest.cpp | 53 SkDynamicMemoryWStream outStream; 54 doc.emitPDF(&outStream); 55 SkAutoDataUnref out(outStream.copyToData());
|
/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);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
BinaryDictIOUtilsTests.java | 179 BufferedOutputStream outStream = null; 186 outStream = new BufferedOutputStream(new FileOutputStream(file, true)); 192 BinaryDictIOUtils.insertWord(buffer, outStream, word, frequency, bigrams, shortcuts, 195 outStream.flush(); 197 outStream.close(); 202 if (outStream != null) { 204 outStream.close();
|
/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 | 248 FileOutputStream outStream = null; 259 outStream = context.openFileOutput(fileName, Context.MODE_PRIVATE); 260 if (outStream != null) { 261 outStream.write(byteBuff, 0, byteBuff.length); 277 if (outStream != null) { 278 outStream.close();
|