/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
HttpOverHttp2Test.java | 102 HttpURLConnection connection2 = client.open(server.getUrl("/")); local 103 connection2.connect(); 107 assertContent("DEF", connection2, Integer.MAX_VALUE);
|
HttpOverSpdyTest.java | 187 HttpURLConnection connection2 = client.open(server.getUrl("/r2")); local 189 assertEquals("GHI", readAscii(connection2.getInputStream(), 3)); 191 assertEquals("JKL", readAscii(connection2.getInputStream(), 3)); 317 HttpURLConnection connection2 = client.open(server.getUrl("/")); local 318 connection2.setReadTimeout(200); 320 connection2.connect(); 367 HttpURLConnection connection2 = client.open(server.getUrl("/")); local 368 InputStream in2 = connection2.getInputStream(); 410 HttpURLConnection connection2 = client.open(server.getUrl("/")); local 411 assertContent("abc", connection2, 3) [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
URLStreamHandlerFactoryTest.java | 112 URLConnection connection2 = new URL("http://android.com/").openConnection(); local 113 assertFalse(connection2 instanceof Handler.HandlerURLConnection);
|
URLConnectionTest.java | 415 URLConnection connection2 = server.getUrl("/").openConnection(); local 416 assertEquals("DEF", readAscii(connection2.getInputStream(), Integer.MAX_VALUE)); 849 HttpURLConnection connection2 = (HttpURLConnection) url.openConnection(); local 1383 HttpURLConnection connection2 = (HttpURLConnection) server.getUrl("\/").openConnection(); local [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
ConnectionServiceTest.java | 230 final Connection connection2 = new MockConnection(); local 231 connection2.setActive(); 232 CtsConnectionService.addExistingConnectionToTelecom(TEST_PHONE_ACCOUNT_HANDLE, connection2); 237 assertTrue(connections.contains(connection2));
|
ExtendedInCallServiceTest.java | 322 final MockConnection connection2 = verifyConnectionForIncomingCall(1); local 326 assertConnectionState(connection2, Connection.STATE_RINGING); 332 assertConnectionState(connection2, Connection.STATE_ACTIVE); 354 final MockConnection connection2 = verifyConnectionForIncomingCall(1); local 358 assertConnectionState(connection2, Connection.STATE_RINGING); 368 assertConnectionState(connection2, Connection.STATE_ACTIVE); 530 final MockConnection connection2 = verifyConnectionForOutgoingCall(1); local 534 connection2.setActive();
|
SelfManagedConnectionServiceTest.java | 391 SelfManagedConnection connection2 = TestUtils.waitForAndGetConnection(TEST_ADDRESS_2); local 393 connection2.disconnectAndDestroy();
|
MockConnectionService.java | 124 public void onConference(Connection connection1, Connection connection2) { 126 if (connection1.getConference() == null && connection2.getConference() == null) { 128 (MockConnection)connection1, (MockConnection)connection2); 135 if(connection2.getState() == Connection.STATE_HOLDING){ 136 connection2.setActive();
|
ConferenceTest.java | 399 MockConnection connection2) { 405 assertEquals(connection2.getState(), mConferenceObject.getState()); 407 assertTrue(mConferenceObject.getConnections().contains(connection2));
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
OkUrlFactoryTest.java | 92 HttpURLConnection connection2 = factory.open(server.getUrl("/")); local 93 assertResponseHeader(connection2, "CONDITIONAL_CACHE 304"); 94 assertResponseBody(connection2, "Isla Nublar"); 108 HttpURLConnection connection2 = factory.open(server.getUrl("/")); local 109 assertResponseHeader(connection2, "CONDITIONAL_CACHE 200"); 110 assertResponseBody(connection2, "Isla Sorna"); 122 HttpURLConnection connection2 = factory.open(server.getUrl("/")); local 123 assertResponseHeader(connection2, "CACHE 200"); 124 assertResponseBody(connection2, "Isla Nublar"); 134 HttpURLConnection connection2 = factory.open(server.getUrl("/")) local [all...] |
UrlConnectionCacheTest.java | 345 HttpsURLConnection connection2 = (HttpsURLConnection) client.open(server.getUrl("/")); local 346 assertEquals("ABC", readAscii(connection2)); 347 assertNotNull(connection2.getCipherSuite()); 351 assertEquals(connection1.getCipherSuite(), connection2.getCipherSuite()); 381 HttpURLConnection connection2 = client.open(server.getUrl("/")); local 382 assertEquals("ABC", readAscii(connection2)); 1252 URLConnection connection2 = client.open(url); local 1301 URLConnection connection2 = client.open(url); local 1319 URLConnection connection2 = client.open(url); local 1358 URLConnection connection2 = client.open(url); local 1376 URLConnection connection2 = client.open(url); local 1406 HttpsURLConnection connection2 = (HttpsURLConnection) client.open(url); local 1442 URLConnection connection2 = client.open(server.getUrl("\/")); local 1459 URLConnection connection2 = client.open(server.getUrl("\/")); local 1475 URLConnection connection2 = client.open(server.getUrl("\/")); local 1491 URLConnection connection2 = client.open(server.getUrl("\/")); local 1526 HttpURLConnection connection2 = client.open(server.getUrl("\/a")); local 1707 HttpURLConnection connection2 = client.open(valid); local [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
URLConnectionTest.java | 422 HttpURLConnection connection2 = client.open(server.getUrl("/b")); local 423 connection2.setReadTimeout(100); 424 assertContent("This comes after a busted connection", connection2); 589 HttpURLConnection connection2 = client.open(server.getUrl("/")); local 591 readAscii(connection2.getInputStream(), Integer.MAX_VALUE); 1261 HttpURLConnection connection2 = client.open(server.getUrl("\/")); local 1322 HttpURLConnection connection2 = client.open(server.getUrl("\/")); local [all...] |
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
ResponseCacheTest.java | 358 HttpsURLConnection connection2 = (HttpsURLConnection) openConnection(server.getUrl("/")); local 359 assertEquals("ABC", readAscii(connection2)); 360 assertNotNull(connection2.getCipherSuite()); 362 assertEquals(connection1.getCipherSuite(), connection2.getCipherSuite()); 395 HttpURLConnection connection2 = openConnection(server.getUrl("/")); local 396 assertEquals("ABC", readAscii(connection2)); 906 HttpURLConnection connection2 = openConnection(server.getUrl("\/")); local 1316 HttpURLConnection connection2 = openConnection(server.getUrl("\/")); local 1465 HttpURLConnection connection2 = openConnection(url); local 1501 URLConnection connection2 = openConnection(server.getUrl("\/")); local 1520 URLConnection connection2 = openConnection(server.getUrl("\/")); local 1538 URLConnection connection2 = openConnection(server.getUrl("\/")); local 1556 URLConnection connection2 = openConnection(server.getUrl("\/")); local 1608 HttpURLConnection connection2 = openConnection(server.getUrl("\/a")); local 1724 HttpURLConnection connection2 = openConnection(valid); local [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
ConnectionService.java | 1715 Connection connection2 = findConnectionForAction(callId2, "conference"); local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 507 HttpsURLConnection connection2 = (HttpsURLConnection) url.openConnection( local 509 connection2.setSSLSocketFactory(getContext().getSocketFactory()); 512 executeClientRequest(connection2, false /* doOutput */); 513 checkConnectionStateParameters(connection2, getDispatcher2.getLastRequest()); [all...] |
/prebuilts/sdk/25/ |
android.jar | |
/prebuilts/sdk/26/ |
android.jar | |
/prebuilts/sdk/27/ |
android.jar | |
/prebuilts/sdk/system_23/ |
android.jar | |