Home
last modified time | relevance | path

Searched refs:getInputStream (Results 1 – 25 of 134) sorted by relevance

123456

/external/mockwebserver/src/test/java/com/google/mockwebserver/
DMockWebServerTest.java107 InputStream in = connection.getInputStream(); in testRegularResponse()
126 InputStream in = connection.getInputStream(); in testRedirect()
154 InputStream in = connection.getInputStream(); in testDispatchBlocksWaitingForEnqueue()
167 InputStream in = connection.getInputStream(); in testNonHexadecimalChunkSize()
186 InputStream in = urlConnection.getInputStream(); in testResponseTimeout()
197 InputStream in2 = urlConnection2.getInputStream(); in testResponseTimeout()
213 server.getUrl("/a").openConnection().getInputStream(); in testDisconnectAtStart()
217 server.getUrl("/b").openConnection().getInputStream(); // Should succeed. in testDisconnectAtStart()
225 InputStream in = server.getUrl("/").openConnection().getInputStream(); in testStreamingResponseBody()
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
DMockWebServerTest.java167 InputStream in = connection.getInputStream(); in testRegularResponse()
186 InputStream in = connection.getInputStream(); in testRedirect()
214 InputStream in = connection.getInputStream(); in testDispatchBlocksWaitingForEnqueue()
227 InputStream in = connection.getInputStream(); in testNonHexadecimalChunkSize()
246 InputStream in = urlConnection.getInputStream(); in testResponseTimeout()
257 InputStream in2 = urlConnection2.getInputStream(); in testResponseTimeout()
273 server.getUrl("/a").openConnection().getInputStream(); in testDisconnectAtStart()
277 server.getUrl("/b").openConnection().getInputStream(); // Should succeed. in testDisconnectAtStart()
285 InputStream in = server.getUrl("/").openConnection().getInputStream(); in testStreamingResponseBody()
306 InputStream in = connection.getInputStream(); in testThrottleRequest()
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DExcludedProxyTest.java52 conn1.getInputStream(); in test_usingProxy()
59 conn3.getInputStream(); in test_usingProxy()
79 InputStream is2 = conn2.getInputStream(); in test_usingProxy()
102 InputStream is = conn4.getInputStream(); in test_usingProxy()
128 s.getInputStream(); in test_Constructor()
145 s.getInputStream(); in test_Constructor()
181 InputStream is = conn.getInputStream(); in test_openConnectionLjava_net_Proxy()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/file/
DFileURLConnectionTest.java58 assertNotNull(conn.getInputStream()); in testGetInputStream()
64 assertNotNull(conn.getInputStream()); in testGetInputStream()
72 assertNotNull(conn.getInputStream()); in testHeaderFunctions()
79 assertNotNull(conn.getInputStream()); in testHeaderFunctions()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DHttpOverSpdyTest.java122 assertEquals(-1, connection.getInputStream().read()); in emptyResponse()
204 assertEquals("ABC", readAscii(connection1.getInputStream(), 3)); in spdyConnectionReuse()
205 assertEquals("GHI", readAscii(connection2.getInputStream(), 3)); in spdyConnectionReuse()
206 assertEquals("DEF", readAscii(connection1.getInputStream(), 3)); in spdyConnectionReuse()
207 assertEquals("JKL", readAscii(connection2.getInputStream(), 3)); in spdyConnectionReuse()
242 assertEquals("Successful auth!", readAscii(connection.getInputStream(), Integer.MAX_VALUE)); in authenticate()
273 InputStream in = connection.getInputStream(); in readAfterLastByte()
329 readAscii(connection.getInputStream(), Integer.MAX_VALUE); in readTimeoutOnSlowConnection()
393 InputStream in1 = connection1.getInputStream(); in responseCachedWithoutConsumingFullBody()
398 InputStream in2 = connection2.getInputStream(); in responseCachedWithoutConsumingFullBody()
[all …]
DURLConnectionTest.java525 conn.getInputStream(); in getResponseCodeNoResponseBody()
614 readAscii(connection2.getInputStream(), Integer.MAX_VALUE); in connectViaHttpsReusingConnectionsDifferentFactories()
666 connection.getInputStream(); in connectViaHttpsWithSSLFallback_scsvFailure()
720 connection.getInputStream(); in connectViaHttpsToUntrustedServer()
1048 InputStream in = connection.getInputStream(); in disconnectedConnection()
1114 InputStream in = client.open(server.getUrl("/")).getInputStream(); in testMarkAndReset()
1158 readAscii(connection.getInputStream(), Integer.MAX_VALUE); in nonHexChunkSize()
1173 readAscii(connection.getInputStream(), Integer.MAX_VALUE); in missingChunkBody()
1190 assertEquals("ABCABCABC", readAscii(connection.getInputStream(), Integer.MAX_VALUE)); in gzipEncodingEnabledByDefault()
1207 InputStream gunzippedIn = new GZIPInputStream(connection.getInputStream()); in clientConfiguredGzipContentEncoding()
[all …]
/external/javassist/src/main/javassist/
DURLClassPath.java80 return con.getInputStream(); in openClassfile()
104 InputStream is = con.getInputStream(); in find()
137 InputStream s = con.getInputStream(); in fetchClass()
/external/proguard/src/proguard/io/
DRenamedDataEntry.java59 public InputStream getInputStream() throws IOException in getInputStream() method in RenamedDataEntry
61 return dataEntry.getInputStream(); in getInputStream()
DDataEntry.java48 public InputStream getInputStream() throws IOException; in getInputStream() method
DJarReader.java50 ZipInputStream zipInputStream = new ZipInputStream(dataEntry.getInputStream()); in read()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_HttpSocket.java38 public InputStream getInputStream() throws IOException { in getInputStream() method in Support_HttpSocket
40 return instance.getInputStream(); in getInputStream()
DSupport_URLConnector.java52 public InputStream getInputStream() throws IOException { in getInputStream() method in Support_URLConnector
57 return instance.getInputStream(); in getInputStream()
DSupport_Socket.java29 public InputStream getInputStream() throws IOException; in getInputStream() method
DSupport_HttpConnector.java34 public InputStream getInputStream() throws IOException; in getInputStream() method
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/
DSocks5BytestreamSession.java68 public InputStream getInputStream() throws IOException { in getInputStream() method in Socks5BytestreamSession
69 return this.socket.getInputStream(); in getInputStream()
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DDefaultVideoPosterRequestHandler.java28 private static InputStream getInputStream(final AwContentsClient contentClient) in getInputStream() method in DefaultVideoPosterRequestHandler
91 return new AwWebResourceResponse("image/png", null, getInputStream(mContentClient)); in shouldInterceptRequest()
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
DUnixSocketTest.java52 InputStream in = worker.getInputStream(); in test_getInputStream()
58 InputStream clientIn = pingClient.getInputStream(); in test_getInputStream()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DDrawableTest.java52 assertThat(shadowOf(drawable).getInputStream(), equalTo((InputStream) byteInputStream)); in testCreateFromStream_shouldSetTheInputStreamOnTheReturnedDrawable()
133 assertThat(shadowOf(drawable).getInputStream(), equalTo((InputStream) byteInputStream)); in testCreateFromResourceStream_shouldSetTheInputStreamOnTheReturnedDrawable()
154 assertThat(shadowOf(drawable).getInputStream(), equalTo((InputStream) byteInputStream)); in testCreateFromResourceStreamWithOptions_shouldSetTheInputStreamOnTheReturnedDrawable()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DCommonToken.java79 input = oldToken.getInputStream(); in CommonToken()
167 public CharStream getInputStream() { in getInputStream() method in CommonToken
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dtokens.py141 def getInputStream(self): member in Token
280 def getInputStream(self): member in CommonToken
385 def getInputStream(self): member in ClassicToken
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSReadable.java8 public InputStream getInputStream() in getInputStream() method
DCMSAbsentContent.java29 public InputStream getInputStream() in getInputStream() method in CMSAbsentContent
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/
DJPDADebuggeeSynchronizer.java200 in = new DataInputStream(clientSocket.getInputStream()); in startServer()
221 in = new DataInputStream(clientSocket.getInputStream()); in startClient()
/external/smack/src/org/jivesoftware/smack/compression/
DXMPPInputOutputStream.java30 public abstract InputStream getInputStream(InputStream inputStream) throws Exception; in getInputStream() method in XMPPInputOutputStream
/external/smack/src/org/jivesoftware/smackx/bytestreams/
DBytestreamSession.java39 public InputStream getInputStream() throws IOException; in getInputStream() method

123456