/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
D | MockWebServerTest.java | 113 InputStream in = connection.getInputStream(); in testRegularResponse() 132 InputStream in = connection.getInputStream(); in testRedirect() 160 InputStream in = connection.getInputStream(); in testDispatchBlocksWaitingForEnqueue() 173 InputStream in = connection.getInputStream(); in testNonHexadecimalChunkSize() 192 InputStream in = urlConnection.getInputStream(); in testResponseTimeout() 203 InputStream in2 = urlConnection2.getInputStream(); in testResponseTimeout() 219 server.getUrl("/a").openConnection().getInputStream(); in testDisconnectAtStart() 223 server.getUrl("/b").openConnection().getInputStream(); // Should succeed. in testDisconnectAtStart() 231 InputStream in = server.getUrl("/").openConnection().getInputStream(); in testStreamingResponseBody()
|
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/ |
D | MockSocketConnectionTest.java | 83 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()
|
D | TcpConnectionTest.java | 196 mockConnection.getSocketB().getInputStream().available()); in testLocalDumpWithoutInit() 201 mockConnection.getSocketB().getInputStream()); in readAndAssertData() 241 mockConnection.getSocketB().getInputStream()); in testRemoteReset()
|
D | MockServerSocketTest.java | 109 assertEquals(123, socket.getInputStream().read()); in testAccept() 130 assertEquals(42, socket.getInputStream().read()); in testConnect()
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServerTest.java | 88 InputStream in = connection.getInputStream(); in regularResponse() 106 InputStream in = connection.getInputStream(); in redirect() 132 InputStream in = connection.getInputStream(); in dispatchBlocksWaitingForEnqueue() 144 InputStream in = connection.getInputStream(); in nonHexadecimalChunkSize() 161 InputStream in = urlConnection.getInputStream(); in responseTimeout() 172 InputStream in2 = urlConnection2.getInputStream(); in responseTimeout() 187 server.getUrl("/a").openConnection().getInputStream(); in disconnectAtStart() 190 server.getUrl("/b").openConnection().getInputStream(); // Should succeed. in disconnectAtStart() 205 InputStream in = connection.getInputStream(); in throttleRequest() 225 InputStream in = connection.getInputStream(); [all …]
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | ExcludedProxyTest.java | 52 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/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | URLConnectionTest.java | 231 connection.getInputStream().close(); in responseHeaders() 324 connection.getInputStream().close(); in getErrorStreamOnSuccessfulRequest() 347 c1.getInputStream().close(); in bug2939() 348 c2.getInputStream().close(); in bug2939() 506 conn.getInputStream(); in getResponseCodeNoResponseBody() 591 readAscii(connection2.getInputStream(), Integer.MAX_VALUE); in connectViaHttpsReusingConnectionsDifferentFactories() 672 connection.getInputStream(); in connectViaHttpsToUntrustedServer() 718 readAscii(client.open(server.getUrl("/")).getInputStream(), 5); in contentDisagreesWithContentLengthHeaderBodyTooShort() 795 readAscii(client.open(server.getUrl("/")).getInputStream(), 5); in contentDisagreesWithChunkedHeaderBodyTooShort() 1013 InputStream in = connection.getInputStream(); in disconnectedConnection() [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HttpOverSpdyTest.java | 115 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/ |
D | Instrumenter.java | 194 instrument(detector.getInputStream(), output, name); in instrumentAll() 197 return instrumentZip(detector.getInputStream(), output, name); in instrumentAll() 199 return instrumentGzip(detector.getInputStream(), output, name); in instrumentAll() 201 return instrumentPack200(detector.getInputStream(), output, name); in instrumentAll() 203 copy(detector.getInputStream(), output, name); in instrumentAll()
|
/external/javassist/src/main/javassist/ |
D | URLClassPath.java | 80 return con.getInputStream(); in openClassfile() 104 InputStream is = con.getInputStream(); in find() 137 InputStream s = con.getInputStream(); in fetchClass()
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_HttpSocket.java | 38 public InputStream getInputStream() throws IOException { in getInputStream() method in Support_HttpSocket 40 return instance.getInputStream(); in getInputStream()
|
D | Support_URLConnector.java | 52 public InputStream getInputStream() throws IOException { in getInputStream() method in Support_URLConnector 57 return instance.getInputStream(); in getInputStream()
|
/external/proguard/src/proguard/io/ |
D | RenamedDataEntry.java | 59 public InputStream getInputStream() throws IOException in getInputStream() method in RenamedDataEntry 61 return dataEntry.getInputStream(); in getInputStream()
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/ |
D | Analyzer.java | 188 analyzeClass(detector.getInputStream(), location); in analyzeAll() 191 return analyzeZip(detector.getInputStream(), location); in analyzeAll() 193 return analyzeGzip(detector.getInputStream(), location); in analyzeAll() 195 return analyzePack200(detector.getInputStream(), location); in analyzeAll()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
D | RecipientOperator.java | 27 public InputStream getInputStream(InputStream dataIn) in getInputStream() method in RecipientOperator 31 return ((InputDecryptor)operator).getInputStream(dataIn); in getInputStream()
|
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
D | OpenedSocket.java | 59 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/desugar/java/com/google/devtools/build/android/desugar/ |
D | ZipInputFileProvider.java | 55 public InputStream getInputStream(String filename) throws IOException { in getInputStream() method in ZipInputFileProvider 56 return zipFile.getInputStream(zipFile.getEntry(filename)); in getInputStream()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/android/ |
D | HttpResponseCacheTest.java | 148 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/ |
D | UnixSocketTest.java | 52 InputStream in = worker.getInputStream(); in test_getInputStream() 58 InputStream clientIn = pingClient.getInputStream(); in test_getInputStream()
|
/external/nanohttpd/fileupload/src/main/java/fi/iki/elonen/ |
D | NanoFileUpload.java | 93 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/ |
D | DrawableTest.java | 52 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/Python/antlr3/ |
D | tokens.py | 141 def getInputStream(self): member in Token 280 def getInputStream(self): member in CommonToken 385 def getInputStream(self): member in ClassicToken
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | CommonToken.java | 79 input = oldToken.getInputStream(); in CommonToken() 167 public CharStream getInputStream() { in getInputStream() method in CommonToken
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
D | Fs.java | 192 @Override public InputStream getInputStream() throws IOException { in getInputStream() method in Fs.JarFs.JarFsFile 193 return new BufferedInputStream(jarFile.getInputStream(jarEntryMap.get(path))); in getInputStream() 197 return Util.readBytes(jarFile.getInputStream(jarEntryMap.get(path))); in getBytes()
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/ |
D | Bug62456849TestDataGenerator.java | 80 try (InputStream is = file.getInputStream(entry)) { in readEntry() 86 try (InputStream content = file.getInputStream(entry)) { in convertClass()
|