/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
HttpOverHttp20Draft09Test.java | 46 RecordedRequest request = server.takeRequest(); 51 RecordedRequest pushedRequest = server.takeRequest(); 68 RecordedRequest request = server.takeRequest(); 73 RecordedRequest pushedRequest = server.takeRequest();
|
HttpOverSpdyTest.java | 111 RecordedRequest request = server.takeRequest(); 138 RecordedRequest request = server.takeRequest(); 155 RecordedRequest request = server.takeRequest(); 174 RecordedRequest request = server.takeRequest(); 191 RecordedRequest request = server.takeRequest(); 208 assertEquals(0, server.takeRequest().getSequenceNumber()); 209 assertEquals(1, server.takeRequest().getSequenceNumber()); 222 assertEquals(0, server.takeRequest().getSequenceNumber()); 223 assertEquals(1, server.takeRequest().getSequenceNumber()); 244 RecordedRequest denied = server.takeRequest(); [all...] |
URLConnectionTest.java | 172 RecordedRequest request = server.takeRequest(); 329 assertEquals("body", server.takeRequest().getUtf8Body()); 376 assertEquals(0, server.takeRequest().getSequenceNumber()); 378 assertEquals(1, server.takeRequest().getSequenceNumber()); 380 assertEquals(2, server.takeRequest().getSequenceNumber()); 392 assertEquals(0, server.takeRequest().getSequenceNumber()); 394 assertEquals(1, server.takeRequest().getSequenceNumber()); 396 assertEquals(2, server.takeRequest().getSequenceNumber()); 438 assertEquals(0, server.takeRequest().getSequenceNumber()); 444 RecordedRequest requestAfter = server.takeRequest(); [all...] |
CookiesTest.java | 206 RecordedRequest request = server.takeRequest(); 235 RecordedRequest request = redirectSource.takeRequest(); 241 for (String header : redirectTarget.takeRequest().getHeaders()) { 283 RecordedRequest request = server.takeRequest(); 324 RecordedRequest request = server.takeRequest();
|
HttpResponseCacheTest.java | 409 RecordedRequest request1 = server.takeRequest(); 414 RecordedRequest request2 = server.takeRequest(); 420 RecordedRequest request3 = server.takeRequest(); [all...] |
ResponseCacheTest.java | 254 RecordedRequest request1 = server.takeRequest(); 259 RecordedRequest request2 = server.takeRequest(); 265 RecordedRequest request3 = server.takeRequest(); [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
SyncApiTest.java | 72 assertTrue(server.takeRequest().getHeaders().contains("User-Agent: SyncApiTest")); 90 assertEquals(0, server.takeRequest().getSequenceNumber()); 91 assertEquals(1, server.takeRequest().getSequenceNumber()); 92 assertEquals(2, server.takeRequest().getSequenceNumber()); 135 RecordedRequest recordedRequest = server.takeRequest(); 152 assertNull(server.takeRequest().getHeader("If-None-Match")); 156 assertEquals("v1", server.takeRequest().getHeader("If-None-Match")); 168 assertNull(server.takeRequest().getHeader("If-None-Match")); 172 assertEquals("v1", server.takeRequest().getHeader("If-None-Match")); 199 assertEquals(0, server.takeRequest().getSequenceNumber()); // New connection [all...] |
AsyncApiTest.java | 77 assertTrue(server.takeRequest().getHeaders().contains("User-Agent: AsyncApiTest")); 95 assertEquals(0, server.takeRequest().getSequenceNumber()); 96 assertEquals(1, server.takeRequest().getSequenceNumber()); 97 assertEquals(2, server.takeRequest().getSequenceNumber()); 149 RecordedRequest recordedRequest = server.takeRequest(); 169 assertNull(server.takeRequest().getHeader("If-None-Match")); 176 assertEquals("v1", server.takeRequest().getHeader("If-None-Match")); 191 assertNull(server.takeRequest().getHeader("If-None-Match")); 198 assertEquals("v1", server.takeRequest().getHeader("If-None-Match")); 228 assertEquals(0, server.takeRequest().getSequenceNumber()); // New connection [all...] |
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
MockWebServerTest.java | 112 RecordedRequest request = server.takeRequest(); 130 RecordedRequest first = server.takeRequest(); 132 RecordedRequest redirect = server.takeRequest(); 203 assertEquals(0, server.takeRequest().getSequenceNumber()); 204 assertEquals(0, server.takeRequest().getSequenceNumber());
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
AbstractProxyTest.java | 79 RecordedRequest request = server.takeRequest(); 127 RecordedRequest get = server.takeRequest(); 172 RecordedRequest connect = server.takeRequest(); 177 RecordedRequest get = server.takeRequest(); 202 RecordedRequest recordedRequest = server.takeRequest(); 218 RecordedRequest recordedRequest = server.takeRequest();
|
CookiesTest.java | 97 server.takeRequest(); 101 RecordedRequest sendCookiesRequest = server.takeRequest();
|
DefaultHttpClientTest.java | 79 assertEquals(0, server.takeRequest().getSequenceNumber()); 84 assertEquals(0, server.takeRequest().getSequenceNumber());
|
/libcore/luni/src/test/java/libcore/java/net/ |
URLConnectionTest.java | 152 RecordedRequest request = server.takeRequest(); 264 assertEquals(0, server.takeRequest().getSequenceNumber()); 266 assertEquals(1, server.takeRequest().getSequenceNumber()); 268 assertEquals(2, server.takeRequest().getSequenceNumber()); 280 assertEquals(0, server.takeRequest().getSequenceNumber()); 282 assertEquals(1, server.takeRequest().getSequenceNumber()); 284 assertEquals(2, server.takeRequest().getSequenceNumber()); 298 assertEquals(0, server.takeRequest().getSequenceNumber()); 301 assertEquals(1, server.takeRequest().getSequenceNumber()); 320 assertEquals(0, server.takeRequest().getSequenceNumber()) [all...] |
CookiesTest.java | 263 RecordedRequest request = server.takeRequest(); 292 RecordedRequest request = redirectSource.takeRequest(); 298 for (String header : redirectTarget.takeRequest().getHeaders()) { 339 RecordedRequest request = server.takeRequest(); 380 RecordedRequest request = server.takeRequest();
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
MockWebServerTest.java | 128 RecordedRequest request = server.takeRequest(); 152 RecordedRequest request = server.takeRequest(); 172 RecordedRequest request = server.takeRequest(); 190 RecordedRequest first = server.takeRequest(); 192 RecordedRequest redirect = server.takeRequest(); 263 assertEquals(0, server.takeRequest().getSequenceNumber()); 264 assertEquals(0, server.takeRequest().getSequenceNumber());
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
PublicApiFunctionalTest.java | 118 RecordedRequest request = takeRequest(); 192 takeRequest(); // get the first request out of the queue 198 List<String> headers = takeRequest().getHeaders(); 374 List<String> headers = takeRequest().getHeaders(); 470 req = takeRequest(); 478 req = takeRequest(); 745 assertEquals(REQUEST_PATH, takeRequest().getPath()) [all...] |
AbstractDownloadProviderFunctionalTest.java | 242 protected RecordedRequest takeRequest() throws InterruptedException { 243 RecordedRequest request = mServer.takeRequest();
|
DownloadProviderFunctionalTest.java | 62 RecordedRequest request = takeRequest();
|
/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/ |
OkApacheClientTest.java | 105 RecordedRequest request = server.takeRequest(); 118 RecordedRequest request = server.takeRequest();
|
/libcore/support/src/test/java/tests/http/ |
MockWebServer.java | 131 public RecordedRequest takeRequest() throws InterruptedException {
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
MockWebServer.java | 169 public RecordedRequest takeRequest() throws InterruptedException {
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
MockWebServer.java | 205 public RecordedRequest takeRequest() throws InterruptedException {
|