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

1234

/libcore/luni/src/test/java/libcore/java/util/zip/
H A DOldZipFileTest.java58 in = zfile.getInputStream(zentry);
84 InputStream is1 = zf.getInputStream(zf.getEntry("File1.txt"));
85 InputStream is2 = zf.getInputStream(zf.getEntry("File2.txt"));
121 * java.util.zip.ZipFile#getInputStream(java.util.zip.ZipEntry)
125 // java.util.zip.ZipFile.getInputStream(java.util.zip.ZipEntry)
132 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
H A DJarInputStreamTest.java57 InputStream is = new URL(jarName).openConnection().getInputStream();
97 InputStream is = new URL(jarName).openConnection().getInputStream();
131 InputStream is = new URL(jarName2).openConnection().getInputStream();
136 is = new URL(jarName).openConnection().getInputStream();
146 InputStream is = new URL(jarName).openConnection().getInputStream();
160 .getInputStream();
176 .getInputStream();
203 .getInputStream();
224 .getInputStream();
251 .getInputStream();
[all...]
H A DJarFileTest.java439 InputStream is = jarFile.getInputStream(entry);
548 * java.util.jar.JarFile#getInputStream(java.util.zip.ZipEntry)
565 InputStream in = jar.getInputStream(entry);
574 InputStream in = jar.getInputStream(entry);
587 InputStream in = jar.getInputStream(entry);
608 InputStream in = jar.getInputStream(entry);
666 InputStream is = jarFile.getInputStream(entry);
712 InputStream is = jarFile.getInputStream(entry);
774 jarFile.getInputStream(zipEntry);
787 jarFile.getInputStream(zipEntr
[all...]
H A DJarEntryTest.java131 try (InputStream in = jarFile.getInputStream(jarEntry1)) {
163 InputStream in = jarFile.getInputStream(jarEntry);
/libcore/ojluni/src/main/java/sun/net/www/
H A DURLConnection.java107 getInputStream();
121 getInputStream();
136 getInputStream();
153 ct = guessContentTypeFromStream(getInputStream());
203 getInputStream();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
H A DZipFileTest.java131 InputStream is1 = zf.getInputStream(zf.getEntry("File1.txt"));
132 InputStream is2 = zf.getInputStream(zf.getEntry("File2.txt"));
203 in = zfile.getInputStream(zentry);
211 in = zfile.getInputStream(zentry);
227 in = zfile.getInputStream(zentry);
254 * java.util.zip.ZipFile#getInputStream(java.util.zip.ZipEntry)
258 // java.util.zip.ZipFile.getInputStream(java.util.zip.ZipEntry)
263 is = zfile.getInputStream(zentry);
267 assertEquals("getInputStream read incorrect data", "This is text",
270 fail("IOException during getInputStream");
[all...]
H A DGZIPInputStreamTest.java70 .openConnection().getInputStream());
98 .openConnection().getInputStream(), 200);
107 .openConnection().getInputStream(), 0);
117 .openConnection().getInputStream(), 200);
140 .openConnection().getInputStream());
256 .openConnection().getInputStream());
/libcore/luni/src/test/java/libcore/java/util/jar/
H A DOldJarFileTest.java125 InputStream is = jf.getInputStream(jf.getEntry(entryName));
138 InputStream in = jf.getInputStream(new JarEntry("invalid"));
146 jf.getInputStream(jre);
159 jf.getInputStream(jre);
/libcore/ojluni/src/main/java/java/lang/
H A DProcess.java52 * {@link #getInputStream()}, and
121 public abstract InputStream getInputStream(); method in class:Process
/libcore/benchmarks/src/benchmarks/
H A DBufferedZipFileBenchmark.java60 InputStream in = zipFile.getInputStream(entry);
73 InputStream in = new BufferedInputStream(zipFile.getInputStream(entry));
/libcore/luni/src/test/java/libcore/java/net/
H A DOldUnixSocketTest.java53 InputStream in = worker.getInputStream();
59 InputStream clientIn = pingClient.getInputStream();
H A DFtpURLConnectionTest.java94 assertContents(fileContents, connection.getInputStream());
117 assertContents(fileContents, connection.getInputStream());
157 assertContents(fileContents, connection.getInputStream());
180 InputStream inputStream = connection.getInputStream();
201 assertContents(fileContents, connection.getInputStream());
208 assertContents(data, url.openConnection().getInputStream());
219 assertContents(fileContents, url.openConnection().getInputStream());
H A DURLConnectionTest.java413 assertEquals("ABC", readAscii(connection1.getInputStream(), Integer.MAX_VALUE));
416 assertEquals("DEF", readAscii(connection2.getInputStream(), Integer.MAX_VALUE));
538 conn.getInputStream();
598 readAscii(connection.getInputStream(), Integer.MAX_VALUE);
621 connection.getInputStream();
1070 InputStream in = connection.getInputStream();
1085 checkDisconnectDuringConnect(HttpURLConnection::getInputStream);
1211 InputStream in = server.getUrl("/").openConnection().getInputStream();
1257 readAscii(connection.getInputStream(), Integer.MAX_VALUE);
1273 readAscii(connection.getInputStream(), Intege
3319 @Override public InputStream getInputStream() throws IOException { return delegate.getInputStream(); } method in class:URLConnectionTest.DelegatingSocket
3462 @Override public InputStream getInputStream() throws IOException { method in class:URLConnectionTest.DelegatingSSLSocket
[all...]
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
H A DJarURLConnection.java149 public InputStream getInputStream() throws IOException { method in class:JarURLConnection
162 result = new JarURLInputStream (jarFile.getInputStream(jarEntry));
209 InputStream in = jarFile.getInputStream(jarEntry);
/libcore/ojluni/src/main/java/java/util/jar/
H A DJarFile.java191 manifest = new Manifest(super.getInputStream(manEntry));
415 try (InputStream is = super.getInputStream(ze)) {
433 public synchronized InputStream getInputStream(ZipEntry ze) method in class:JarFile
438 return super.getInputStream(ze);
447 return super.getInputStream(ze);
455 super.getInputStream(ze),
/libcore/ojluni/src/main/java/sun/misc/
H A DResource.java65 public abstract InputStream getInputStream() throws IOException; method in class:Resource
77 cis = getInputStream();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DClassLoaderTest.java143 InputStream is = uncachedConnection.getInputStream();
161 InputStream is1 = cachedConnection1.getInputStream();
167 InputStream is2 = cachedConnection2.getInputStream();
243 jarURLConnection.getInputStream();
H A DProcess2Test.java27 * java.lang.Process#getInputStream(),
35 assertNotNull(p.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/ojluni/src/main/java/javax/crypto/
H A DJarVerifier.java112 appPerms.load(jf.getInputStream(je));
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DFileDescriptorHolderSocketImpl.java92 protected InputStream getInputStream() throws IOException { method in class:FileDescriptorHolderSocketImpl
/libcore/luni/src/main/java/libcore/io/
H A DClassPathURLStreamHandler.java116 // call getJarFile().close() or close() on the inputStream from getInputStream() will do it
169 public InputStream getInputStream() throws IOException { method in class:ClassPathURLStreamHandler.ClassPathURLConnection
177 return jarInput = new FilterInputStream(jarFile.getInputStream(jarEntry)) {

Completed in 1345 milliseconds

1234