/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | ResponseCacheTest.java | 120 private HttpURLConnection openConnection(URL url) { in openConnection() method in ResponseCacheTest 199 HttpURLConnection connection = openConnection(url); in assertCached() 239 HttpURLConnection urlConnection = openConnection(server.getUrl("/")); in testResponseCaching() 247 urlConnection = openConnection(server.getUrl("/")); // cached! in testResponseCaching() 265 HttpsURLConnection c1 = (HttpsURLConnection) openConnection(server.getUrl("/")); in secureResponseCaching() 277 HttpsURLConnection c2 = (HttpsURLConnection) openConnection(server.getUrl("/")); // cached! in secureResponseCaching() 302 HttpURLConnection connection = openConnection(server.getUrl("/")); in responseCachingAndRedirects() 305 connection = openConnection(server.getUrl("/")); // cached! in responseCachingAndRedirects() 319 assertEquals("ABC", readAscii(openConnection(server.getUrl("/foo")))); in redirectToCachedResult() 324 assertEquals("ABC", readAscii(openConnection(server.getUrl("/bar")))); in redirectToCachedResult() [all …]
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServerTest.java | 87 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in regularResponse() 106 URLConnection connection = server.getUrl("/").openConnection(); in redirect() 132 URLConnection connection = server.getUrl("/").openConnection(); in dispatchBlocksWaitingForEnqueue() 144 URLConnection connection = server.getUrl("/").openConnection(); in nonHexadecimalChunkSize() 160 URLConnection urlConnection = server.getUrl("/").openConnection(); in responseTimeout() 172 URLConnection urlConnection2 = server.getUrl("/").openConnection(); in responseTimeout() 188 server.getUrl("/a").openConnection().getInputStream(); in disconnectAtStart() 191 server.getUrl("/b").openConnection().getInputStream(); // Should succeed. in disconnectAtStart() 203 URLConnection connection = server.getUrl("/").openConnection(); in throttleRequest() 225 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/mockwebserver/src/test/java/com/google/mockwebserver/ |
D | MockWebServerTest.java | 111 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in testRegularResponse() 131 URLConnection connection = server.getUrl("/").openConnection(); in testRedirect() 159 URLConnection connection = server.getUrl("/").openConnection(); in testDispatchBlocksWaitingForEnqueue() 172 URLConnection connection = server.getUrl("/").openConnection(); in testNonHexadecimalChunkSize() 190 URLConnection urlConnection = server.getUrl("/").openConnection(); in testResponseTimeout() 202 URLConnection urlConnection2 = server.getUrl("/").openConnection(); 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()
|
D | CustomDispatcherTest.java | 50 final HttpURLConnection conn = (HttpURLConnection) url.openConnection(); in testSimpleDispatch() 92 conn = (HttpURLConnection) url.openConnection(); in buildRequestThread()
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | HttpsURLConnectionTest.java | 55 (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection(); in testDefaultHostnameVerifierUsedForNewConnectionsByDefault() 65 connection = (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection(); in testDefaultHostnameVerifierUsedForNewConnectionsByDefault() 73 connection = (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection(); in testDefaultHostnameVerifierUsedForNewConnectionsByDefault() 93 (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection(); in testDefaultSSLSocketFactoryUsedForNewConnectionsByDefault() 103 connection = (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection(); in testDefaultSSLSocketFactoryUsedForNewConnectionsByDefault() 111 connection = (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection(); in testDefaultSSLSocketFactoryUsedForNewConnectionsByDefault()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/ |
D | HttpsURLConnectionTest.java | 51 (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection(); in testDefaultHostnameVerifierUsedForNewConnectionsByDefault() 61 connection = (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection(); in testDefaultHostnameVerifierUsedForNewConnectionsByDefault() 69 connection = (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection(); in testDefaultHostnameVerifierUsedForNewConnectionsByDefault() 89 (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection(); in testDefaultSSLSocketFactoryUsedForNewConnectionsByDefault() 99 connection = (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection(); in testDefaultSSLSocketFactoryUsedForNewConnectionsByDefault() 107 connection = (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection(); in testDefaultSSLSocketFactoryUsedForNewConnectionsByDefault()
|
/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()
|
/external/okhttp/android/src/main/java/com/android/okhttp/internalandroidapi/ |
D | HttpURLConnectionFactory.java | 83 public URLConnection openConnection(URL url) throws IOException { in openConnection() method in HttpURLConnectionFactory 91 public URLConnection openConnection(URL url, Proxy proxy) throws IOException { in openConnection() method in HttpURLConnectionFactory 100 public URLConnection openConnection(URL url, SocketFactory socketFactory) throws IOException { in openConnection() method in HttpURLConnectionFactory 110 public URLConnection openConnection(URL url, SocketFactory socketFactory, Proxy proxy) in openConnection() method in HttpURLConnectionFactory
|
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internalandroidapi/ |
D | HttpURLConnectionFactory.java | 85 public URLConnection openConnection(URL url) throws IOException { in openConnection() method in HttpURLConnectionFactory 93 public URLConnection openConnection(URL url, Proxy proxy) throws IOException { in openConnection() method in HttpURLConnectionFactory 102 public URLConnection openConnection(URL url, SocketFactory socketFactory) throws IOException { in openConnection() method in HttpURLConnectionFactory 112 public URLConnection openConnection(URL url, SocketFactory socketFactory, Proxy proxy) in openConnection() method in HttpURLConnectionFactory
|
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/ |
D | OkUrlFactory.java | 85 @Override protected URLConnection openConnection(URL url) { in createURLStreamHandler() 89 @Override protected URLConnection openConnection(URL url, Proxy proxy) { in createURLStreamHandler() method in OkUrlFactory
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/ |
D | OkUrlFactory.java | 81 @Override protected URLConnection openConnection(URL url) { in createURLStreamHandler() 85 @Override protected URLConnection openConnection(URL url, Proxy proxy) { in createURLStreamHandler() method in OkUrlFactory
|
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/ |
D | HttpHandler.java | 52 @Override protected URLConnection openConnection(URL url) throws IOException { in openConnection() method in HttpHandler 56 @Override protected URLConnection openConnection(URL url, Proxy proxy) throws IOException { in openConnection() method in HttpHandler
|
/external/okhttp/android/src/main/java/com/squareup/okhttp/ |
D | HttpHandler.java | 48 @Override protected URLConnection openConnection(URL url) throws IOException { in openConnection() method in HttpHandler 52 @Override protected URLConnection openConnection(URL url, Proxy proxy) throws IOException { in openConnection() method in HttpHandler
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | HurlStack.java | 88 HttpURLConnection connection = openConnection(parsedUrl, request); in executeRequest() 189 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in createConnection() 206 private HttpURLConnection openConnection(URL url, Request<?> request) throws IOException { in openConnection() method in HurlStack
|
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
D | ServiceConnectionSE.java | 67 ? (HttpURLConnection) new URL(url).openConnection() in ServiceConnectionSE() 68 : (HttpURLConnection) new URL(url).openConnection(proxy); in ServiceConnectionSE()
|
D | HttpsServiceConnectionSE.java | 69 file).openConnection(); in HttpsServiceConnectionSE() 73 file).openConnection(proxy); in HttpsServiceConnectionSE()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/ |
D | JDWPUnitDebuggeeWrapper.java | 115 openConnection(); in start() 144 protected void openConnection() { in openConnection() method in JDWPUnitDebuggeeWrapper
|
/external/testng/src/main/java/org/testng/internal/ |
D | PackageUtils.java | 100 JarFile jar = ((JarURLConnection) url.openConnection()).getJarFile(); in findClassesInPackage() 130 URLConnection connection = url.openConnection(); in findClassesInPackage() 131 Method thisMethod = url.openConnection().getClass() in findClassesInPackage()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/DDM/ |
D | DDMTest.java | 140 openConnection(); in testChunk001() 158 openConnection(); in testChunk001()
|
/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/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
D | ShutdownTest.java | 77 …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()
|
/external/apache-http/android/src/android/net/http/ |
D | HttpConnection.java | 45 AndroidHttpClientConnection openConnection(Request req) throws IOException { in openConnection() method in HttpConnection
|