Home
last modified time | relevance | path

Searched refs:request2 (Results 1 – 12 of 12) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DSocksProxyTest.java58 Request request2 = new Request.Builder().url(server.getUrl("/")).build(); in proxy() local
59 Response response2 = client.newCall(request2).execute(); in proxy()
DCallTest.java136 Request request2 = request1.newBuilder() in lazilyEvaluateRequestUrl() local
139 executeSynchronously(request2) in lazilyEvaluateRequestUrl()
734 Request request2 = new Request.Builder() in reusedSinksGetIndependentTimeoutInstances() local
738 Response response2 = client.newCall(request2).execute(); in reusedSinksGetIndependentTimeoutInstances()
758 Request request2 = new Request.Builder().url(server.getUrl("/")).build(); in reusedSourcesGetIndependentTimeoutInstances() local
759 Response response2 = client.newCall(request2).execute(); in reusedSourcesGetIndependentTimeoutInstances()
956 Request request2 = new Request.Builder().url(server.getUrl("/")).build(); in matchingPinnedCertificate() local
957 Response response2 = client.newCall(request2).execute(); in matchingPinnedCertificate()
1012 Request request2 = new Request.Builder() in postBodyRetransmittedOnFailureRecovery() local
1016 Response response2 = client.newCall(request2).execute(); in postBodyRetransmittedOnFailureRecovery()
[all …]
DCacheTest.java327 Request request2 = new Request.Builder().url(server.getUrl("/bar")).build(); in redirectToCachedResult() local
328 Response response2 = client.newCall(request2).execute(); in redirectToCachedResult()
932 Request request2 = new Request.Builder() in clientSideNoStore() local
935 Response response2 = client.newCall(request2).execute(); in clientSideNoStore()
1296 RecordedRequest request2 = server.takeRequest(); in retainServedDateFormat() local
1297 assertEquals(lastModifiedString, request2.getHeader("If-Modified-Since")); in retainServedDateFormat()
1608 Request request2 = new Request.Builder() in varyMultipleFieldValuesWithMatch() local
1613 Response response2 = client.newCall(request2).execute(); in varyMultipleFieldValuesWithMatch()
1634 Request request2 = new Request.Builder() in varyMultipleFieldValuesWithNoMatch() local
1639 Response response2 = client.newCall(request2).execute(); in varyMultipleFieldValuesWithNoMatch()
[all …]
/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/
DOkApacheClientTest.java83 HttpGet request2 = new HttpGet(server.getUrl("/").toURI()); in headers() local
84 HttpResponse response2 = client.execute(request2); in headers()
145 HttpGet request2 = new HttpGet(server.getUrl("/").toURI()); in contentType() local
146 HttpResponse response2 = client.execute(request2); in contentType()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DCombinedExceptionEventsTest.java90 int request2 = requestException(subExceptionClassID, true, false); in runCombinedExceptionEventsTest() local
108 expectedRequests = new int[] { request1, request2, request5, request6 }; in runCombinedExceptionEventsTest()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DDefaultRequestDirectorTest.java244 HttpUriRequest request2 = (HttpUriRequest) Robolectric.getSentHttpRequest(1); in shouldHandleMultipleInvocationsOfExecute() local
245 assertThat(request2.getMethod(), equalTo(HttpGet.METHOD_NAME)); in shouldHandleMultipleInvocationsOfExecute()
246 assertThat(request2.getURI(), equalTo(URI.create("www.example.com"))); in shouldHandleMultipleInvocationsOfExecute()
/external/okhttp/mockwebserver/
DREADME.md66 RecordedRequest request2 = server.takeRequest();
67 assertEquals("/v1/chat/messages/2", request2.getPath());
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DResponseCacheTest.java336 RecordedRequest request2 = server.takeRequest(); in redirectToCachedResult() local
337 assertEquals("GET /bar HTTP/1.1", request2.getRequestLine()); in redirectToCachedResult()
338 assertEquals(1, request2.getSequenceNumber()); in redirectToCachedResult()
724 URLConnection request2 = openConnection(url); in testRequestMethod() local
725 request2.getInputStream().close(); in testRequestMethod()
727 assertEquals("1", request2.getHeaderField("X-Response-ID")); in testRequestMethod()
729 assertEquals("2", request2.getHeaderField("X-Response-ID")); in testRequestMethod()
1210 RecordedRequest request2 = server.takeRequest(); in retainServedDateFormat() local
1211 assertEquals(lastModifiedString, request2.getHeader("If-Modified-Since")); in retainServedDateFormat()
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DUrlConnectionCacheTest.java321 RecordedRequest request2 = server.takeRequest(); in redirectToCachedResult() local
322 assertEquals("GET /bar HTTP/1.1", request2.getRequestLine()); in redirectToCachedResult()
323 assertEquals(1, request2.getSequenceNumber()); in redirectToCachedResult()
644 URLConnection request2 = client.open(url); in testRequestMethod() local
645 request2.getInputStream().close(); in testRequestMethod()
647 assertEquals("1", request2.getHeaderField("X-Response-ID")); in testRequestMethod()
649 assertEquals("2", request2.getHeaderField("X-Response-ID")); in testRequestMethod()
1093 RecordedRequest request2 = server.takeRequest(); in retainServedDateFormat() local
1094 assertEquals(lastModifiedString, request2.getHeader("If-Modified-Since")); in retainServedDateFormat()
/external/kernel-headers/original/uapi/linux/
Dfirewire-cdev.h385 struct fw_cdev_event_request2 request2; /* added in 2.6.36 */ member
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DHttpOverSpdyTest.java250 RecordedRequest request2 = server.takeRequest(); in redirect() local
251 assertEquals("/foo", request2.getPath()); in redirect()
DURLConnectionTest.java672 RecordedRequest request2 = server.takeRequest(); in sslFallbackNotUsedWhenRecycledConnectionFails() local
673 assertTrue(tlsVersions.contains(request2.getTlsVersion())); in sslFallbackNotUsedWhenRecycledConnectionFails()