Home
last modified time | relevance | path

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

12345678910>>...13

/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
DMockSocketConnectionTest.java83 a.getInputStream(); in testGetInputStreamOnClosedSocket()
88 final InputStream in = a.getInputStream(); in testReadOnClosedSocket()
95 final InputStream in = a.getInputStream(); in testReadOnClosedSocketAsync()
128 final InputStream in = a.getInputStream(); in testContents()
151 final InputStream in = a.getInputStream(); in testWaitForContents()
168 final InputStream in = a.getInputStream(); in testCloseOtherSocket()
174 final InputStream in = a.getInputStream(); in testCloseOtherSocketAsync()
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
DMockWebServerTest.java87 InputStream in = connection.getInputStream(); in regularResponse()
105 InputStream in = connection.getInputStream(); in redirect()
131 InputStream in = connection.getInputStream(); in dispatchBlocksWaitingForEnqueue()
143 InputStream in = connection.getInputStream(); in nonHexadecimalChunkSize()
160 InputStream in = urlConnection.getInputStream(); in responseTimeout()
171 InputStream in2 = urlConnection2.getInputStream(); in responseTimeout()
186 server.getUrl("/a").openConnection().getInputStream(); in disconnectAtStart()
189 server.getUrl("/b").openConnection().getInputStream(); // Should succeed. in disconnectAtStart()
204 InputStream in = connection.getInputStream(); in throttleRequest()
224 InputStream in = connection.getInputStream();
[all …]
/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/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/jetty/src/java/org/eclipse/jetty/http/
DHttpContent.java44 InputStream getInputStream() throws IOException; in getInputStream() method
119 inputStream = _resource.getInputStream(); in getIndirectBuffer()
150 public InputStream getInputStream() throws IOException in getInputStream() method in HttpContent.ResourceAsHttpContent
152 return _resource.getInputStream(); in getInputStream()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DHttpOverSpdyTest.java115 assertEquals(-1, connection.getInputStream().read()); in emptyResponse()
188 assertEquals("ABC", readAscii(connection1.getInputStream(), 3)); in spdyConnectionReuse()
189 assertEquals("GHI", readAscii(connection2.getInputStream(), 3)); in spdyConnectionReuse()
190 assertEquals("DEF", readAscii(connection1.getInputStream(), 3)); in spdyConnectionReuse()
191 assertEquals("JKL", readAscii(connection2.getInputStream(), 3)); in spdyConnectionReuse()
223 assertEquals("Successful auth!", readAscii(connection.getInputStream(), Integer.MAX_VALUE)); in authenticate()
252 InputStream in = connection.getInputStream(); in readAfterLastByte()
303 readAscii(connection.getInputStream(), Integer.MAX_VALUE); in readTimeoutOnSlowConnection()
363 InputStream in1 = connection1.getInputStream(); in responseCachedWithoutConsumingFullBody()
368 InputStream in2 = connection2.getInputStream(); in responseCachedWithoutConsumingFullBody()
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/instr/
DInstrumenter.java179 instrument(detector.getInputStream(), output, name); in instrumentAll()
182 return instrumentZip(detector.getInputStream(), output, name); in instrumentAll()
184 return instrumentGzip(detector.getInputStream(), output, name); in instrumentAll()
186 return instrumentPack200(detector.getInputStream(), output, name); in instrumentAll()
188 copy(detector.getInputStream(), output); in instrumentAll()
/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/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DURLConnectionTest.java497 conn.getInputStream(); in getResponseCodeNoResponseBody()
582 readAscii(connection2.getInputStream(), Integer.MAX_VALUE); in connectViaHttpsReusingConnectionsDifferentFactories()
663 connection.getInputStream(); in connectViaHttpsToUntrustedServer()
719 readAscii(client.open(server.getUrl("/")).getInputStream(), 5); in contentDisagreesWithContentLengthHeaderBodyTooShort()
796 readAscii(client.open(server.getUrl("/")).getInputStream(), 5); in contentDisagreesWithChunkedHeaderBodyTooShort()
1014 InputStream in = connection.getInputStream(); in disconnectedConnection()
1078 InputStream in = client.open(server.getUrl("/")).getInputStream(); in testMarkAndReset()
1120 readAscii(connection.getInputStream(), Integer.MAX_VALUE); in nonHexChunkSize()
1133 readAscii(connection.getInputStream(), Integer.MAX_VALUE); in malformedChunkSize()
1156 readAscii(connection.getInputStream(), Integer.MAX_VALUE); in missingChunkBody()
[all …]
/external/jetty/src/java/org/eclipse/jetty/client/
DContentExchange.java114 setRequestContentSource(getInputStream()); in onRetry()
120 private synchronized InputStream getInputStream() throws IOException in getInputStream() method in ContentExchange
133 setRequestContentSource(getInputStream()); in setFileForUpload()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
DAnalyzer.java175 analyzeClass(detector.getInputStream(), name); in analyzeAll()
178 return analyzeZip(detector.getInputStream(), name); in analyzeAll()
180 return analyzeGzip(detector.getInputStream(), name); in analyzeAll()
182 return analyzePack200(detector.getInputStream(), name); in analyzeAll()
/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()
/external/proguard/src/proguard/io/
DRenamedDataEntry.java59 public InputStream getInputStream() throws IOException in getInputStream() method in RenamedDataEntry
61 return dataEntry.getInputStream(); in getInputStream()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DRecipientOperator.java27 public InputStream getInputStream(InputStream dataIn) in getInputStream() method in RecipientOperator
31 return ((InputDecryptor)operator).getInputStream(dataIn); in getInputStream()
/external/jetty/src/java/org/eclipse/jetty/util/resource/
DURLResource.java107 _in = _connection.getInputStream(); in exists()
205 public synchronized InputStream getInputStream() in getInputStream() method in URLResource
219 return _connection.getInputStream(); in getInputStream()
DJarResource.java115 public InputStream getInputStream() in getInputStream() method in JarResource
120 return new FilterInputStream(super.getInputStream()) in getInputStream()
156 InputStream is = jarFileURL.openConnection().getInputStream();
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/
DOpenedSocket.java59 ObjectInputStream input = new ObjectInputStream(getInputStream(socket)); in fromSocket()
171 private static InputStream getInputStream(final Socket socket) throws IOException {
172 final InputStream delegate = socket.getInputStream();
/external/jetty/src/java/org/eclipse/jetty/util/security/
DCertificateUtils.java43 inStream = Resource.newResource(storePath).getInputStream(); in getKeyStore()
79 in = Resource.newResource(crlPath).getInputStream(); in loadCRL()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/android/
DHttpResponseCacheTest.java148 InputStream inputStream = c1.getInputStream(); in statisticsTracking()
156 assertEquals('A', c2.getInputStream().read()); in statisticsTracking()
159 assertEquals('A', c3.getInputStream().read()); in statisticsTracking()
/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/nanohttpd/fileupload/src/main/java/fi/iki/elonen/
DNanoFileUpload.java93 public InputStream getInputStream() throws IOException { in getInputStream() method in NanoFileUpload.NanoHttpdContext
94 return session.getInputStream(); in getInputStream()
/external/robolectric/v1/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

12345678910>>...13