HomeSort by relevance Sort by last modified time
    Searched full:inputstream (Results 251 - 275 of 2007) sorted by null

<<11121314151617181920>>

  /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)
  /frameworks/base/docs/html/sdk/api_diff/9/changes/
java.sql.ResultSet.html 171 <A NAME="java.sql.ResultSet.updateAsciiStream_added(int, java.io.InputStream)"></A>
172 <nobr><code>void</code>&nbsp;<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>&nbsp;<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>&nbsp;<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/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/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
  /external/guava/guava/src/com/google/common/io/
CountingInputStream.java 23 import java.io.InputStream;
26 * An {@link InputStream} that counts the number of bytes read.
42 public CountingInputStream(InputStream in) {
LimitInputStream.java 24 import java.io.InputStream;
27 * An InputStream that limits the number of bytes which can be read.
44 public LimitInputStream(InputStream in, long limit) {
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/
MetadataManager.java 23 import java.io.InputStream;
57 private static void close(InputStream in) {
68 InputStream source = PhoneNumberMatcher.class.getResourceAsStream(
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/
Util.java 23 import java.io.InputStream;
176 * Implements InputStream.read(int) in terms of InputStream.read(byte[], int, int).
177 * InputStream assumes that you implement InputStream.read(int) and provides default
180 public static int readSingleByte(InputStream in) throws IOException {
200 public static void readFully(InputStream in, byte[] dst) throws IOException {
210 public static void readFully(InputStream in, byte[] dst, int offset, int byteCount)
247 public static void skipAll(InputStream in) throws IOException {
264 public static long skipByReading(InputStream in, long byteCount) throws IOException
    [all...]
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
Transport.java 20 import java.io.InputStream;
59 InputStream getTransferStream(CacheRequest cacheRequest) throws IOException;
63 InputStream responseBodyIn);
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/
StrictLineReaderTest.java 21 import java.io.InputStream;
31 InputStream refStream = createTestInputStream();
57 private InputStream createTestInputStream() {
  /external/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.
  /frameworks/base/core/tests/coretests/src/android/content/
AssetTest.java 24 import java.io.InputStream;
35 public static void verifyTextAsset(InputStream is) throws IOException {
64 InputStream is = mAssets.open("text.txt");
  /frameworks/base/services/java/com/android/server/
RandomBlock.java 26 import java.io.InputStream;
43 InputStream stream = null;
52 private static RandomBlock fromStream(InputStream in) throws IOException {

Completed in 722 milliseconds

<<11121314151617181920>>