/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
OkUrlFactoryTest.java | 88 HttpURLConnection connection1 = factory.open(server.getUrl("/")); local 89 assertResponseHeader(connection1, "NETWORK 200"); 90 assertResponseBody(connection1, "Isla Nublar"); 104 HttpURLConnection connection1 = factory.open(server.getUrl("/")); local 105 assertResponseHeader(connection1, "NETWORK 200"); 106 assertResponseBody(connection1, "Isla Nublar"); 118 HttpURLConnection connection1 = factory.open(server.getUrl("/")); local 119 assertResponseHeader(connection1, "NETWORK 200"); 120 assertResponseBody(connection1, "Isla Nublar"); 130 HttpURLConnection connection1 = factory.open(server.getUrl("/")) local [all...] |
UrlConnectionCacheTest.java | 340 HttpsURLConnection connection1 = (HttpsURLConnection) client.open(server.getUrl("/")); local 341 assertEquals("ABC", readAscii(connection1)); 342 assertNotNull(connection1.getCipherSuite()); 351 assertEquals(connection1.getCipherSuite(), connection2.getCipherSuite()); 377 HttpURLConnection connection1 = client.open(server.getUrl("/")); local 378 assertEquals("ABC", readAscii(connection1)); 1249 URLConnection connection1 = client.open(url); local 1298 URLConnection connection1 = client.open(url); local 1314 URLConnection connection1 = client.open(url); local 1353 URLConnection connection1 = client.open(url); local 1371 URLConnection connection1 = client.open(url); local 1400 HttpsURLConnection connection1 = (HttpsURLConnection) client.open(url); local 1438 URLConnection connection1 = client.open(server.getUrl("\/")); local 1455 URLConnection connection1 = client.open(server.getUrl("\/")); local 1471 URLConnection connection1 = client.open(server.getUrl("\/")); local 1487 URLConnection connection1 = client.open(server.getUrl("\/")); local 1521 HttpURLConnection connection1 = client.open(server.getUrl("\/a")); local 1703 HttpURLConnection connection1 = client.open(valid); local [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
CtsRemoteConnectionService.java | 119 public void onConference(Connection connection1, Connection connection2) { 122 sConnectionService.onConference(connection1, connection2); 124 mMockConnectionService.onConference(connection1, connection2);
|
MockConnectionService.java | 126 public void onConference(Connection connection1, Connection connection2) { 128 if (connection1.getConference() == null && connection2.getConference() == null) { 130 (MockConnection)connection1, (MockConnection)connection2); 134 if (connection1.getState() == Connection.STATE_HOLDING){ 135 connection1.setActive();
|
RemoteConferenceTest.java | 501 public void onConference(Connection connection1, Connection connection2) { 508 ((MockConnection)connection1).getRemoteConnection(); 516 if (connection1.getState() == Connection.STATE_HOLDING){ 517 connection1.setActive(); 554 public void onConference(Connection connection1, Connection connection2) { 556 if (connection1.getConference() == null && 559 (MockConnection)connection1, (MockConnection)connection2); 563 if (connection1.getState() == Connection.STATE_HOLDING){ 564 connection1.setActive();
|
ConferenceTest.java | 413 private void verifyConferenceObject(Conference mConferenceObject, MockConnection connection1, 417 assertEquals(connection1.getConnectionCapabilities(), 419 assertEquals(connection1.getState(), mConferenceObject.getState()); 421 assertTrue(mConferenceObject.getConnections().contains(connection1)); 423 assertEquals(connection1.getDisconnectCause(), mConferenceObject.getDisconnectCause()); 424 assertTrue(areBundlesEqual(connection1.getExtras(), mConferenceObject.getExtras())); 425 assertEquals(connection1.getPhoneAccountHandle(), mConferenceObject.getPhoneAccountHandle()); 426 assertEquals(connection1.getStatusHints(), mConferenceObject.getStatusHints());
|
CtsConnectionService.java | 112 public void onConference(Connection connection1, Connection connection2) { 115 sConnectionService.onConference(connection1, connection2);
|
ConnectionServiceTest.java | 248 final Connection connection1 = verifyConnectionForOutgoingCall(); local 252 assertTrue(connections.contains(connection1)); 255 connection1.setActive();
|
ExtendedInCallServiceTest.java | 314 MockConnection connection1 = verifyConnectionForIncomingCall(0); local 346 MockConnection connection1 = verifyConnectionForIncomingCall(0); local 521 final MockConnection connection1 = verifyConnectionForOutgoingCall(0); local 526 connection1.setActive(); 667 final MockConnection connection1 = verifyConnectionForOutgoingCall(0); local 672 connection1.setActive();
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
HttpOverHttp2Test.java | 100 HttpURLConnection connection1 = client.open(server.getUrl("/")); local 101 connection1.connect(); 106 assertContent("ABC", connection1, Integer.MAX_VALUE);
|
HttpOverSpdyTest.java | 186 HttpURLConnection connection1 = client.open(server.getUrl("/r1")); local 188 assertEquals("ABC", readAscii(connection1.getInputStream(), 3)); 190 assertEquals("DEF", readAscii(connection1.getInputStream(), 3)); 315 HttpURLConnection connection1 = client.open(server.getUrl("/")); local 316 connection1.setReadTimeout(2000); 319 connection1.connect(); 321 assertContent("A", connection1, Integer.MAX_VALUE); 362 HttpURLConnection connection1 = client.open(server.getUrl("/")); local 363 InputStream in1 = connection1.getInputStream(); 404 HttpURLConnection connection1 = client.open(server.getUrl("/")) local [all...] |
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
ResponseCacheTest.java | 353 HttpsURLConnection connection1 = (HttpsURLConnection) openConnection(server.getUrl("/")); local 354 assertEquals("ABC", readAscii(connection1)); 355 assertNotNull(connection1.getCipherSuite()); 362 assertEquals(connection1.getCipherSuite(), connection2.getCipherSuite()); 391 HttpURLConnection connection1 = openConnection(server.getUrl("/")); local 392 assertEquals("ABC", readAscii(connection1)); 902 HttpURLConnection connection1 = openConnection(server.getUrl("\/")); local 1329 HttpURLConnection connection1 = openConnection(server.getUrl("\/")); local 1461 HttpURLConnection connection1 = openConnection(url); local 1497 URLConnection connection1 = openConnection(server.getUrl("\/")); local 1516 URLConnection connection1 = openConnection(server.getUrl("\/")); local 1534 URLConnection connection1 = openConnection(server.getUrl("\/")); local 1552 URLConnection connection1 = openConnection(server.getUrl("\/")); local 1603 HttpURLConnection connection1 = openConnection(server.getUrl("\/a")); local 1720 HttpURLConnection connection1 = openConnection(valid); local [all...] |
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
DummyConnectionService.java | 60 public void onConference(Connection connection1, Connection connection2) {
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
URLConnectionTest.java | 418 HttpURLConnection connection1 = client.open(server.getUrl("/a")); local 419 connection1.setReadTimeout(100); 420 assertContent("This connection won't pool properly", connection1); 585 HttpURLConnection connection1 = client.open(server.getUrl("/")); local 586 assertContent("this response comes via HTTPS", connection1); 1255 HttpURLConnection connection1 = client.open(server.getUrl("\/")); local 1316 HttpURLConnection connection1 = client.open(server.getUrl("\/")); local 1340 URLConnection connection1 = client.open(server.getUrl("\/")); local [all...] |