| /libcore/luni/src/test/java/libcore/java/net/ |
| D | URLConnectionTest.java | 219 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").openConnection(); in testGetErrorStreamOnSuccessfulRequest() local 226 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").openConnection(); in testGetErrorStreamOnUnsuccessfulRequest() local 344 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/b").openConnection(); in testRetryableRequestBodyAfterBrokenConnection() local 358 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/b").openConnection(); in testNonRetryableRequestBodyAfterBrokenConnection() local 458 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/foo").openConnection(); in testConnectViaHttps() local 477 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/").openConnection(); in testConnectViaHttpsReusingConnections() local 499 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/").openConnection(); in testConnectViaHttpsReusingConnectionsDifferentFactories() local 519 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/foo").openConnection(); in testConnectViaHttpsWithSSLFallback() local 541 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/foo").openConnection(); in testConnectViaHttpsToUntrustedServer() local 570 HttpURLConnection connection = proxyConfig.connect(server, url); in testConnectViaProxy() local [all …]
|
| D | URLStreamHandlerFactoryTest.java | 58 URLConnection connection = url.openConnection(); in testCreateURLStreamHandler() local 81 URLConnection connection = new URL("http://android.com/").openConnection(); in testInstallCustomProtocolHandler() local
|
| D | OldJarURLConnectionTest.java | 162 JarURLConnection connection = (JarURLConnection) url.openConnection(); in test_getJarFile() local 231 JarURLConnection connection = (JarURLConnection) url.openConnection(); in test_setUseCaches() local
|
| D | CookiesTest.java | 329 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").openConnection(); in testHeadersSentToCookieHandler() local 564 URLConnection connection = server.getUrl(path).openConnection(); in get() local
|
| /libcore/luni/src/test/java/libcore/net/http/ |
| D | HttpResponseCacheTest.java | 239 URLConnection connection = url.openConnection(); in testResponseCacheCallbackApis() local 305 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/").openConnection(); in testSecureResponseCaching() local 340 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/").openConnection(); in testCacheReturnsInsecureResponseForSecureRequest() local 362 URLConnection connection = server.getUrl("/").openConnection(); in testResponseCachingAndRedirects() local 415 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/").openConnection(); in testSecureResponseCachingAndRedirects() local 488 URLConnection connection = server.getUrl("/").openConnection(); in testServerPrematureDisconnect() local 513 URLConnection connection = server.getUrl("/").openConnection(); in testClientPrematureDisconnect() local 544 URLConnection connection = url.openConnection(); in testDefaultExpirationDateFullyCachedForLessThan24Hours() local 574 URLConnection connection = server.getUrl("/").openConnection(); in testDefaultExpirationDateFullyCachedForMoreThan24Hours() local 907 URLConnection connection = server.getUrl("/").openConnection(); in testRequestMaxAge() local [all …]
|
| /libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
| D | HttpsURLConnectionTest.java | 135 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in testHttpsConnection() local 166 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in testHttpsConnection_Not_Found_Response() local 205 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in testSetDefaultSSLSocketFactory() local 243 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in testSetSSLSocketFactory() local 278 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in testUnconnectedStateParameters() local 321 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in testSetHostnameVerifier() local 357 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in test_doOutput() local 386 HttpsURLConnection connection = (HttpsURLConnection) in testProxyConnection() local 426 HttpsURLConnection connection = (HttpsURLConnection) in testProxyAuthConnection() local 460 HttpsURLConnection connection = (HttpsURLConnection) in testConsequentProxyConnection() local [all …]
|
| /libcore/luni/src/main/java/libcore/net/http/ |
| D | HttpConnectionPool.java | 69 HttpConnection connection = connections.remove(connections.size() - 1); in get() local 90 public void recycle(HttpConnection connection) { in recycle()
|
| D | RequestHeaders.java | 57 private String connection; field in RequestHeaders 234 public void setConnection(String connection) { in setConnection()
|
| D | HttpsURLConnectionImpl.java | 384 HttpConnection connection, RetryableOutputStream requestBody) throws IOException { in newHttpEngine() 419 HttpConnection connection, RetryableOutputStream requestBody, in HttpsEngine() 487 private void makeTunnel(HttpURLConnectionImpl policy, HttpConnection connection, in makeTunnel() 534 HttpConnection connection) throws IOException { in ProxyConnectEngine()
|
| D | HttpEngine.java | 116 protected HttpConnection connection; field in HttpEngine 188 HttpConnection connection, RetryableOutputStream requestBodyOut) throws IOException { in HttpEngine()
|
| D | ResponseHeaders.java | 111 private String connection; field in ResponseHeaders
|
| D | HttpURLConnectionImpl.java | 255 HttpConnection connection, RetryableOutputStream requestBody) throws IOException { in newHttpEngine()
|
| /libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
| D | HttpsURLConnectionTest.java | 59 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in test_getCipherSuite() local 75 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in test_getLocalCertificates() local 127 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in test_getLocalPrincipal() local 145 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in test_getPeerPrincipal() local 168 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in test_getServerCertificates() local
|
| /libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
| D | HttpURLConnectionTest.java | 195 HttpURLConnection connection = (HttpURLConnection) url in testUsingProxy() local 242 HttpURLConnection connection = in testUsingProxySelector() local 284 HttpURLConnection connection = in testProxyAuthorization() local
|
| /libcore/luni/src/main/java/java/net/ |
| D | ResponseCache.java | 84 public abstract CacheRequest put(URI uri, URLConnection connection) throws IOException; in put()
|
| /libcore/luni/src/test/java/libcore/sqlite/ |
| D | QueryTimeoutTest.java | 43 private Connection connection; field in QueryTimeoutTest
|