/libcore/luni/src/test/java/libcore/java/net/ |
URLStreamHandlerFactoryTest.java | 94 URLConnection connection1 = new URL("http://android.com/").openConnection(); local 95 assertFalse(connection1 instanceof Handler.HandlerURLConnection);
|
URLConnectionTest.java | 295 URLConnection connection1 = server.getUrl("/").openConnection(); local 296 assertEquals("ABC", readAscii(connection1.getInputStream(), Integer.MAX_VALUE)); 1030 HttpURLConnection connection1 = (HttpURLConnection) server.getUrl("\/").openConnection(); local [all...] |
/external/chromium_org/net/tools/quic/ |
quic_dispatcher_test.cc | 112 MockConnection* connection1() { function in class:net::tools::test::__anon13774::QuicDispatcherTest 350 EXPECT_CALL(*connection1(), SendConnectionClose(QUIC_PEER_GOING_AWAY)); 375 dispatcher_.OnWriteBlocked(connection1()); 376 EXPECT_CALL(*connection1(), OnCanWrite()); 380 EXPECT_CALL(*connection1(), OnCanWrite()).Times(0); 389 dispatcher_.OnWriteBlocked(connection1()); 391 EXPECT_CALL(*connection1(), OnCanWrite()); 398 dispatcher_.OnWriteBlocked(connection1()); 400 EXPECT_CALL(*connection1(), OnCanWrite()); 407 dispatcher_.OnWriteBlocked(connection1()); [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
HttpOverSpdyTest.java | 202 HttpURLConnection connection1 = client.open(server.getUrl("/r1")); local 204 assertEquals("ABC", readAscii(connection1.getInputStream(), 3)); 206 assertEquals("DEF", readAscii(connection1.getInputStream(), 3)); 342 HttpURLConnection connection1 = client.open(server.getUrl("/")); local 343 connection1.setReadTimeout(2000); 346 connection1.connect(); 348 assertContent("A", connection1, Integer.MAX_VALUE); 392 HttpURLConnection connection1 = client.open(server.getUrl("/")); local 393 InputStream in1 = connection1.getInputStream();
|
ResponseCacheTest.java | 216 HttpsURLConnection connection1 = (HttpsURLConnection) openConnection(server.getUrl("/")); local 217 connection1.setSSLSocketFactory(sslContext.getSocketFactory()); 218 connection1.setHostnameVerifier(NULL_HOSTNAME_VERIFIER); 219 assertEquals("ABC", readAscii(connection1)); 285 HttpsURLConnection connection1 = (HttpsURLConnection) openConnection(server.getUrl("/")); local 286 assertEquals("ABC", readAscii(connection1)); 287 assertNotNull(connection1.getCipherSuite()); 294 assertEquals(connection1.getCipherSuite(), connection2.getCipherSuite()); 322 HttpURLConnection connection1 = openConnection(server.getUrl("/")); local 323 assertEquals("ABC", readAscii(connection1)); 1096 URLConnection connection1 = openConnection(url); local 1145 URLConnection connection1 = openConnection(server.getUrl("\/")); local 1163 URLConnection connection1 = openConnection(server.getUrl("\/")); local 1180 URLConnection connection1 = openConnection(server.getUrl("\/")); local 1197 URLConnection connection1 = openConnection(server.getUrl("\/")); local 1245 HttpURLConnection connection1 = openConnection(server.getUrl("\/a")); local 1382 HttpURLConnection connection1 = openConnection(valid); local [all...] |
URLConnectionTest.java | 429 HttpURLConnection connection1 = client.open(server.getUrl("/a")); local 430 connection1.setReadTimeout(100); 431 assertContent("This connection won't pool properly", connection1); 602 HttpURLConnection connection1 = client.open(server.getUrl("/")); local 603 assertContent("this response comes via HTTPS", connection1); 1252 HttpURLConnection connection1 = client.open(server.getUrl("\/")); local 1317 HttpURLConnection connection1 = client.open(server.getUrl("\/")); local 1340 URLConnection connection1 = client.open(server.getUrl("\/")); local [all...] |
HttpResponseCacheTest.java | 440 HttpsURLConnection connection1 = (HttpsURLConnection) client.open(server.getUrl("/")); local 441 assertEquals("ABC", readAscii(connection1)); 442 assertNotNull(connection1.getCipherSuite()); 451 assertEquals(connection1.getCipherSuite(), connection2.getCipherSuite()); 479 HttpURLConnection connection1 = client.open(server.getUrl("/")); local 480 assertEquals("ABC", readAscii(connection1)); 1430 URLConnection connection1 = openConnection(url); local 1483 URLConnection connection1 = openConnection(url); local 1500 URLConnection connection1 = openConnection(url); local 1541 URLConnection connection1 = openConnection(url); local 1560 URLConnection connection1 = openConnection(url); local 1591 HttpsURLConnection connection1 = (HttpsURLConnection) client.open(url); local 1631 URLConnection connection1 = openConnection(server.getUrl("\/")); local 1649 URLConnection connection1 = openConnection(server.getUrl("\/")); local 1666 URLConnection connection1 = openConnection(server.getUrl("\/")); local 1683 URLConnection connection1 = openConnection(server.getUrl("\/")); local 1718 HttpURLConnection connection1 = openConnection(server.getUrl("\/a")); local 1975 HttpURLConnection connection1 = openConnection(valid); local [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
TelephonyConnectionService.java | 301 public void onConference(Connection connection1, Connection connection2) { 302 if (connection1 instanceof TelephonyConnection && 304 ((TelephonyConnection) connection1).performConference( method
|
/frameworks/base/telecomm/java/android/telecom/ |
ConnectionService.java | 662 Connection connection1 = findConnectionForAction(callId1, "conference"); local 663 if (connection1 == getNullConnection()) { 667 "Connection1 or Conference1 missing in conference request %s.", 673 onConference(connection1, connection2); [all...] |