HomeSort by relevance Sort by last modified time
    Searched refs:InputStream (Results 226 - 250 of 2666) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/glide/library/src/main/java/com/bumptech/glide/load/model/
ImageVideoModelLoader.java 9 import java.io.InputStream;
12 * A wrapper model loader that provides both an {@link java.io.InputStream} and a
14 * {@link com.bumptech.glide.load.model.ModelLoader} for {@link java.io.InputStream}s for the given model type and an
23 private final ModelLoader<A, InputStream> streamLoader;
26 public ImageVideoModelLoader(ModelLoader<A, InputStream> streamLoader,
37 DataFetcher<InputStream> streamFetcher = null;
54 private final DataFetcher<InputStream> streamFetcher;
57 public ImageVideoFetcher(DataFetcher<InputStream> streamFetcher,
67 InputStream is = null;
  /frameworks/base/core/java/android/webkit/
WebResourceResponse.java 19 import java.io.InputStream;
37 private InputStream mInputStream;
42 * {@link InputStream#read(byte[]) InputStream.read(byte[])} for the input
51 InputStream data) {
59 * implement {@link InputStream#read(byte[]) InputStream.read(byte[])} for
74 String reasonPhrase, Map<String, String> responseHeaders, InputStream data) {
189 * must implement {@link InputStream#read(byte[]) InputStream.read(byte[])}
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
CheckedInputStreamTest.java 22 import java.io.InputStream;
31 * java.util.zip.CheckedInputStream#CheckedInputStream(java.io.InputStream,
35 InputStream checkInput = Support_Resources.getStream("hyts_checkInput.txt");
48 InputStream inEmp = new FileInputStream(f);
57 InputStream checkInput = Support_Resources.getStream("hyts_checkInput.txt");
82 InputStream checkInput = Support_Resources.getStream("hyts_checkInput.txt");
98 InputStream checkInput = Support_Resources
115 InputStream checkInput = Support_Resources
  /libcore/luni/src/test/java/libcore/java/util/zip/
OldZipFileTest.java 24 import java.io.InputStream;
31 public byte[] getAllBytesFromStream(InputStream is) throws IOException {
54 InputStream in;
60 * Android delivers empty InputStream, RI no InputStream at all. The
84 InputStream is1 = zf.getInputStream(zf.getEntry("File1.txt"));
85 InputStream is2 = zf.getInputStream(zf.getEntry("File2.txt"));
124 // Test for method java.io.InputStream
127 InputStream is = null;
148 InputStream is = Support_Resources.getStream("hyts_ZipFile.zip")
    [all...]
  /libcore/ojluni/src/main/java/java/security/cert/
CertificateFactory.java 28 import java.io.InputStream;
342 * {@link java.io.InputStream#mark(int) mark} and
343 * {@link java.io.InputStream#reset() reset}, this method will
359 public final Certificate generateCertificate(InputStream inStream)
387 * the data read from the {@code InputStream} inStream. The data
392 * @param inStream an {@code InputStream} containing the data
394 * {@code InputStream}
398 public final CertPath generateCertPath(InputStream inStream)
406 * the data read from the {@code InputStream} inStream. The data
413 * @param inStream an {@code InputStream} containing the dat
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/pm/
LimitedLengthInputStreamTest.java 24 import java.io.InputStream;
30 private InputStream mTestStream1;
42 InputStream is = new LimitedLengthInputStream(mTestStream1, -1, TEST_STRING1.length);
52 InputStream is = new LimitedLengthInputStream(mTestStream1, 0, -1);
62 InputStream is = new LimitedLengthInputStream(null, 0, 1);
72 InputStream is = new LimitedLengthInputStream(mTestStream1, Long.MAX_VALUE - 1,
88 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length);
123 InputStream is = new LimitedLengthInputStream(mTestStream1, 0, TEST_STRING1.length + 10);
138 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length);
168 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length)
    [all...]
  /libcore/luni/src/main/java/libcore/io/
Streams.java 22 import java.io.InputStream;
35 * Implements InputStream.read(int) in terms of InputStream.read(byte[], int, int).
36 * InputStream assumes that you implement InputStream.read(int) and provides default
39 public static int readSingleByte(InputStream in) throws IOException {
59 public static void readFully(InputStream in, byte[] dst) throws IOException {
69 public static void readFully(InputStream in, byte[] dst, int offset, int byteCount) throws IOException {
93 public static byte[] readFully(InputStream in) throws IOException {
104 public static byte[] readFullyNoClose(InputStream in) throws IOException
    [all...]
  /libcore/ojluni/src/main/java/java/sql/
PreparedStatement.java 32 import java.io.InputStream;
302 * <code>java.io.InputStream</code>. Data will be read from the stream
317 void setAsciiStream(int parameterIndex, java.io.InputStream x, int length)
326 * <code>java.io.InputStream</code> object. The data will be read from the
338 * @param x a <code>java.io.InputStream</code> object that contains the
349 void setUnicodeStream(int parameterIndex, java.io.InputStream x,
357 * <code>java.io.InputStream</code> object. The data will be read from the
371 void setBinaryStream(int parameterIndex, java.io.InputStream x,
    [all...]
  /external/testng/src/main/java/org/testng/reporters/
Files.java 11 import java.io.InputStream;
21 try (InputStream is = new FileInputStream(f)) {
26 public static String readFile(InputStream is) throws IOException {
46 public static void copyFile(InputStream from, File to) throws IOException {
61 public static String streamToString(InputStream is) throws IOException {
  /frameworks/base/graphics/java/android/graphics/
Movie.java 20 import java.io.InputStream;
51 public static Movie decodeStream(InputStream is) {
64 private static native Movie nativeDecodeStream(InputStream is);
71 InputStream is;
91 private static Movie decodeTempStream(InputStream is) {
  /libcore/luni/src/test/java/libcore/java/io/
OldAndroidByteArrayInputStreamTest.java 21 import java.io.InputStream;
44 public static String read(InputStream a) throws IOException {
55 public static String read(InputStream a, int x) throws IOException {
64 public static String skipRead(InputStream a) throws IOException {
76 public static String markRead(InputStream a, int x, int y) throws IOException {
  /libcore/luni/src/test/java/libcore/java/util/jar/
OldJarInputStreamTest.java 24 import java.io.InputStream;
35 InputStream is = new BufferedInputStream(new ByteArrayInputStream(new byte[0]));
47 public Mock_JarInputStream(InputStream in) throws IOException {
59 InputStream is = Support_Resources.getStream("Broken_entry.jar");
67 InputStream is = Support_Resources.getStream("Broken_entry_data.jar");
  /libcore/ojluni/src/main/java/java/util/zip/
GZIPInputStream.java 31 import java.io.InputStream;
76 public GZIPInputStream(InputStream in, int size) throws IOException {
91 public GZIPInputStream(InputStream in) throws IOException {
161 private int readHeader(InputStream this_in) throws IOException {
213 InputStream in = this.in;
250 private long readUInt(InputStream in) throws IOException {
258 private int readUShort(InputStream in) throws IOException {
266 private int readUByte(InputStream in) throws IOException {
285 private void skipBytes(InputStream in, int n) throws IOException {
  /external/lzma/Java/Tukaani/src/org/tukaani/xz/
XZInputStream.java 12 import java.io.InputStream;
29 * InputStream infile = new FileInputStream("foo.xz");
46 * InputStream infile = new FileInputStream("foo.xz");
63 public class XZInputStream extends InputStream {
65 private InputStream in;
99 public XZInputStream(InputStream in) throws IOException {
106 * This is identical to <code>XZInputStream(InputStream)</code> except
132 public XZInputStream(InputStream in, int memoryLimit) throws IOException {
140 * This is identical to <code>XZInputStream(InputStream,int)</code> except
187 public XZInputStream(InputStream in, int memoryLimit, boolean verifyCheck
    [all...]
  /libcore/ojluni/src/main/java/sun/misc/
Resource.java 32 import java.io.InputStream;
63 * Returns an InputStream for reading the Resource data.
65 public abstract InputStream getInputStream() throws IOException;
72 private InputStream cis;
75 private synchronized InputStream cachedInputStream() throws IOException {
89 InputStream in = cachedInputStream();
160 InputStream in = cachedInputStream();
  /packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
encodings.h 54 template <typename InputStream>
55 static bool Decode(InputStream& is, unsigned* codepoint);
62 template <typename InputStream, typename OutputStream>
63 static bool Validate(InputStream& is, OutputStream& os);
123 template <typename InputStream>
124 static bool Decode(InputStream& is, unsigned* codepoint) {
152 template <typename InputStream, typename OutputStream>
153 static bool Validate(InputStream& is, OutputStream& os) {
262 template <typename InputStream>
263 static bool Decode(InputStream& is, unsigned* codepoint) {
    [all...]
  /developers/build/prebuilts/gradle/Quiz/Application/src/main/java/com/example/android/wearable/quiz/
JsonUtils.java 25 import java.io.InputStream;
39 InputStream is = context.getAssets().open(fileName);
  /developers/samples/android/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/
JsonUtils.java 25 import java.io.InputStream;
39 InputStream is = context.getAssets().open(fileName);
  /development/samples/ApiDemos/src/com/example/android/apis/content/
ReadAsset.java 28 import java.io.InputStream;
49 InputStream is = getAssets().open("read_asset.txt");
  /development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
VoicemailProviderHelper.java 24 import java.io.InputStream;
104 * The inputStream is owned by the caller and must be closed by it as usual after the call has
110 public void setVoicemailContent(Uri voicemailUri, InputStream inputStream, String mimeType)
  /development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
JsonUtils.java 25 import java.io.InputStream;
39 InputStream is = context.getAssets().open(fileName);
  /development/tools/mkstubs/tests/data/
TestTemplateClass.java 21 import java.io.InputStream;
30 public class TestTemplateClass<T extends InputStream, U> {
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/
StreamRedirector.java 30 import java.io.InputStream;
50 public StreamRedirector(InputStream is, LogWriter logWriter, String name) {
  /external/apache-harmony/support/src/test/java/tests/support/
Streams.java 22 import java.io.InputStream;
36 public static byte[] streamToBytes(InputStream source) throws IOException {
  /external/apache-http/android/src/com/android/internal/http/multipart/
FilePartSource.java 38 import java.io.InputStream;
123 public InputStream createInputStream() throws IOException {

Completed in 1661 milliseconds

1 2 3 4 5 6 7 8 91011>>