Home
last modified time | relevance | path

Searched refs:connection2 (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/net/tools/quic/
Dquic_dispatcher_test.cc104 MockConnection* connection2() { in connection2() function in net::tools::test::__anon6a660d970111::QuicDispatcherTest
259 EXPECT_CALL(*connection2(), SendConnectionClose(QUIC_PEER_GOING_AWAY)); in TearDown()
290 blocked_list_->insert(make_pair(connection2(), true)); in TEST_F()
292 EXPECT_CALL(*connection2(), OnCanWrite()); in TEST_F()
296 blocked_list_->insert(make_pair(connection2(), true)); in TEST_F()
298 EXPECT_CALL(*connection2(), OnCanWrite()); in TEST_F()
312 blocked_list_->insert(make_pair(connection2(), true)); in TEST_F()
314 EXPECT_CALL(*connection2(), OnCanWrite()); in TEST_F()
344 blocked_list_->insert(make_pair(connection2(), true)); in TEST_F()
347 EXPECT_CALL(*connection2(), OnCanWrite()).Times(0); in TEST_F()
[all …]
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
DHttpResponseCacheTest.java376 HttpsURLConnection connection2 = (HttpsURLConnection) client.open(server.getUrl("/")); in cacheReturnsInsecureResponseForSecureRequest() local
377 connection2.setSSLSocketFactory(sslContext.getSocketFactory()); in cacheReturnsInsecureResponseForSecureRequest()
378 connection2.setHostnameVerifier(NULL_HOSTNAME_VERIFIER); in cacheReturnsInsecureResponseForSecureRequest()
379 assertEquals("DEF", readAscii(connection2)); in cacheReturnsInsecureResponseForSecureRequest()
446 HttpsURLConnection connection2 = (HttpsURLConnection) client.open(server.getUrl("/")); in secureResponseCachingAndRedirects() local
449 assertEquals("ABC", readAscii(connection2)); in secureResponseCachingAndRedirects()
484 HttpURLConnection connection2 = client.open(server.getUrl("/")); in secureResponseCachingAndProtocolRedirects() local
485 assertEquals("ABC", readAscii(connection2)); in secureResponseCachingAndProtocolRedirects()
1347 URLConnection connection2 = openConnection(url); in varyMatchesUnchangedRequestHeaderField() local
1348 connection2.addRequestProperty("Accept-Language", "fr-CA"); in varyMatchesUnchangedRequestHeaderField()
[all …]
DURLConnectionTest.java417 HttpURLConnection connection2 = client.open(server.getUrl("/b")); in testServerClosesOutput() local
418 connection2.setReadTimeout(100); in testServerClosesOutput()
419 assertContent("This comes after a busted connection", connection2); in testServerClosesOutput()
560 HttpURLConnection connection2 = client.open(server.getUrl("/")); in connectViaHttpsReusingConnectionsDifferentFactories() local
562 readAscii(connection2.getInputStream(), Integer.MAX_VALUE); in connectViaHttpsReusingConnectionsDifferentFactories()
1102 HttpURLConnection connection2 = client.open(server.getUrl("/")); in testClientConfiguredGzipContentEncodingAndConnectionReuse() local
1103 assertEquals("two (identity)", readAscii(connection2.getInputStream(), Integer.MAX_VALUE)); in testClientConfiguredGzipContentEncodingAndConnectionReuse()
1131 HttpURLConnection connection2 = client.open(server.getUrl("/")); in testEarlyDisconnectDoesntHarmPooling() local
1132 InputStream in2 = connection2.getInputStream(); in testEarlyDisconnectDoesntHarmPooling()
2081 HttpURLConnection connection2 = client.open(server.getUrl("")); in getKeepAlive() local
[all …]
/external/chromium_org/content/browser/indexed_db/
Dindexed_db_unittest.cc173 MockConnection connection2(!kExpectForceClose); in TEST_F() local
179 &connection2)); in TEST_F()
185 &connection2)); in TEST_F()
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
DHttpOverSpdyTest.java137 HttpURLConnection connection2 = client.open(server.getUrl("/r2")); in spdyConnectionReuse() local
139 assertEquals("GHI", readAscii(connection2.getInputStream(), 3)); in spdyConnectionReuse()
141 assertEquals("JKL", readAscii(connection2.getInputStream(), 3)); in spdyConnectionReuse()
/external/chromium_org/net/spdy/
Dspdy_session_unittest.cc2733 scoped_ptr<ClientSocketHandle> connection2(new ClientSocketHandle); in TEST_P() local
2735 connection2->Init(host_port2.ToString(), params2, DEFAULT_PRIORITY, in TEST_P()
2901 scoped_ptr<ClientSocketHandle> connection2(new ClientSocketHandle); in TEST_P() local
2903 connection2->Init(host_port2.ToString(), params2, DEFAULT_PRIORITY, in TEST_P()
/external/chromium_org/third_party/tlslite/
Dreadme.txt240 connection2.handshakeClientSRP("alice", "abra123cadabra", session=