Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java219 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 …]
DURLStreamHandlerFactoryTest.java58 URLConnection connection = url.openConnection(); in testCreateURLStreamHandler() local
81 URLConnection connection = new URL("http://android.com/").openConnection(); in testInstallCustomProtocolHandler() local
DOldJarURLConnectionTest.java162 JarURLConnection connection = (JarURLConnection) url.openConnection(); in test_getJarFile() local
231 JarURLConnection connection = (JarURLConnection) url.openConnection(); in test_setUseCaches() local
DCookiesTest.java329 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/
DHttpResponseCacheTest.java239 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/
DHttpsURLConnectionTest.java135 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/
DHttpConnectionPool.java69 HttpConnection connection = connections.remove(connections.size() - 1); in get() local
90 public void recycle(HttpConnection connection) { in recycle()
DRequestHeaders.java57 private String connection; field in RequestHeaders
234 public void setConnection(String connection) { in setConnection()
DHttpsURLConnectionImpl.java384 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()
DHttpEngine.java116 protected HttpConnection connection; field in HttpEngine
188 HttpConnection connection, RetryableOutputStream requestBodyOut) throws IOException { in HttpEngine()
DResponseHeaders.java111 private String connection; field in ResponseHeaders
DHttpURLConnectionImpl.java255 HttpConnection connection, RetryableOutputStream requestBody) throws IOException { in newHttpEngine()
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
DHttpsURLConnectionTest.java59 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/
DHttpURLConnectionTest.java195 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/
DResponseCache.java84 public abstract CacheRequest put(URI uri, URLConnection connection) throws IOException; in put()
/libcore/luni/src/test/java/libcore/sqlite/
DQueryTimeoutTest.java43 private Connection connection; field in QueryTimeoutTest