Home
last modified time | relevance | path

Searched refs:Request (Results 1 – 25 of 876) sorted by relevance

12345678910>>...36

/external/volley/src/test/java/com/android/volley/toolbox/
DRequestTest.java23 import com.android.volley.Request;
39 Request.class.getConstructor( in publicMethods()
42 assertNotNull(Request.class.getMethod("getMethod")); in publicMethods()
43 assertNotNull(Request.class.getMethod("setTag", Object.class)); in publicMethods()
44 assertNotNull(Request.class.getMethod("getTag")); in publicMethods()
45 assertNotNull(Request.class.getMethod("getErrorListener")); in publicMethods()
46 assertNotNull(Request.class.getMethod("getTrafficStatsTag")); in publicMethods()
47 assertNotNull(Request.class.getMethod("setRetryPolicy", RetryPolicy.class)); in publicMethods()
48 assertNotNull(Request.class.getMethod("addMarker", String.class)); in publicMethods()
49 assertNotNull(Request.class.getDeclaredMethod("finish", String.class)); in publicMethods()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRequestTest.java96 Request get = new Request.Builder().url("http://localhost/api").get().build(); in crudVerbs()
100 Request head = new Request.Builder().url("http://localhost/api").head().build(); in crudVerbs()
104 Request delete = new Request.Builder().url("http://localhost/api").delete().build(); in crudVerbs()
108 Request post = new Request.Builder().url("http://localhost/api").post(body).build(); in crudVerbs()
112 Request put = new Request.Builder().url("http://localhost/api").put(body).build(); in crudVerbs()
116 Request patch = new Request.Builder().url("http://localhost/api").patch(body).build(); in crudVerbs()
122 Request request = new Request.Builder().url("http://localhost/api").build(); in uninitializedURI()
128 Request requestWithoutCache = new Request.Builder().url("http://localhost/api").build(); in newBuilderUrlResetsUrl()
129Request builtRequestWithoutCache = requestWithoutCache.newBuilder().url("http://localhost/api/foo"… in newBuilderUrlResetsUrl()
132 Request requestWithCache = new Request.Builder().url("http://localhost/api").build(); in newBuilderUrlResetsUrl()
[all …]
DConnectionReuseTest.java44 Request request = new Request.Builder() in connectionsAreReused()
55 Request request = new Request.Builder() in connectionsAreReusedWithHttp2()
65 Request requestA = new Request.Builder() in connectionsAreNotReusedWithRequestConnectionClose()
69 Request requestB = new Request.Builder() in connectionsAreNotReusedWithRequestConnectionClose()
81 Request requestA = new Request.Builder() in connectionsAreNotReusedWithResponseConnectionClose()
84 Request requestB = new Request.Builder() in connectionsAreNotReusedWithResponseConnectionClose()
97 Request request = new Request.Builder() in connectionsAreNotReusedWithUnknownLengthResponseBody()
108 Request request = new Request.Builder() in connectionsAreNotReusedIfPoolIsSizeZero()
122 Request request = new Request.Builder() in connectionsReusedWithRedirectEvenIfPoolIsSizeZero()
140 Request request = new Request.Builder() in connectionsNotReusedWithRedirectIfDiscardingResponseIsSlow()
[all …]
DCallTest.java113 Request request = new Request.Builder() in get()
135 Request request = new Request.Builder() in buildRequestUsingHttpUrl()
144 Request.Builder requestBuilder = new Request.Builder(); in invalidScheme()
154 Request.Builder requestBuilder = new Request.Builder(); in invalidPort()
166 Request request = new Request.Builder() in getReturns500()
195 Request request = new Request.Builder() in repeatedHeaderNames()
223 new Request.Builder().method("GET", RequestBody.create(MediaType.parse("text/plain"), "abc")); in getWithRequestBody()
232 Request request = new Request.Builder() in head()
267 Request request = new Request.Builder() in post()
301 Request request = new Request.Builder() in postZeroLength()
[all …]
DInterceptorTest.java56 Request request = new Request.Builder() in applicationInterceptorsCanShortCircuitResponses()
94 Request request = new Request.Builder() in networkInterceptorsCannotShortCircuitResponses()
119 Request request = new Request.Builder() in networkInterceptorsCannotCallProceedMultipleTimes()
147 Request request = new Request.Builder() in networkInterceptorsCannotChangeServerAddress()
171 Request request = new Request.Builder() in networkInterceptorsHaveConnectionAccess()
185 Request networkRequest = chain.request(); in networkInterceptorsObserveNetworkHeaders()
198 Request request = new Request.Builder() in networkInterceptorsObserveNetworkHeaders()
219 Request originalRequest = chain.request(); in networkInterceptorsCanChangeRequestMethodFromGetToPost()
230 Request request = new Request.Builder() in networkInterceptorsCanChangeRequestMethodFromGetToPost()
255 Request originalRequest = chain.request(); in rewriteRequestToServer()
[all …]
/external/tcpdump/tests/
Darp-oobr.out1 …f:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.1…
2 …f:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.1…
3 …f:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.0…
4 …b:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.1…
5 …f:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.2…
6 …f:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.0…
7 …f:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.1…
8 …f:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.1…
9 …f:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.1…
10 …f:ff, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.0…
[all …]
DQinQpacket.out1 …ethertype 802.1Q-QinQ (0x88a8), length 64: vlan 200, p 0, ethertype ARP, Request who-has 172.17.0.…
2 …n 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:…
3 …n 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:…
4 …ethertype 802.1Q-QinQ (0x88a8), length 64: vlan 200, p 0, ethertype ARP, Request who-has 172.17.0.…
5 …n 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:…
6 …n 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:…
7 …n 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:…
8 …n 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:…
9 …n 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:…
10 …n 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:…
[all …]
/external/llvm-project/clang-tools-extra/clangd/index/
DIndex.cpp34 bool fromJSON(const llvm::json::Value &Parameters, FuzzyFindRequest &Request, in fromJSON() argument
39 O && O.map("Query", Request.Query) && O.map("Scopes", Request.Scopes) && in fromJSON()
40 O.map("AnyScope", Request.AnyScope) && O.map("Limit", Limit) && in fromJSON()
41 O.map("RestrictForCodeCompletion", Request.RestrictForCodeCompletion) && in fromJSON()
42 O.map("ProximityPaths", Request.ProximityPaths) && in fromJSON()
43 O.map("PreferredTypes", Request.PreferredTypes); in fromJSON()
45 Request.Limit = Limit; in fromJSON()
49 llvm::json::Value toJSON(const FuzzyFindRequest &Request) { in toJSON() argument
51 {"Query", Request.Query}, in toJSON()
52 {"Scopes", llvm::json::Array{Request.Scopes}}, in toJSON()
[all …]
/external/grpc-grpc-java/services/src/generated/test/java/io/grpc/reflection/testing/
DRequest.java9 public final class Request extends class
15 private Request(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { in Request() method in Request
18 private Request() { in Request() method in Request
27 private Request( in Request() method in Request
80 … io.grpc.reflection.testing.Request.class, io.grpc.reflection.testing.Request.Builder.class); in internalGetFieldAccessorTable()
162 if (!(obj instanceof io.grpc.reflection.testing.Request)) { in equals()
165 io.grpc.reflection.testing.Request other = (io.grpc.reflection.testing.Request) obj; in equals()
193 public static io.grpc.reflection.testing.Request parseFrom( in parseFrom()
198 public static io.grpc.reflection.testing.Request parseFrom( in parseFrom()
204 public static io.grpc.reflection.testing.Request parseFrom( in parseFrom()
[all …]
/external/junit/src/main/java/org/junit/runner/
DRequest.java29 public abstract class Request { class
39 public static Request method(Class<?> clazz, String methodName) { in method()
41 return Request.aClass(clazz).filterWith(method); in method()
51 public static Request aClass(Class<?> clazz) { in aClass()
62 public static Request classWithoutSuiteMethod(Class<?> clazz) { in classWithoutSuiteMethod()
74 public static Request classes(Computer computer, Class<?>... classes) { in classes()
91 public static Request classes(Class<?>... classes) { in classes()
100 public static Request errorReport(Class<?> klass, Throwable cause) { in errorReport()
108 public static Request runner(final Runner runner) { in runner()
109 return new Request() { in runner()
[all …]
/external/golang-protobuf/protoc-gen-go/testdata/proto3/
Dproto3.pb.go54 type Request struct { struct
65 func (m *Request) Reset() { *m = Request{} } argument
66 func (m *Request) String() string { return proto.CompactTextString(m) } argument
67 func (*Request) ProtoMessage() {} argument
68 func (*Request) Descriptor() ([]byte, []int) { argument
72 func (m *Request) XXX_Unmarshal(b []byte) error { argument
75 func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { argument
78 func (m *Request) XXX_Merge(src proto.Message) { argument
81 func (m *Request) XXX_Size() int { argument
84 func (m *Request) XXX_DiscardUnknown() { argument
[all …]
/external/libbrillo/brillo/http/
Dhttp_request.cc107 Request::Request(const std::string& url, in Request() function in brillo::http::Request
116 Request::~Request() { in ~Request()
120 void Request::AddRange(int64_t bytes) { in AddRange()
123 ranges_.emplace_back(Request::range_value_omitted, -bytes); in AddRange()
125 ranges_.emplace_back(bytes, Request::range_value_omitted); in AddRange()
129 void Request::AddRange(uint64_t from_byte, uint64_t to_byte) { in AddRange()
134 std::unique_ptr<Response> Request::GetResponseAndBlock( in GetResponseAndBlock()
144 RequestID Request::GetResponse(const SuccessCallback& success_callback, in GetResponse()
159 void Request::SetAccept(const std::string& accept_mime_types) { in SetAccept()
164 const std::string& Request::GetAccept() const { in GetAccept()
[all …]
/external/apache-http/android/src/android/net/http/
DRequestQueue.java49 private final LinkedHashMap<HttpHost, LinkedList<Request>> mPending;
208 mPending = new LinkedHashMap<HttpHost, LinkedList<Request>>(32); in RequestQueue()
322 Request req; in queueRequest()
326 req = new Request(method, httpHost, mProxyHost, uri.getPath(), bodyProvider, in queueRequest()
344 private Request mRequest;
347 public Request getRequest() { in getRequest()
348 Request r = mRequest; in getRequest()
352 public Request getRequest(HttpHost host) { in getRequest()
358 public void requeueRequest(Request r) { in requeueRequest()
373 Request req = new Request(method, host, mProxyHost, uri.getPath(), in queueSynchronousRequest()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/manager/
DRequestTracker.java3 import com.bumptech.glide.request.Request;
19 …private final Set<Request> requests = Collections.newSetFromMap(new WeakHashMap<Request, Boolean>(…
25 public void runRequest(Request request) { in runRequest()
33 void addRequest(Request request) { in addRequest()
40 public void removeRequest(Request request) { in removeRequest()
56 for (Request request : requests) { in pauseRequests()
68 for (Request request : requests) { in resumeRequests()
79 for (Request request : requests) { in clearRequests()
88 for (Request request : requests) { in restartRequests()
/external/skqp/tools/skiaserve/urlhandlers/
DUrlHandler.h13 struct Request;
19 virtual int handle(Request* request, MHD_Connection* connection,
27 int handle(Request* request, MHD_Connection* connection,
35 int handle(Request* request, MHD_Connection* connection,
43 int handle(Request* request, MHD_Connection* connection,
55 int handle(Request* request, MHD_Connection* connection,
67 int handle(Request* request, MHD_Connection* connection,
79 int handle(Request* request, MHD_Connection* connection,
87 int handle(Request* request, MHD_Connection* connection,
95 int handle(Request* request, MHD_Connection* connection,
[all …]
/external/skia/tools/skiaserve/urlhandlers/
DUrlHandler.h13 struct Request;
19 virtual int handle(Request* request, MHD_Connection* connection,
27 int handle(Request* request, MHD_Connection* connection,
35 int handle(Request* request, MHD_Connection* connection,
43 int handle(Request* request, MHD_Connection* connection,
55 int handle(Request* request, MHD_Connection* connection,
67 int handle(Request* request, MHD_Connection* connection,
79 int handle(Request* request, MHD_Connection* connection,
87 int handle(Request* request, MHD_Connection* connection,
95 int handle(Request* request, MHD_Connection* connection,
[all …]
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/
Dserver_callback.h39 template <class Request, class Response>
41 template <class Request, class Response>
43 template <class Request, class Response>
45 template <class Request, class Response>
61 template <class Request, class Response>
63 template <class Request, class Response>
65 template <class Request, class Response>
67 template <class Request, class Response>
159 template <class Request, class Response>
161 : public ::grpc::experimental::MessageHolder<Request, Response> {
[all …]
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/
Dserver_callback.h39 template <class Request, class Response>
41 template <class Request, class Response>
43 template <class Request, class Response>
45 template <class Request, class Response>
61 template <class Request, class Response>
63 template <class Request, class Response>
65 template <class Request, class Response>
67 template <class Request, class Response>
159 template <class Request, class Response>
161 : public ::grpc::experimental::MessageHolder<Request, Response> {
[all …]
/external/grpc-grpc/test/cpp/codegen/
Dcompiler_test_golden65 …virtual ::grpc::Status MethodA1(::grpc::ClientContext* context, const ::grpc::testing::Request& re…
66 …e>> AsyncMethodA1(::grpc::ClientContext* context, const ::grpc::testing::Request& request, ::grpc:…
69 …pareAsyncMethodA1(::grpc::ClientContext* context, const ::grpc::testing::Request& request, ::grpc:…
77 …std::unique_ptr< ::grpc::ClientWriterInterface< ::grpc::testing::Request>> MethodA2(::grpc::Client…
78 …return std::unique_ptr< ::grpc::ClientWriterInterface< ::grpc::testing::Request>>(MethodA2Raw(cont…
80 …std::unique_ptr< ::grpc::ClientAsyncWriterInterface< ::grpc::testing::Request>> AsyncMethodA2(::gr…
81 …return std::unique_ptr< ::grpc::ClientAsyncWriterInterface< ::grpc::testing::Request>>(AsyncMethod…
83 …std::unique_ptr< ::grpc::ClientAsyncWriterInterface< ::grpc::testing::Request>> PrepareAsyncMethod…
84 …return std::unique_ptr< ::grpc::ClientAsyncWriterInterface< ::grpc::testing::Request>>(PrepareAsyn…
88 …ing::Response>> MethodA3(::grpc::ClientContext* context, const ::grpc::testing::Request& request) {
[all …]
Dcompiler_test_mock_golden16 …1, ::grpc::Status(::grpc::ClientContext* context, const ::grpc::testing::Request& request, ::grpc:…
17 …sting::Response>*(::grpc::ClientContext* context, const ::grpc::testing::Request& request, ::grpc:…
18 …sting::Response>*(::grpc::ClientContext* context, const ::grpc::testing::Request& request, ::grpc:…
19 …MOCK_METHOD2(MethodA2Raw, ::grpc::ClientWriterInterface< ::grpc::testing::Request>*(::grpc::Client…
20 …MOCK_METHOD4(AsyncMethodA2Raw, ::grpc::ClientAsyncWriterInterface< ::grpc::testing::Request>*(::gr…
21 …reAsyncMethodA2Raw, ::grpc::ClientAsyncWriterInterface< ::grpc::testing::Request>*(::grpc::ClientC…
22 …rpc::testing::Response>*(::grpc::ClientContext* context, const ::grpc::testing::Request& request));
23 …sting::Response>*(::grpc::ClientContext* context, const ::grpc::testing::Request& request, ::grpc:…
24 …sting::Response>*(::grpc::ClientContext* context, const ::grpc::testing::Request& request, ::grpc:…
25 …MOCK_METHOD1(MethodA4Raw, ::grpc::ClientReaderWriterInterface< ::grpc::testing::Request, ::grpc::t…
[all …]
/external/volley/src/test/java/com/android/volley/
DCacheDispatcherTest.java47 private @Mock BlockingQueue<Request<?>> mCacheQueue;
48 private @Mock BlockingQueue<Request<?>> mNetworkQueue;
58 mRequest = new StringRequest(Request.Method.GET, "http://foo", null, null); in setUp()
79 verify(delivery, never()).postResponse(any(Request.class), any(Response.class)); in verifyNoResponse()
81 .postResponse(any(Request.class), any(Response.class), any(Runnable.class)); in verifyNoResponse()
82 verify(delivery, never()).postError(any(Request.class), any(VolleyError.class)); in verifyNoResponse()
109 verify(mDelivery).postResponse(any(Request.class), any(Response.class)); in nonExpiredCacheHit()
110 verify(mDelivery, never()).postError(any(Request.class), any(VolleyError.class)); in nonExpiredCacheHit()
123 verify(mDelivery).postResponse(any(Request.class), any(Response.class), runnable.capture()); in softExpiredCacheHit()
129 verify(mDelivery, never()).postError(any(Request.class), any(VolleyError.class)); in softExpiredCacheHit()
[all …]
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/
DTextClassifierImplTest.java92 TextSelection.Request request = in testSuggestSelection()
93 new TextSelection.Request.Builder(text, startIndex, endIndex) in testSuggestSelection()
111 TextSelection.Request request = in testSuggestSelection_url()
112 new TextSelection.Request.Builder(text, startIndex, endIndex) in testSuggestSelection_url()
126 TextSelection.Request request = in testSmartSelection_withEmoji()
127 new TextSelection.Request.Builder(text, startIndex, endIndex) in testSmartSelection_withEmoji()
141 TextClassification.Request request = in testClassifyText()
142 new TextClassification.Request.Builder(text, startIndex, endIndex) in testClassifyText()
157 TextClassification.Request request = in testClassifyText_url()
158 new TextClassification.Request.Builder(text, startIndex, endIndex) in testClassifyText_url()
[all …]
/external/skqp/tools/skiaserve/
DRequest.cpp22 Request::Request(SkString rootUrl) in Request() function in Request
33 Request::~Request() { in ~Request()
39 sk_sp<SkData> Request::writeCanvasToPng(SkCanvas* canvas) { in writeCanvasToPng()
51 SkCanvas* Request::getCanvas() { in getCanvas()
72 sk_sp<SkData> Request::drawToPng(int n, int m) { in drawToPng()
79 sk_sp<SkData> Request::writeOutSkp() { in writeOutSkp()
91 GrContext* Request::getContext() { in getContext()
101 SkIRect Request::getBounds() { in getBounds()
136 SkSurface* Request::createCPUSurface() { in createCPUSurface()
147 SkSurface* Request::createGPUSurface() { in createGPUSurface()
[all …]
/external/skia/tools/skiaserve/
DRequest.cpp25 Request::Request(SkString rootUrl) in Request() function in Request
36 Request::~Request() { in ~Request()
42 sk_sp<SkData> Request::writeCanvasToPng(SkCanvas* canvas) { in writeCanvasToPng()
54 SkCanvas* Request::getCanvas() { in getCanvas()
77 sk_sp<SkData> Request::drawToPng(int n, int m) { in drawToPng()
86 sk_sp<SkData> Request::writeOutSkp() { in writeOutSkp()
98 GrDirectContext* Request::directContext() { in directContext()
108 SkIRect Request::getBounds() { in getBounds()
143 SkSurface* Request::createCPUSurface() { in createCPUSurface()
154 SkSurface* Request::createGPUSurface() { in createGPUSurface()
[all …]
/external/llvm-project/clang-tools-extra/clangd/unittests/remote/
DMarshallingTests.cpp299 clangd::LookupRequest Request; in TEST() local
300 Request.IDs.insert(llvm::cantFail(SymbolID::fromStr("0000000000000001"))); in TEST()
301 Request.IDs.insert(llvm::cantFail(SymbolID::fromStr("0000000000000002"))); in TEST()
305 auto Serialized = ProtobufMarshaller.toProtobuf(Request); in TEST()
306 EXPECT_EQ(static_cast<unsigned>(Serialized.ids_size()), Request.IDs.size()); in TEST()
309 EXPECT_EQ(Deserialized->IDs, Request.IDs); in TEST()
313 clangd::LookupRequest Request; in TEST() local
315 auto Serialized = ProtobufMarshaller.toProtobuf(Request); in TEST()
323 clangd::FuzzyFindRequest Request; in TEST() local
324 Request.ProximityPaths = {testPath("local/Header.h"), in TEST()
[all …]

12345678910>>...36