/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...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
ConferenceTest.java | 382 private void verifyConferenceObject(Conference mConferenceObject, MockConnection connection1, 386 assertEquals(connection1.getConnectionCapabilities(), 388 assertEquals(connection1.getState(), mConferenceObject.getState()); 390 assertTrue(mConferenceObject.getConnections().contains(connection1)); 392 assertEquals(connection1.getDisconnectCause(), mConferenceObject.getDisconnectCause()); 393 assertEquals(connection1.getExtras(), mConferenceObject.getExtras()); 394 assertEquals(connection1.getPhoneAccountHandle(), mConferenceObject.getPhoneAccountHandle()); 395 assertEquals(connection1.getStatusHints(), mConferenceObject.getStatusHints());
|
ConnectionServiceTest.java | 114 final Connection connection1 = verifyConnectionForOutgoingCall(); local 118 assertTrue(connections.contains(connection1)); 121 connection1.setActive();
|
MockConnectionService.java | 93 public void onConference(Connection connection1, Connection connection2) { 95 if (connection1.getConference() == null && connection2.getConference() == null) { 97 (MockConnection)connection1, (MockConnection)connection2); 101 if (connection1.getState() == Connection.STATE_HOLDING){ 102 connection1.setActive();
|
ExtendedInCallServiceTest.java | 257 MockConnection connection1 = verifyConnectionForIncomingCall(0); local 289 MockConnection connection1 = verifyConnectionForIncomingCall(0); local 464 final MockConnection connection1 = verifyConnectionForOutgoingCall(0); local 469 connection1.setActive(); 602 final MockConnection connection1 = verifyConnectionForOutgoingCall(0); local 607 connection1.setActive();
|
/libcore/luni/src/test/java/libcore/java/net/ |
URLStreamHandlerFactoryTest.java | 106 URLConnection connection1 = new URL("http://android.com/").openConnection(); local 107 assertFalse(connection1 instanceof Handler.HandlerURLConnection);
|
URLConnectionTest.java | 412 URLConnection connection1 = server.getUrl("/").openConnection(); local 413 assertEquals("ABC", readAscii(connection1.getInputStream(), Integer.MAX_VALUE)); 841 HttpURLConnection connection1 = (HttpURLConnection) url.openConnection(); local 1378 HttpURLConnection connection1 = (HttpURLConnection) server.getUrl("\/").openConnection(); local [all...] |
/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...] |
/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...] |
/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...] |
/frameworks/base/telecomm/java/android/telecom/ |
ConnectionService.java | 1531 Connection connection1 = findConnectionForAction(callId1, "conference"); local [all...] |
/prebuilts/sdk/25/ |
android.jar | |
/prebuilts/sdk/26/ |
android.jar | |
/prebuilts/sdk/system_23/ |
android.jar | |