Home
last modified time | relevance | path

Searched defs:connection (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java344 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").openConnection(); in getErrorStreamOnSuccessfulRequest() local
351 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").openConnection(); in getErrorStreamOnUnsuccessfulRequest() local
560 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/foo").openConnection(); in checkConnectViaHttps() local
579 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/").openConnection(); in connectViaHttpsReusingConnections() local
601 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/").openConnection(); in connectViaHttpsReusingConnectionsDifferentFactories() local
627 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/foo").openConnection(); in connectViaHttpsToUntrustedServer() local
676 HttpURLConnection connection = proxyConfig.connect(server, url); in checkConnectViaProxy() local
727 HttpsURLConnection connection = (HttpsURLConnection) proxyConfig.connect(server, url); in checkConnectViaDirectProxyToHttps() local
769 HttpsURLConnection connection = (HttpsURLConnection) proxyConfig.connect(server, url); in checkConnectViaHttpProxyToHttps() local
811 HttpsURLConnection connection = (HttpsURLConnection) proxyConfig.connect(server, url); in connectViaHttpProxyToHttpsUsingBadProxyAndHttpResponseCache() local
[all …]
DFtpURLConnectionTest.java92 URLConnection connection = fileUrl.openConnection(); in testInputUrl() local
114 URLConnection connection = fileUrl.openConnection(); in checkInputUrl_invalidUserOrPassword() local
129 URLConnection connection = fileUrl.openConnection(); in testOutputUrl() local
142 URLConnection connection = fileUrl.openConnection(proxy); in testConnectOverProxy_noProxy() local
181 URLConnection connection = fileUrl.openConnection(proxy); in testConnectOverProxy_explicit_http_uses_direct_connection() local
205 URLConnection connection = fileUrl.openConnection(); in testConnectOverProxy_implicit_http_fails() local
226 URLConnection connection = url.openConnection(); in testInputUrlWithSpaces() local
DURLStreamHandlerFactoryTest.java60 URLConnection connection = url.openConnection(); in testCreateURLStreamHandler() local
93 URLConnection connection = new URL("http://android.com/").openConnection(); in testInstallCustomProtocolHandler() local
DOldCookieHandlerTest.java69 URLConnection connection = server.getUrl("/path/foo").openConnection(); in test_get_put() local
DOldJarURLConnectionTest.java162 JarURLConnection connection = (JarURLConnection) url.openConnection(); in test_getJarFile() local
231 JarURLConnection connection = (JarURLConnection) url.openConnection(); in test_setUseCaches() local
DAbstractCookiesTest.java418 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").openConnection(); in testHeadersSentToCookieHandler() local
760 URLConnection connection = server.getUrl(path).openConnection(); in get() local
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java140 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in testHttpsConnection() local
173 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in testHttpsConnection_Not_Found_Response() local
218 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in testSetDefaultSSLSocketFactory() local
258 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in testSetSSLSocketFactory() local
291 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in testUnconnectedStateParameters() local
334 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in testSetHostnameVerifier() local
370 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in test_doOutput() local
409 HttpsURLConnection connection = (HttpsURLConnection) in testProxyConnection() local
458 HttpsURLConnection connection = (HttpsURLConnection) in testProxyAuthConnection() local
492 HttpsURLConnection connection = (HttpsURLConnection) in testConsequentProxyConnection() local
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DHttpsURLConnectionTest.java66 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in test_getCipherSuite() local
82 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in test_getLocalCertificates() local
124 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in test_getLocalPrincipal() local
142 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in test_getPeerPrincipal() local
165 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in test_getServerCertificates() local
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
DHttpURLConnectionTest.java193 HttpURLConnection connection = (HttpURLConnection) url in testUsingProxy() local
240 HttpURLConnection connection = in testUsingProxySelector() local
286 HttpURLConnection connection = in testProxyAuthorization() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DJarURLConnectionTest.java101 JarURLConnection connection = null; in test_getJarFile() local
163 JarURLConnection connection = (JarURLConnection) url.openConnection(); in test_setUseCaches() local
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DURICertStore.java277 URLConnection connection = uri.toURL().openConnection(); in engineGetCertificates() local
390 URLConnection connection = uri.toURL().openConnection(); in engineGetCRLs() local
/libcore/benchmarks/src/benchmarks/regression/
DURLConnectionBenchmark.java81 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in get() local
DHostnameVerifierBenchmark.java55 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in setUp() local
/libcore/ojluni/src/main/java/java/util/
DResourceBundle.java2817 URLConnection connection = url.openConnection(); in needsReload() local