Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/cpp/bindings/tests/
Dmultiplex_router_unittest.cc94 Message request2; in TEST_F() local
95 AllocRequestMessage(1, "hello again", &request2); in TEST_F()
99 &request2, std::make_unique<MessageAccumulator>(&message_queue, in TEST_F()
140 Message request2; in TEST_F() local
141 AllocRequestMessage(1, "hello again", &request2); in TEST_F()
144 &request2, std::make_unique<MessageAccumulator>(&message_queue)); in TEST_F()
198 Message request2; in TEST_F() local
199 AllocRequestMessage(1, "hello again", &request2); in TEST_F()
203 &request2, std::make_unique<MessageAccumulator>(&message_queue, in TEST_F()
/external/grpc-grpc-java/testing/src/test/java/io/grpc/testing/
DGrpcServerRuleTest.java65 SimpleRequest request2 = SimpleRequest.newBuilder().build(); in serverAllowsServicesToBeAddedViaServiceRegistry_withoutDirectExecutor() local
68 stub.unaryRpc(request2); in serverAllowsServicesToBeAddedViaServiceRegistry_withoutDirectExecutor()
70 assertThat(testService.unaryCallRequests).containsExactly(request1, request2); in serverAllowsServicesToBeAddedViaServiceRegistry_withoutDirectExecutor()
115 SimpleRequest request2 = SimpleRequest.newBuilder().build(); in serverAllowsServicesToBeAddedViaServiceRegistry_withDirectExecutor() local
118 stub.unaryRpc(request2); in serverAllowsServicesToBeAddedViaServiceRegistry_withDirectExecutor()
120 assertThat(testService.unaryCallRequests).containsExactly(request1, request2); in serverAllowsServicesToBeAddedViaServiceRegistry_withDirectExecutor()
/external/ltp/testcases/commands/keyctl/
Dkeyctl01.sh48 local key=`keyctl request2 user debug:foo bar`
68 check_keyctl negate request2 show unlink
98 keyctl request2 user debug:fred negate @t >temp 2>&1
/external/libbrillo/brillo/http/
Dhttp_request_unittest.cc77 Request request2{"http://www.foo.bar/baz", request_type::kGet, transport_}; in TEST_F() local
78 EXPECT_EQ("http://www.foo.bar/baz", request2.GetRequestURL()); in TEST_F()
79 EXPECT_EQ(request_type::kGet, request2.GetRequestMethod()); in TEST_F()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DSocksProxyTest.java58 Request request2 = new Request.Builder().url(server.url("/")).build(); in proxy() local
59 Response response2 = client.newCall(request2).execute(); in proxy()
DCallTest.java822 Request request2 = new Request.Builder() in reusedSinksGetIndependentTimeoutInstances() local
826 Response response2 = client.newCall(request2).execute(); in reusedSinksGetIndependentTimeoutInstances()
846 Request request2 = new Request.Builder().url(server.url("/")).build(); in reusedSourcesGetIndependentTimeoutInstances() local
847 Response response2 = client.newCall(request2).execute(); in reusedSourcesGetIndependentTimeoutInstances()
1040 Request request2 = new Request.Builder().url(server.url("/")).build(); in matchingPinnedCertificate() local
1041 Response response2 = client.newCall(request2).execute(); in matchingPinnedCertificate()
1094 Request request2 = new Request.Builder() in postBodyRetransmittedOnFailureRecovery() local
1098 Response response2 = client.newCall(request2).execute(); in postBodyRetransmittedOnFailureRecovery()
1239 Request request2 = new Request.Builder() in conditionalCacheHit_Async() local
1242 client.newCall(request2).enqueue(callback); in conditionalCacheHit_Async()
[all …]
DCacheTest.java324 Request request2 = new Request.Builder().url(server.url("/bar")).build(); in redirectToCachedResult() local
325 Response response2 = client.newCall(request2).execute(); in redirectToCachedResult()
480 Request request2 = new Request.Builder().url(server.url("/")).build(); in cachedRedirect() local
481 Response response2 = client.newCall(request2).execute(); in cachedRedirect()
949 Request request2 = new Request.Builder() in clientSideNoStore() local
952 Response response2 = client.newCall(request2).execute(); in clientSideNoStore()
1313 RecordedRequest request2 = server.takeRequest(); in retainServedDateFormat() local
1314 assertEquals(lastModifiedString, request2.getHeader("If-Modified-Since")); in retainServedDateFormat()
1623 Request request2 = new Request.Builder() in varyMultipleFieldValuesWithMatch() local
1628 Response response2 = client.newCall(request2).execute(); in varyMultipleFieldValuesWithMatch()
[all …]
DURLConnectionTest.java657 RecordedRequest request2 = server.takeRequest(); in sslFallbackNotUsedWhenRecycledConnectionFails() local
658 assertTrue(tlsVersions.contains(request2.getTlsVersion())); in sslFallbackNotUsedWhenRecycledConnectionFails()
/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/
DOkApacheClientTest.java84 HttpGet request2 = new HttpGet(server.getUrl("/").toURI()); in headers() local
85 HttpResponse response2 = client.execute(request2); in headers()
164 HttpGet request2 = new HttpGet(server.getUrl("/").toURI()); in contentType() local
165 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/ltp/testcases/kernel/security/mmc_security/
DREADME36 keyctl request2 mmc mmc:key unlock
40 keyctl request2 mmc mmc:key assign
/external/python/google-api-python-client/tests/
Dtest_http.py1088 self.request2 = HttpRequest(
1230 batch.add(self.request2, callback=callbacks.f)
1246 batch.add(self.request2)
1269 batch.add(self.request2, request_id='def'*20)
1345 self.request2.http = creds_http_2
1348 batch.add(self.request2, callback=callbacks.f)
1387 self.request2.http = creds_http_2
1390 batch.add(self.request2, callback=callbacks.f)
1405 batch.add(self.request2)
1420 batch.add(self.request2)
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/
DShadowDefaultRequestDirectorTest.java268 HttpUriRequest request2 = (HttpUriRequest) FakeHttp.getSentHttpRequest(1); in shouldHandleMultipleInvocationsOfExecute() local
269 assertThat(request2.getMethod()).isEqualTo(HttpGet.METHOD_NAME); in shouldHandleMultipleInvocationsOfExecute()
270 assertThat(request2.getURI()).isEqualTo(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-urlconnection/src/test/java/com/squareup/okhttp/
DUrlConnectionCacheTest.java315 RecordedRequest request2 = server.takeRequest(); in redirectToCachedResult() local
316 assertEquals("GET /bar HTTP/1.1", request2.getRequestLine()); in redirectToCachedResult()
317 assertEquals(1, request2.getSequenceNumber()); in redirectToCachedResult()
638 URLConnection request2 = client.open(url); in testRequestMethod() local
639 request2.getInputStream().close(); in testRequestMethod()
641 assertEquals("1", request2.getHeaderField("X-Response-ID")); in testRequestMethod()
643 assertEquals("2", request2.getHeaderField("X-Response-ID")); in testRequestMethod()
1087 RecordedRequest request2 = server.takeRequest(); in retainServedDateFormat() local
1088 assertEquals(lastModifiedString, request2.getHeader("If-Modified-Since")); in retainServedDateFormat()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DResponseCacheTest.java325 RecordedRequest request2 = server.takeRequest(); in redirectToCachedResult() local
326 assertEquals("GET /bar HTTP/1.1", request2.getRequestLine()); in redirectToCachedResult()
327 assertEquals(1, request2.getSequenceNumber()); in redirectToCachedResult()
713 URLConnection request2 = openConnection(url); in testRequestMethod() local
714 request2.getInputStream().close(); in testRequestMethod()
716 assertEquals("1", request2.getHeaderField("X-Response-ID")); in testRequestMethod()
718 assertEquals("2", request2.getHeaderField("X-Response-ID")); in testRequestMethod()
1199 RecordedRequest request2 = server.takeRequest(); in retainServedDateFormat() local
1200 assertEquals(lastModifiedString, request2.getHeader("If-Modified-Since")); in retainServedDateFormat()
/external/grpc-grpc/src/objective-c/tests/
DInteropTests.m269 RMTStreamingInputCallRequest *request2 = [RMTStreamingInputCallRequest message];
270 request2.payload.body = [NSMutableData dataWithLength:8];
278 GRXWriter *writer = [GRXWriter writerWithContainer:@[ request1, request2, request3, request4 ]];
/external/kernel-headers/original/uapi/linux/
Dfirewire-cdev.h391 struct fw_cdev_event_request2 request2; /* added in 2.6.36 */ member
/external/python/httplib2/tests/
Dtest_http.py586 request2 = read()
587 assert request2.headers["if-modified-since"] == date
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttpOverSpdyTest.java244 RecordedRequest request2 = server.takeRequest(); in redirect() local
245 assertEquals("/foo", request2.getPath()); in redirect()