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

/packages/apps/Email/src/com/android/email/mail/store/imap/
H A DImapTempFileLiteral.java46 /* package */ ImapTempFileLiteral(FixedLengthInputStream stream) throws IOException { argument
47 mSize = stream.getLength();
55 IOUtils.copy(stream, out);
82 // 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/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DFingerprint.java40 // Hard coded stream id length limit is 40-chars. Don't ask!
77 * Note that this will close() stream after calculating the digest.
81 public static Fingerprint fromInputStream(InputStream stream, long[] byteCount) argument
86 in = new DigestInputStream(stream, DIGESTER);
102 * Decodes a string stream id to a 128-bit fingerprint.
125 * @param streamIdList list of stream id's to be scanned
138 * Encodes a 128-bit fingerprint as a string stream id.
/packages/apps/Browser/src/com/android/browser/homepages/
H A DTemplate.java52 void write(OutputStream stream, EntityData params) throws IOException; argument
56 void writeValue(OutputStream stream, String key) throws IOException; argument
74 public void write(OutputStream stream, EntityData params) throws IOException { argument
75 stream.write(mValue);
89 public void write(OutputStream stream, EntityData params) throws IOException { argument
90 params.writeValue(stream, mKey);
106 public void write(OutputStream stream, EntityData params) throws IOException { argument
110 mSubTemplate.write(stream, iter);
159 public void writeValue(OutputStream stream, String key) throws IOException { argument
160 stream
226 write(OutputStream stream) argument
230 write(OutputStream stream, EntityData data) argument
[all...]
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/
H A DContentTypeParser.java129 public ContentTypeParser(java.io.InputStream stream) { argument
130 this(stream, null);
132 public ContentTypeParser(java.io.InputStream stream, String encoding) { argument
133 try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
141 public void ReInit(java.io.InputStream stream) { argument
142 ReInit(stream, null);
144 public void ReInit(java.io.InputStream stream, String encoding) { argument
145 try { jj_input_stream.ReInit(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
153 public ContentTypeParser(java.io.Reader stream) { argument
154 jj_input_stream = new SimpleCharStream(stream,
162 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/Mms/src/com/android/mms/transaction/
H A DNotificationPlayer.java53 int stream; field in class:NotificationPlayer.Command
59 return "{ code=" + code + " looping=" + looping + " stream=" + stream
90 player.setAudioStreamType(mCmd.stream);
98 audioManager.requestAudioFocus(null, mCmd.stream,
101 audioManager.requestAudioFocus(null, mCmd.stream,
267 * @param stream the AudioStream to use.
270 * the relevant stream type. A value of 1 is the maximum and means play at the system
273 public void play(Context context, Uri uri, boolean looping, int stream, float volume) { argument
280 cmd.stream
[all...]
/packages/inputmethods/LatinIME/tools/maketext/src/com/android/inputmethod/latin/maketext/
H A DMoreKeysResources.java62 final InputStream stream = JarUtils.openResource(name);
64 mResourcesMap.put(language, new StringResourceMap(stream));
66 close(stream);
256 private static void close(Closeable stream) { argument
258 if (stream != null) {
259 stream.close();
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DUpdateHandler.java577 * @param stream an input stream pointing to the downloaded data. May not be null.
583 private static void handleMetadata(final Context context, final InputStream stream, argument
587 final InputStreamReader reader = new InputStreamReader(stream);
607 * @param inputStream an input stream pointing to the downloaded data. May not be null.
644 // is nothing in InputStream to reopen or rewind the stream
673 * @param in the stream to copy from.
674 * @param out the stream to copy to.
699 * @param in the stream to copy from.
700 * @param out the stream t
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsProvider2.java205 /** Limit for the maximum number of social stream items to store under a raw contact. */
1817 // Also query for all social stream item photos.
1860 // For missing photos that were in stream item photos, just delete the
1861 // stream item photo.
2043 // Enforce stream items access check if applicable.
2067 // Enforce stream items access check if applicable.
2083 // Enforce stream items access check if applicable.
2741 * account in the raw contact for which the stream item is being inserted. If the
2742 * new stream item results in more stream item
7884 buildAssetFileDescriptor(ByteArrayOutputStream stream) argument
7912 outputRawContactsAsVCard(Uri uri, OutputStream stream, String selection, String[] selectionArgs) argument
[all...]

Completed in 1119 milliseconds