Searched defs:stream (Results 1 - 12 of 12) sorted by relevance

/packages/apps/Email/src/com/android/email/mail/store/imap/
H A DImapTempFileLiteral.java45 /* package */ ImapTempFileLiteral(FixedLengthInputStream stream) throws IOException { argument
46 mSize = stream.getLength();
54 IOUtils.copy(stream, out);
81 // Return 0 byte stream as a dummy...
/packages/apps/Email/src/org/apache/commons/io/
H A DHexDump.java48 * @param stream the OutputStream to which the data is to be
53 * the data to stream
56 * @throws IllegalArgumentException if the output stream is null
60 OutputStream stream, int index)
69 if (stream == null) {
98 stream.write(buffer.toString().getBytes());
99 stream.flush();
59 dump(byte[] data, long offset, OutputStream stream, int index) argument
/packages/apps/Email/src/org/apache/james/mime4j/decoder/
H A DQuotedPrintableInputStream.java31 * Performs Quoted-Printable decoding on an underlying stream.
40 private InputStream stream; field in class:QuotedPrintableInputStream
45 public QuotedPrintableInputStream(InputStream stream) { argument
46 this.stream = stream;
50 * Closes the underlying stream.
55 stream.close();
72 * Pulls bytes out of the underlying stream and places them in the
74 * underlying stream directly) to detect and filter out "transport
78 * @throws IOException Underlying stream thre
[all...]
/packages/apps/Gallery3D/src/com/cooliris/picasa/
H A DGDataClient.java111 public void putStream(String feedUrl, InputStream stream, String contentType, Operation operation) throws IOException { argument
112 InputStreamEntity entity = new InputStreamEntity(stream, -1);
158 InputStream stream = null;
161 // Wrap the entity input stream in a GZIP decoder if necessary.
162 stream = entity.getContent();
163 if (stream != null) {
167 stream = new GZIPInputStream(stream);
173 // Return the stream if successful.
177 operation.outBody = stream;
194 inputStreamToString(InputStream stream) argument
[all...]
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/
H A DContentTypeParser.java128 public ContentTypeParser(java.io.InputStream stream) { argument
129 this(stream, null);
131 public ContentTypeParser(java.io.InputStream stream, String encoding) { argument
132 try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
140 public void ReInit(java.io.InputStream stream) { argument
141 ReInit(stream, null);
143 public void ReInit(java.io.InputStream stream, String encoding) { argument
144 try { jj_input_stream.ReInit(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
152 public ContentTypeParser(java.io.Reader stream) { argument
153 jj_input_stream = new SimpleCharStream(stream,
161 ReInit(java.io.Reader stream) argument
[all...]
H A DContentTypeParserTokenManager.java635 public ContentTypeParserTokenManager(SimpleCharStream stream){ argument
638 input_stream = stream;
640 public ContentTypeParserTokenManager(SimpleCharStream stream, int lexState){ argument
641 this(stream);
644 public void ReInit(SimpleCharStream stream) argument
648 input_stream = stream;
658 public void ReInit(SimpleCharStream stream, int lexState) argument
660 ReInit(stream);
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/
H A DDateTimeParser.java428 public DateTimeParser(java.io.InputStream stream) { argument
429 this(stream, null);
431 public DateTimeParser(java.io.InputStream stream, String encoding) { argument
432 try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
440 public void ReInit(java.io.InputStream stream) { argument
441 ReInit(stream, null);
443 public void ReInit(java.io.InputStream stream, String encoding) { argument
444 try { jj_input_stream.ReInit(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
452 public DateTimeParser(java.io.Reader stream) { argument
453 jj_input_stream = new SimpleCharStream(stream,
461 ReInit(java.io.Reader stream) argument
[all...]
H A DDateTimeParserTokenManager.java674 public DateTimeParserTokenManager(SimpleCharStream stream){ argument
677 input_stream = stream;
679 public DateTimeParserTokenManager(SimpleCharStream stream, int lexState){ argument
680 this(stream);
683 public void ReInit(SimpleCharStream stream) argument
687 input_stream = stream;
697 public void ReInit(SimpleCharStream stream, int lexState) argument
699 ReInit(stream);
/packages/apps/Gallery3D/src/com/cooliris/media/
H A DUriTexture.java99 private static int computeSampleSize(InputStream stream, int maxResolutionX, argument
103 BitmapFactory.decodeStream(stream, null, options);
129 // Get the input stream for computing the sample size.
133 // Get the stream from a local file.
137 // Get the stream from a remote URL.
148 // Get the input stream again for decoding it to a bitmap.
152 // Get the stream from a local file.
156 // Get the stream from a remote URL.
208 // Wrap the entity input stream in a GZIP decoder if
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
H A DAddressListParser.java724 public AddressListParser(java.io.InputStream stream) { argument
725 this(stream, null);
727 public AddressListParser(java.io.InputStream stream, String encoding) { argument
728 try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
737 public void ReInit(java.io.InputStream stream) { argument
738 ReInit(stream, null);
740 public void ReInit(java.io.InputStream stream, String encoding) { argument
741 try { jj_input_stream.ReInit(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
751 public AddressListParser(java.io.Reader stream) { argument
752 jj_input_stream = new SimpleCharStream(stream,
761 ReInit(java.io.Reader stream) argument
[all...]
H A DAddressListParserTokenManager.java749 public AddressListParserTokenManager(SimpleCharStream stream){ argument
752 input_stream = stream;
754 public AddressListParserTokenManager(SimpleCharStream stream, int lexState){ argument
755 this(stream);
758 public void ReInit(SimpleCharStream stream) argument
762 input_stream = stream;
772 public void ReInit(SimpleCharStream stream, int lexState) argument
774 ReInit(stream);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsProvider2.java5494 // vCard-encoded stream. We build into a local buffer first,
5521 // vCard-encoded stream. We build into a local buffer first,
5556 private AssetFileDescriptor buildAssetFileDescriptor(ByteArrayOutputStream stream) { argument
5559 stream.flush();
5561 final byte[] byteData = stream.toByteArray();
5570 Log.w(TAG, "Problem writing stream into an AssetFileDescriptor: " + e.toString());
5580 private void outputRawContactsAsVCard(OutputStream stream, String selection, argument
5585 composer.addHandler(composer.new HandlerForOutputStream(stream));

Completed in 112 milliseconds