/frameworks/base/core/java/android/webkit/ |
PluginData.java | 19 import java.io.InputStream; 40 private InputStream mStream; 73 InputStream stream, 86 * @return An InputStream instance with the plugin content. 93 public InputStream getInputStream() {
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
PartSource.java | 34 import java.io.InputStream; 62 * Gets a new InputStream for reading this source. This method can be 66 * @return a new InputStream 68 * @throws IOException if an error occurs when creating the InputStream 70 InputStream createInputStream() throws IOException;
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldAndroidDataInputStreamTest.java | 24 import java.io.InputStream; 108 public static String read(InputStream a) throws IOException { 119 public static String read(InputStream a, int x) throws IOException { 128 public static String skipRead(InputStream a) throws IOException { 140 public static String markRead(InputStream a, int x, int y) throws IOException {
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterInputStreamTest.java | 22 import java.io.InputStream; 32 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data)); 53 java.io.InputStream in = new InflaterInputStream(new ByteArrayInputStream(bytes)); 66 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data)); 89 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data));
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/ |
MemoryBinaryBody.java | 25 import java.io.InputStream;
50 * Use the given InputStream to build the TemporyFileBinaryBody
52 * @param is the InputStream to use as source
55 public MemoryBinaryBody(InputStream is) throws IOException {
82 public InputStream getInputStream() throws IOException {
|
TempFileBinaryBody.java | 23 import java.io.InputStream;
49 * Use the given InputStream to build the TemporyFileBinaryBody
51 * @param is the InputStream to use as source
54 public TempFileBinaryBody(InputStream is) throws IOException {
81 public InputStream getInputStream() throws IOException {
|
Message.java | 23 import java.io.InputStream;
64 public Message(InputStream is) throws IOException {
173 * @see org.apache.james.mime4j.ContentHandler#body(org.apache.james.mime4j.BodyDescriptor, java.io.InputStream)
175 public void body(BodyDescriptor bd, InputStream is) throws IOException {
222 * @see org.apache.james.mime4j.ContentHandler#epilogue(java.io.InputStream)
224 public void epilogue(InputStream is) throws IOException {
235 * @see org.apache.james.mime4j.ContentHandler#preamble(java.io.InputStream)
237 public void preamble(InputStream is) throws IOException {
250 * @see org.apache.james.mime4j.ContentHandler#raw(java.io.InputStream)
252 public void raw(InputStream is) throws IOException { [all...] |
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
Compress.java | 25 import java.io.InputStream; 40 public static InputStream getUncompressedStream(final InputStream in) throws IOException { 64 final InputStream input = inFilename.equals(STDIN_OR_STDOUT) ? System.in 92 final InputStream input = inFilename.equals(STDIN_OR_STDOUT) ? System.in
|
/external/apache-http/src/org/apache/http/impl/io/ |
ContentLengthInputStream.java | 35 import java.io.InputStream; 48 * through the {@link InputStream#mark} and {@link InputStream#reset} calls to 62 * support {@link InputStream#mark} and {@link InputStream#reset}. That choice 71 public class ContentLengthInputStream extends InputStream { 136 * @see java.io.InputStream#read() 151 * Does standard {@link InputStream#read(byte[], int, int)} behavior, but 185 * @see java.io.InputStream#read(byte[]) 197 * @see InputStream#skip(long [all...] |
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
MockWebServerTest.java | 22 import java.io.InputStream; 72 InputStream in = response.getBodyStream(); 107 InputStream in = connection.getInputStream(); 126 InputStream in = connection.getInputStream(); 154 InputStream in = connection.getInputStream(); 167 InputStream in = connection.getInputStream(); 186 InputStream in = urlConnection.getInputStream(); 197 InputStream in2 = urlConnection2.getInputStream(); 221 InputStream responseBody = new ByteArrayInputStream("ABC".getBytes("UTF-8")); 225 InputStream in = server.getUrl("/").openConnection().getInputStream() [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
ExifParser.java | 22 import java.io.InputStream; 30 * InputStream, the caller can request which IFD's to read via 31 * {@link #parse(InputStream, int)} with given options. 201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef) 203 if (inputStream == null) { 204 throw new IOException("Null argument inputStream to ExifParser"); 210 mContainExifData = seekTiffData(inputStream); 211 mTiffStream = new CountedDataInputStream(inputStream); 234 * Parses the the given InputStream with the given option [all...] |
/packages/apps/Camera2/src/com/android/camera/exif/ |
ExifParser.java | 22 import java.io.InputStream; 30 * InputStream, the caller can request which IFD's to read via 31 * {@link #parse(InputStream, int)} with given options. 201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef) 203 if (inputStream == null) { 204 throw new IOException("Null argument inputStream to ExifParser"); 210 mContainExifData = seekTiffData(inputStream); 211 mTiffStream = new CountedDataInputStream(inputStream); 234 * Parses the the given InputStream with the given option [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
ExifParser.java | 22 import java.io.InputStream; 30 * InputStream, the caller can request which IFD's to read via 31 * {@link #parse(InputStream, int)} with given options. 201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef) 203 if (inputStream == null) { 204 throw new IOException("Null argument inputStream to ExifParser"); 210 mContainExifData = seekTiffData(inputStream); 211 mTiffStream = new CountedDataInputStream(inputStream); 234 * Parses the the given InputStream with the given option [all...] |
/packages/apps/Launcher3/src/com/android/gallery3d/exif/ |
ExifParser.java | 22 import java.io.InputStream; 30 * InputStream, the caller can request which IFD's to read via 31 * {@link #parse(InputStream, int)} with given options. 201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef) 203 if (inputStream == null) { 204 throw new IOException("Null argument inputStream to ExifParser"); 210 mContainExifData = seekTiffData(inputStream); 211 mTiffStream = new CountedDataInputStream(inputStream); 234 * Parses the the given InputStream with the given option [all...] |
/packages/apps/Mms/src/com/android/mms/exif/ |
ExifParser.java | 22 import java.io.InputStream; 30 * InputStream, the caller can request which IFD's to read via 31 * {@link #parse(InputStream, int)} with given options. 201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef) 203 if (inputStream == null) { 204 throw new IOException("Null argument inputStream to ExifParser"); 210 mContainExifData = seekTiffData(inputStream); 211 mTiffStream = new CountedDataInputStream(inputStream); 234 * Parses the the given InputStream with the given option [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
DrawableTest.java | 29 import java.io.InputStream; 137 InputStream source = null; 161 FileInputStream inputStream = null; 181 inputStream = new FileInputStream(imageFile); 182 assertNotNull(Drawable.createFromStream(inputStream, "Sample")); 191 if (null != inputStream) { 192 inputStream.close(); 205 FileInputStream inputStream = null; 209 assertNull(Drawable.createFromResourceStream(null, null, inputStream, "test.bmp")); 226 inputStream = new FileInputStream(imageFile) [all...] |
/frameworks/base/docs/html/training/basics/network-ops/ |
connecting.jd | 22 <li><a href="#stream">Convert the InputStream to a String</a></li> 148 // an InputStream. Finally, the InputStream is converted into a string, which is 190 java.io.InputStream}.</li> 192 <li>The {@link java.io.InputStream} is passed to the <code>readIt()</code> 205 After you call {@code connect()}, you can get an {@link java.io.InputStream} of the data 213 the data as an {@link java.io.InputStream}.</p> 217 // the web page content as a InputStream, which it returns as 220 InputStream is = null; 238 // Convert the InputStream into a strin [all...] |
/external/chromium_org/android_webview/browser/net/ |
android_stream_reader_url_request_job.cc | 33 using android_webview::InputStream; 50 // ref counting is used to ensure that the InputStream and InputStreamReader 57 scoped_ptr<InputStream> input_stream, 65 android_webview::InputStream* input_stream() { 81 scoped_ptr<android_webview::InputStream> input_stream_; 104 scoped_ptr<InputStream>)> OnInputStreamOpenedCallback; 116 scoped_ptr<InputStream> input_stream = delegate->OpenInputStream(env, url); 141 // The delegate will be "returned" to the job once the InputStream 156 AndroidStreamReaderURLRequestJob::CreateStreamReader(InputStream* stream) { 162 scoped_ptr<android_webview::InputStream> input_stream) [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
EC3TrackImpl.java | 12 import java.io.InputStream; 35 private BufferedInputStream inputStream; 40 public EC3TrackImpl(InputStream fin, String lang) throws IOException { 45 public EC3TrackImpl(InputStream fin) throws IOException { 49 private void parse(InputStream fin) throws IOException { 50 inputStream = new BufferedInputStream(fin); 53 inputStream.mark(10000); 66 long skipped = inputStream.skip(bsi.frameSize); 71 inputStream.reset(); 171 inputStream.mark(200) [all...] |
/libcore/luni/src/main/java/java/io/ |
BufferedInputStream.java | 23 * Wraps an existing {@link InputStream} and <em>buffers</em> the input. 40 * The buffer containing the current bytes read from the target InputStream. 73 * @param in the {@code InputStream} the buffer reads from. 75 public BufferedInputStream(InputStream in) { 87 * @param in the {@code InputStream} the buffer reads from. 91 public BufferedInputStream(InputStream in, int size) { 102 * plus those available in the source stream, but see {@link InputStream#available} for 110 InputStream localIn = in; // 'in' could be invalidated by close() 131 InputStream localIn = in; 138 private int fillbuf(InputStream localIn, byte[] localBuf [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStreamTest.java | 26 import java.io.InputStream; 91 InputStream is = new ByteArrayInputStream(myMessage); 92 InputStream dis = new DigestInputStream(is, md); 109 InputStream dis = new DigestInputStream(null, null); 124 InputStream is = new ByteArrayInputStream(myMessage); 157 InputStream is = new ByteArrayInputStream(myMessage); 192 InputStream is = new ByteArrayInputStream(myMessage); 217 * <code>InputStream</code> not set. <code>read()</code> must 234 fail("InputStream not set. read() must not work"); 252 InputStream is = new ByteArrayInputStream(myMessage) [all...] |
/frameworks/base/docs/html/sdk/api_diff/9/changes/ |
java.sql.PreparedStatement.html | 86 <A NAME="java.sql.PreparedStatement.setAsciiStream_added(int, java.io.InputStream)"></A> 87 <nobr><code>void</code> <A HREF="../../../../reference/java/sql/PreparedStatement.html#setAsciiStream(int, java.io.InputStream)" target="_top"><code>setAsciiStream</code></A>(<code>int,</nobr> InputStream<nobr><nobr></code>)</nobr> 93 <A NAME="java.sql.PreparedStatement.setAsciiStream_added(int, java.io.InputStream, long)"></A> 94 <nobr><code>void</code> <A HREF="../../../../reference/java/sql/PreparedStatement.html#setAsciiStream(int, java.io.InputStream, long)" target="_top"><code>setAsciiStream</code></A>(<code>int,</nobr> InputStream<nobr>,</nobr> long<nobr><nobr></code>)</nobr> 100 <A NAME="java.sql.PreparedStatement.setBinaryStream_added(int, java.io.InputStream)"></A> 101 <nobr><code>void</code> <A HREF="../../../../reference/java/sql/PreparedStatement.html#setBinaryStream(int, java.io.InputStream)" target="_top"><code>setBinaryStream</code></A>(<code>int,</nobr> InputStream<nobr><nobr></code>)</nobr> 107 <A NAME="java.sql.PreparedStatement.setBinaryStream_added(int, java.io.InputStream, long)"></A [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStreamTest.java | 27 import java.io.InputStream; 84 InputStream is = new ByteArrayInputStream(myMessage); 85 InputStream dis = new DigestInputStream(is, md); 102 InputStream dis = new DigestInputStream(null, null); 117 InputStream is = new ByteArrayInputStream(myMessage); 150 InputStream is = new ByteArrayInputStream(myMessage); 185 InputStream is = new ByteArrayInputStream(myMessage); 210 * <code>InputStream</code> not set. <code>read()</code> must 228 fail("InputStream not set. read() must not work"); 246 InputStream is = new ByteArrayInputStream(myMessage) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
PropertyResourceBundleTest.java | 23 import java.io.InputStream; 41 * @tests java.util.PropertyResourceBundle#PropertyResourceBundle(java.io.InputStream) 45 InputStream propertiesStream = new ByteArrayInputStream( 59 new PropertyResourceBundle((InputStream) null); 150 InputStream propertiesStream = new ByteArrayInputStream( 172 MockResourceBundle(java.io.InputStream stream) throws IOException { 182 java.io.InputStream localStream = new java.io.ByteArrayInputStream(
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateFactory3Test.java | 25 import java.io.InputStream; 84 * Test for <code>generateCertificate(InputStream inStream)</code> method 100 * Test for <code>generateCertificates(InputStream inStream)</code> method 145 * <code>generateCertPath(InputStream inStream, String encoding)</code> 153 InputStream fis = Support_Resources 165 * Test for <code>generateCertPath(InputStream inStream)</code> method 181 InputStream fis = Support_Resources
|