Searched refs:getInputStream (Results 1 - 25 of 65) sorted by relevance

123

/libcore/luni/src/main/java/java/lang/
H A DProcess.java30 * #getInputStream()} and {@link #getErrorStream()} respectively. If these
50 * InputStream in = process.getInputStream();
93 public abstract InputStream getInputStream(); method in class:Process
/libcore/luni/src/test/java/libcore/sqlite/
H A DOldBlobTest.java93 InputStream is = blob.getInputStream();
103 InputStream in = testBlob.getInputStream();
130 assertNull(testBlob.getInputStream());
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
H A DZipFileTest.java168 InputStream is1 = zf.getInputStream(zf.getEntry("File1.txt"));
169 InputStream is2 = zf.getInputStream(zf.getEntry("File2.txt"));
240 in = zfile.getInputStream(zentry);
248 in = zfile.getInputStream(zentry);
264 in = zfile.getInputStream(zentry);
291 * java.util.zip.ZipFile#getInputStream(java.util.zip.ZipEntry)
295 // java.util.zip.ZipFile.getInputStream(java.util.zip.ZipEntry)
300 is = zfile.getInputStream(zentry);
304 assertEquals("getInputStream read incorrect data", "This is text",
307 fail("IOException during getInputStream");
[all...]
/libcore/luni/src/test/java/libcore/java/util/jar/
H A DOldJarFileTest.java120 InputStream is = jf.getInputStream(jf.getEntry(entryName));
133 InputStream in = jf.getInputStream(new JarEntry("invalid"));
141 jf.getInputStream(jre);
154 jf.getInputStream(jre);
/libcore/luni/src/test/java/libcore/java/util/zip/
H A DOldZipFileTest.java65 in = zfile.getInputStream(zentry);
91 InputStream is1 = zf.getInputStream(zf.getEntry("File1.txt"));
92 InputStream is2 = zf.getInputStream(zf.getEntry("File2.txt"));
128 * java.util.zip.ZipFile#getInputStream(java.util.zip.ZipEntry)
132 // java.util.zip.ZipFile.getInputStream(java.util.zip.ZipEntry)
139 is = zfile.getInputStream(zentry);
H A DOldAndroidZipFileTest.java140 stream1 = zipFile.getInputStream(entry1);
141 stream2 = zipFile.getInputStream(entry2);
178 stream1 = zipFile.getInputStream(zipFile.getEntry("file-0"));
H A DOldAndroidZipStressTest.java46 InputStream is = jarFile.getInputStream(je);
86 InputStream stream = zip.getInputStream(entry);
105 InputStream stream = zip.getInputStream(entries.nextElement());
/libcore/luni/src/test/java/libcore/java/net/
H A DOldUnixSocketTest.java48 InputStream in = worker.getInputStream();
54 InputStream clientIn = pingClient.getInputStream();
H A DURLConnectionTest.java296 assertEquals("ABC", readAscii(connection1.getInputStream(), Integer.MAX_VALUE));
299 assertEquals("DEF", readAscii(connection2.getInputStream(), Integer.MAX_VALUE));
368 connection.getInputStream();
448 conn.getInputStream();
508 readAscii(connection.getInputStream(), Integer.MAX_VALUE);
547 connection.getInputStream();
824 InputStream in = connection.getInputStream();
931 InputStream in = server.getUrl("/").openConnection().getInputStream();
977 readAscii(connection.getInputStream(), Integer.MAX_VALUE);
993 readAscii(connection.getInputStream(), Intege
[all...]
H A DSocketTest.java158 @Override protected InputStream getInputStream() throws IOException { return null; }
214 InputStream in = socket.getInputStream();
277 InputStream in = socket.getInputStream();
309 InputStream in = socket.getInputStream();
H A DOldJarURLConnectionTest.java82 InputStream is = jf.getInputStream(je);
233 connection.getInputStream();
234 InputStream in = connection.getInputStream();
245 connection.getInputStream();
304 InputStream is = conn.getInputStream();
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
H A DJarFileTest.java407 InputStream is = jarFile.getInputStream(entry);
518 * java.util.jar.JarFile#getInputStream(java.util.zip.ZipEntry)
535 InputStream in = jar.getInputStream(entry);
544 InputStream in = jar.getInputStream(entry);
557 InputStream in = jar.getInputStream(entry);
578 InputStream in = jar.getInputStream(entry);
599 jarFile.getInputStream(zipEntry);
612 jarFile.getInputStream(zipEntry).skip(Long.MAX_VALUE);
626 jarFile.getInputStream(zipEntry).skip(Long.MAX_VALUE);
632 //jarFile.getInputStream(zipEntr
[all...]
/libcore/luni/src/main/java/java/util/jar/
H A DJarFile.java290 InputStream is = super.getInputStream(manifestEntry);
293 is = super.getInputStream(manifestEntry);
342 InputStream is = super.getInputStream(entry);
369 public InputStream getInputStream(ZipEntry ze) throws IOException { method in class:JarFile
388 InputStream in = super.getInputStream(ze);
/libcore/luni/src/test/java/tests/api/java/lang/
H A DProcessTest.java29 * java.lang.Process#getInputStream()
50 InputStream is = proc.getInputStream();
89 InputStream is = proc.getInputStream();
192 public InputStream getInputStream() { method in class:ProcessTest.ProcessClass
H A DProcess2Test.java33 * java.lang.Process#getInputStream(),
42 assertNotNull(p.getInputStream());
/libcore/luni/src/main/java/java/net/
H A DSocketImpl.java167 protected abstract InputStream getInputStream() throws IOException; method in class:SocketImpl
H A DURLConnection.java38 * InputStream in = new BufferedInputStream(urlConnection.getInputStream());
195 contentType = guessContentTypeFromStream(getInputStream());
229 contentType = guessContentTypeFromStream(getInputStream());
588 public InputStream getInputStream() throws IOException { method in class:URLConnection
1018 return u.getInputStream();
/libcore/luni/src/main/java/javax/xml/transform/sax/
H A DSAXSource.java194 isource.setByteStream(ss.getInputStream());
/libcore/luni/src/main/java/javax/xml/transform/stream/
H A DStreamSource.java163 public InputStream getInputStream() { method in class:StreamSource
/libcore/luni/src/main/java/libcore/net/http/
H A DHttpConnection.java156 public InputStream getInputStream() throws IOException { method in class:HttpConnection
159 sslInputStream = sslSocket.getInputStream();
171 ? socket.getInputStream()
172 : new BufferedInputStream(socket.getInputStream(), bufferSize);
/libcore/support/src/test/java/tests/support/
H A DSupport_Exec.java90 streamToStringCallable(process.getInputStream()));
130 executorService.submit(streamToStringCallable(process.getInputStream()));
/libcore/luni/src/main/java/libcore/net/url/
H A DJarURLConnectionImpl.java142 final InputStream is = jarFileURL.openConnection().getInputStream();
215 public InputStream getInputStream() throws IOException { method in class:JarURLConnectionImpl
227 .getInputStream(jarEntry), jarFile);
H A DFtpURLConnection.java223 ctrlInput = controlSocket.getInputStream();
253 new BufferedInputStream(dataSocket.getInputStream()), controlSocket);
298 public InputStream getInputStream() throws IOException { method in class:FtpURLConnection
332 * @see #getInputStream()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
H A DHttpURLConnectionTest.java96 int num = socket.getInputStream().read(buff);
101 num = socket.getInputStream().read(buff);
106 num = socket.getInputStream().read(buff);
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DURLConnectionTest.java431 fileURLCon.getInputStream().close();
478 fileURLCon.getInputStream().close();
485 fileURLCon.getInputStream().close();
555 fileURLCon.getInputStream().close();
559 uc2.getInputStream();
789 uc2.getInputStream();
876 fileURLCon.getInputStream().close();
1233 ((InputStream) uc2.getInputStream()).read(ba, 0, 600);
1262 fileURLCon.getInputStream()), testString.getBytes().length);
1271 assertNotNull(uc.getInputStream());
[all...]

Completed in 3676 milliseconds

123