/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | ResponseCacheTest.java | 131 private HttpURLConnection openConnection(URL url) { in openConnection() method in ResponseCacheTest 210 HttpURLConnection connection = openConnection(url); in assertCached() 250 HttpURLConnection urlConnection = openConnection(server.getUrl("/")); in testResponseCaching() 258 urlConnection = openConnection(server.getUrl("/")); // cached! in testResponseCaching() 276 HttpsURLConnection c1 = (HttpsURLConnection) openConnection(server.getUrl("/")); in secureResponseCaching() 288 HttpsURLConnection c2 = (HttpsURLConnection) openConnection(server.getUrl("/")); // cached! in secureResponseCaching() 313 HttpURLConnection connection = openConnection(server.getUrl("/")); in responseCachingAndRedirects() 316 connection = openConnection(server.getUrl("/")); // cached! in responseCachingAndRedirects() 330 assertEquals("ABC", readAscii(openConnection(server.getUrl("/foo")))); in redirectToCachedResult() 335 assertEquals("ABC", readAscii(openConnection(server.getUrl("/bar")))); in redirectToCachedResult() [all …]
|
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
D | MockWebServerTest.java | 105 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in testRegularResponse() 125 URLConnection connection = server.getUrl("/").openConnection(); in testRedirect() 153 URLConnection connection = server.getUrl("/").openConnection(); in testDispatchBlocksWaitingForEnqueue() 166 URLConnection connection = server.getUrl("/").openConnection(); in testNonHexadecimalChunkSize() 184 URLConnection urlConnection = server.getUrl("/").openConnection(); in testResponseTimeout() 196 URLConnection urlConnection2 = server.getUrl("/").openConnection(); 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()
|
D | CustomDispatcherTest.java | 50 final HttpURLConnection conn = (HttpURLConnection) url.openConnection(); in testSimpleDispatch() 92 conn = (HttpURLConnection) url.openConnection(); in buildRequestThread()
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServerTest.java | 79 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in regularResponse() 98 URLConnection connection = server.getUrl("/").openConnection(); in redirect() 124 URLConnection connection = server.getUrl("/").openConnection(); in dispatchBlocksWaitingForEnqueue() 136 URLConnection connection = server.getUrl("/").openConnection(); in nonHexadecimalChunkSize() 152 URLConnection urlConnection = server.getUrl("/").openConnection(); in responseTimeout() 164 URLConnection urlConnection2 = server.getUrl("/").openConnection(); in responseTimeout() 180 server.getUrl("/a").openConnection().getInputStream(); in disconnectAtStart() 183 server.getUrl("/b").openConnection().getInputStream(); // Should succeed. in disconnectAtStart() 195 URLConnection connection = server.getUrl("/").openConnection(); in throttleRequest() 217 URLConnection connection = server.getUrl("/").openConnection(); [all …]
|
D | CustomDispatcherTest.java | 50 final HttpURLConnection conn = (HttpURLConnection) url.openConnection(); in simpleDispatch() 92 conn = (HttpURLConnection) url.openConnection(); in buildRequestThread()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | ExcludedProxyTest.java | 51 URLConnection conn1 = u1.openConnection(); in test_usingProxy() 58 URLConnection conn3 = u3.openConnection(); in test_usingProxy() 71 .openConnection(); in test_usingProxy() 93 .openConnection(); in test_usingProxy() 172 .openConnection(proxyList[i]); in test_openConnectionLjava_net_Proxy() 201 urlList[i].openConnection(null); in test_openConnectionLjava_net_Proxy() 207 fileUrl.openConnection(Proxy.NO_PROXY); in test_openConnectionLjava_net_Proxy()
|
D | URLConnectionTest.java | 60 protected URLConnection openConnection(URL u) throws IOException { in openConnection() method in URLConnectionTest.NewHandler 84 return url.openConnection().getContentType(); 92 uc = url.openConnection(); 183 JarURLConnection con1 = (JarURLConnection) fUrl1.openConnection(); 515 URLConnection urlCon = url.openConnection(); 531 URLConnection urlCon = url.openConnection(); 640 URLConnection uc = new URL("http://localhost").openConnection(); 700 URLConnection connection = url.openConnection(); 716 URLConnection uc = new URL("http://localhost").openConnection();
|
D | ContentHandlerTest.java | 34 URLConnection conn = new URL("http://www.apache.org").openConnection(); in test_getContent()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
D | HttpsURLConnectionTest.java | 143 .openConnection(); in testHttpsConnection() 183 .openConnection(); in testHttpsPersistentConnection() 221 .openConnection(); in testHttpsConnection_Not_Found_Response() 266 .openConnection(); in testSetDefaultSSLSocketFactory() 307 .openConnection(); in testSetSSLSocketFactory() 345 .openConnection(); in testUnconnectedStateParameters() 395 .openConnection(); in testSetHostnameVerifier() 437 .openConnection(); in test_doOutput() 473 .openConnection(); in testPersistence_doOutput() 508 .openConnection(new Proxy(Proxy.Type.HTTP, in testProxyConnection() [all …]
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/rule/ |
D | MockWebServerRuleTest.java | 54 server.getUrl("/").openConnection().connect(); in beforePlaysServer() 62 server.getUrl("/").openConnection().connect(); in afterStopsServer() 74 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in typicalUsage()
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/ |
D | UrlAssetInfo.java | 25 URLConnection conn = url.openConnection(); in create() 57 URLConnection conn = url.openConnection(); in openStream()
|
/external/okhttp/android/main/java/com/squareup/okhttp/ |
D | HttpHandler.java | 38 @Override protected URLConnection openConnection(URL url) throws IOException { in openConnection() method in HttpHandler 42 @Override protected URLConnection openConnection(URL url, Proxy proxy) throws IOException { in openConnection() method in HttpHandler
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/ |
D | OkUrlFactory.java | 75 @Override protected URLConnection openConnection(URL url) { in createURLStreamHandler() 79 @Override protected URLConnection openConnection(URL url, Proxy proxy) { in createURLStreamHandler() method in OkUrlFactory
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/ |
D | JDWPUnitDebuggeeWrapper.java | 94 openConnection(); in start() 123 protected void openConnection() { in openConnection() method in JDWPUnitDebuggeeWrapper
|
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
D | ServiceConnectionSE.java | 66 ? (HttpURLConnection) new URL(url).openConnection() in ServiceConnectionSE() 67 : (HttpURLConnection) new URL(url).openConnection(proxy); in ServiceConnectionSE()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/test_protocol/ |
D | Handler.java | 26 protected URLConnection openConnection(URL u) throws IOException { in openConnection() method in Handler
|
/external/apache-http/src/org/apache/http/conn/ |
D | ClientConnectionOperator.java | 92 void openConnection(OperatedClientConnection conn, in openConnection() method
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/system/ |
D | Natives.java | 104 URLConnection conn = url.openConnection(); in computeNativesHash() 134 URLConnection conn = url.openConnection(); in extractNativeLib()
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
D | ShutdownTest.java | 31 …pURLConnection connection = (HttpURLConnection) new URL("http://localhost:8092/").openConnection(); in makeRequest()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/ |
D | ResumeTest.java | 63 openConnection(); in testResume()
|
D | ClassObjectIDTest.java | 68 openConnection(); in testClassObjectID001()
|
D | RefTypeIDTest.java | 67 openConnection(); in testRefTypeID001()
|
/external/apache-http/android/src/android/net/http/ |
D | HttpConnection.java | 45 AndroidHttpClientConnection openConnection(Request req) throws IOException { in openConnection() method in HttpConnection
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_URLConnector.java | 40 instance = new URL(address).openConnection(); in open()
|
/external/jetty/src/java/org/eclipse/jetty/util/resource/ |
D | JarFileResource.java | 172 JarURLConnection c=(JarURLConnection)((new URL(_jarUrl)).openConnection()); in exists() 309 JarURLConnection jc=(JarURLConnection)((new URL(_jarUrl)).openConnection()); in listEntries()
|