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

1 2 3

  /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/base/telephony/java/com/android/internal/telephony/
SmsHeader.java 197 ByteArrayOutputStream outStream = new ByteArrayOutputStream(SmsMessage.MAX_USER_DATA_BYTES);
201 outStream.write(ELT_ID_CONCATENATED_8_BIT_REFERENCE);
202 outStream.write(3);
203 outStream.write(concatRef.refNumber);
205 outStream.write(ELT_ID_CONCATENATED_16_BIT_REFERENCE);
206 outStream.write(4);
207 outStream.write(concatRef.refNumber >>> 8);
208 outStream.write(concatRef.refNumber & 0x00FF);
210 outStream.write(concatRef.msgCount);
211 outStream.write(concatRef.seqNumber)
    [all...]
  /cts/tests/tests/gesture/src/android/gesture/cts/
GestureStoreTest.java 142 ByteArrayOutputStream outStream = null;
147 outStream = new ByteArrayOutputStream();
148 mGestureStore.save(outStream);
151 inStream = new ByteArrayInputStream(outStream.toByteArray());
164 if (outStream != null) {
165 outStream.close();
  /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();
  /frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
BearerData.java 383 private static void encodeMessageId(BearerData bData, BitwiseOutputStream outStream)
386 outStream.write(8, 3);
387 outStream.write(4, bData.messageType);
388 outStream.write(8, bData.messageId >> 8);
389 outStream.write(8, bData.messageId);
390 outStream.write(1, bData.hasUserDataHeader ? 1 : 0);
391 outStream.skip(3);
449 BitwiseOutputStream outStream = new BitwiseOutputStream(msg.length());
455 outStream.write(7, UserData.UNENCODABLE_7_BIT_CHAR);
460 outStream.write(7, charCode)
    [all...]
  /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);
ContentProducer.java 51 void writeTo(OutputStream outstream) throws IOException;
  /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);
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppLauncherActivity.java 178 FileOutputStream outStream = null;
189 outStream = context.openFileOutput(fileName, Context.MODE_PRIVATE);
190 if (outStream != null) {
191 outStream.write(byteBuff, 0, byteBuff.length);
207 if (outStream != null) {
208 outStream.close();
  /frameworks/base/core/java/com/android/internal/app/
IMediaContainerService.aidl 29 in ParcelFileDescriptor outStream);
  /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();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DexWrapper.java 123 * @param outStream the stdout console
129 boolean verbose, PrintStream outStream, PrintStream errStream) throws CoreException {
134 mConsoleOut.set(null /* obj: static field */, outStream);
  /frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DefaultContainerService.java 99 * @param outStream Remote file descriptor to be used for copying
103 ParcelFileDescriptor outStream) {
104 if (packageURI == null || outStream == null) {
108 autoOut = new ParcelFileDescriptor.AutoCloseOutputStream(outStream);
335 private boolean copyFile(Uri pPackageURI, FileOutputStream outStream) {
342 if (!copyToFile(srcPackageFile, outStream)) {
366 if (!copyToFile(dlStream, outStream)) {
  /external/apache-http/src/org/apache/http/conn/
BasicManagedEntity.java 125 public void writeTo(final OutputStream outstream) throws IOException {
126 super.writeTo(outstream);
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
CameraTest.java 157 FileOutputStream outstream = new FileOutputStream(rawoutput); local
158 outstream.write(rawData);

Completed in 1663 milliseconds

1 2 3