/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...] |
java.sql.ResultSet.html | 171 <A NAME="java.sql.ResultSet.updateAsciiStream_added(int, java.io.InputStream)"></A> 172 <nobr><code>void</code> <A HREF="../../../../reference/java/sql/ResultSet.html#updateAsciiStream(int, java.io.InputStream)" target="_top"><code>updateAsciiStream</code></A>(<code>int,</nobr> InputStream<nobr><nobr></code>)</nobr> 178 <A NAME="java.sql.ResultSet.updateAsciiStream_added(int, java.io.InputStream, long)"></A> 179 <nobr><code>void</code> <A HREF="../../../../reference/java/sql/ResultSet.html#updateAsciiStream(int, java.io.InputStream, long)" target="_top"><code>updateAsciiStream</code></A>(<code>int,</nobr> InputStream<nobr>,</nobr> long<nobr><nobr></code>)</nobr> 185 <A NAME="java.sql.ResultSet.updateAsciiStream_added(java.lang.String, java.io.InputStream)"></A> 186 <nobr><code>void</code> <A HREF="../../../../reference/java/sql/ResultSet.html#updateAsciiStream(java.lang.String, java.io.InputStream)" target="_top"><code>updateAsciiStream</code></A>(<code>String,</nobr> InputStream<nobr><nobr></code>)</nobr> 192 <A NAME="java.sql.ResultSet.updateAsciiStream_added(java.lang.String, 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
|
/external/apache-harmony/support/src/test/java/tests/support/resource/ |
Support_Resources.java | 24 import java.io.InputStream; 37 public static InputStream getStream(String name) { 91 InputStream in = Support_Resources.getStream(src); 104 public static void copyLocalFileTo(File dest, InputStream in) throws IOException { 120 InputStream in = new URL(url).openStream(); 136 public static InputStream getResourceStream(String name) { 137 InputStream is = ClassLoader.getSystemClassLoader().getResourceAsStream(name);
|
/external/apache-http/src/org/apache/http/entity/ |
InputStreamEntity.java | 35 import java.io.InputStream; 39 * A streamed entity obtaining content from an {@link InputStream InputStream}. 51 private final InputStream content; 55 public InputStreamEntity(final InputStream instream, long length) { 72 public InputStream getContent() throws IOException { 80 InputStream instream = this.content;
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
StreamGobbler.java | 8 import java.io.InputStream; 11 * A <code>StreamGobbler</code> is an InputStream that uses an internal worker 12 * thread to constantly consume input from another InputStream. It uses a buffer 23 * their STDOUT and STDERR InputStream implementations, however, please be aware 38 public class StreamGobbler extends InputStream 109 private InputStream is; 121 public StreamGobbler(InputStream is)
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
BitmapFactoryTest.java | 13 import java.io.InputStream; 49 InputStream inputStream = Robolectric.application.getContentResolver().openInputStream(Uri.parse("content:/path")); 50 Bitmap bitmap = BitmapFactory.decodeStream(inputStream); 121 InputStream inputStream = Robolectric.application.getContentResolver().openInputStream(Uri.parse("content:/path")); 122 Bitmap bitmap = BitmapFactory.decodeStream(inputStream);
|
/libcore/luni/src/main/java/javax/crypto/ |
CipherInputStream.java | 22 import java.io.InputStream; 27 * This class wraps an {@code InputStream} and a cipher so that {@code read()} 28 * methods return data that are read from the underlying {@code InputStream} and 49 * InputStream} and a cipher. 60 public CipherInputStream(InputStream is, Cipher c) { 67 * InputStream} without a cipher. 74 protected CipherInputStream(InputStream is) {
|
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/ |
SAXParserTest.java | 23 import java.io.InputStream; 133 private InputStream getResource(String name) { 209 // InputStream is = new FileInputStream(list_wf[i]); 226 // InputStream is = new FileInputStream(list_wf[i]); 434 InputStream in = null; 484 InputStream in = null; 496 * @test javax.xml.parsers.SAXParser#parse(java.io.InputStream, 507 InputStream is = new FileInputStream(list_wf[i]); 515 InputStream is = new FileInputStream(list_nwf[i]); 525 parser.parse((InputStream) null, dh) [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactory3Test.java | 32 import java.io.InputStream; 83 * Test for <code>generateCertificate(InputStream inStream)</code> method 99 * Test for <code>generateCertificates(InputStream inStream)</code> method 144 * <code>generateCertPath(InputStream inStream, String encoding)</code> 152 InputStream fis = Support_Resources 164 * Test for <code>generateCertPath(InputStream inStream)</code> method 180 InputStream fis = Support_Resources
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
ContactPhotoUtils.java | 38 import java.io.InputStream; 94 final InputStream imageStream = context.getContentResolver().openInputStream(uri); 149 InputStream inputStream = null; 153 inputStream = context.getContentResolver().openInputStream( 159 while ((length = inputStream.read(buffer)) > 0) { 168 Closeables.closeQuietly(inputStream);
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
AbstractMessageLite.java | 34 import java.io.InputStream; 208 public BuilderType mergeFrom(final InputStream input) throws IOException { 216 final InputStream input, 226 * An InputStream implementations which reads from some other InputStream 234 LimitedInputStream(InputStream in, int limit) { 281 final InputStream input, 289 final InputStream limitedInput = new LimitedInputStream(input, size); 294 public boolean mergeDelimitedFrom(final InputStream input)
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
AbstractMessageLite.java | 34 import java.io.InputStream; 200 public BuilderType mergeFrom(final InputStream input) throws IOException { 208 final InputStream input, 218 * An InputStream implementations which reads from some other InputStream 226 LimitedInputStream(InputStream in, int limit) { 273 final InputStream input, 281 final InputStream limitedInput = new LimitedInputStream(input, size); 286 public boolean mergeDelimitedFrom(final InputStream input)
|
/libcore/luni/src/main/java/java/util/zip/ |
InflaterInputStream.java | 23 import java.io.InputStream; 69 * InputStream} from which the compressed data is to be read from. Default 74 * the {@code InputStream} to read data from. 76 public InflaterInputStream(InputStream is) { 85 * the {@code InputStream} to read data from. 89 public InflaterInputStream(InputStream is, Inflater inflater) { 98 * the {@code InputStream} to read data from. 104 public InflaterInputStream(InputStream is, Inflater inflater, int bufferSize) { 222 * {@link InputStream#available()}, and violates the <a
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
SwappedDataInputStream.java | 22 import java.io.InputStream;
43 * @param input InputStream to read from
45 public SwappedDataInputStream( InputStream input )
87 * Delegates to {@link EndianUtils#readSwappedDouble(InputStream)}.
99 * Delegates to {@link EndianUtils#readSwappedFloat(InputStream)}.
153 * Delegates to {@link EndianUtils#readSwappedInteger(InputStream)}.
178 * Delegates to {@link EndianUtils#readSwappedLong(InputStream)}.
190 * Delegates to {@link EndianUtils#readSwappedShort(InputStream)}.
214 * Delegates to {@link EndianUtils#readSwappedUnsignedShort(InputStream)}.
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
ITestPlan.java | 23 import java.io.InputStream; 35 * @param xmlStream the {@link InputStream} that contains the test plan xml. 37 public void parse(InputStream xmlStream) throws ParseException;
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
CertificateStub.java | 25 import java.io.InputStream; 52 * @see java.security.Certificate#decode(java.io.InputStream) 54 public void decode(InputStream stream) throws KeyException,
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/ |
font_input_stream.cc | 23 FontInputStream::FontInputStream(InputStream* is) 27 FontInputStream::FontInputStream(InputStream* is, size_t length) 32 // Do not close here, underlying InputStream will close themselves.
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/transport/ |
ClientServerHello.java | 8 import java.io.InputStream; 26 public static int readLineRN(InputStream is, byte[] buffer) throws IOException 59 public ClientServerHello(String identification, InputStream bi, OutputStream bo) throws IOException
|