HomeSort by relevance Sort by last modified time
    Searched refs:Request (Results 426 - 450 of 1013) sorted by null

<<11121314151617181920>>

  /external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
InterfacesTest.java 15 import org.chromium.mojo.bindings.test.mojom.sample.Request;
116 public void doStuff(Request request, MessagePipeHandle pipe, DoStuffResponse callback) {
244 Pair<NamedObject.Proxy, InterfaceRequest<NamedObject>> request = local
246 mCloseablesToClose.add(request.first);
247 proxy.createNamedObject(request.second);
249 checkProxy(request.first, null);
271 Request request = new Request(); local
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Response.java 37 private final Request request; field in class:Response
51 this.request = builder.request;
64 * The wire-level request that initiated this HTTP response. This is not
65 * necessarily the same request issued by the application:
68 * may copy headers like {@code Content-Length} from the request body.
69 * <li>It may be the request generated in response to an HTTP redirect or
70 * authentication challenge. In this case the request URL may be
71 * different than the initial request URL
74 public Request request() { method in class:Response
222 private Request request; field in class:Response.Builder
250 public Builder request(Request request) { method in class:Response.Builder
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DispatcherTest.java 135 actualUrls.add(call.request().urlString());
143 if (call.request().urlString().equals(url)) {
174 private Request newRequest(String url) {
175 return new Request.Builder().url(url).build();
178 private Request newRequest(String url, String tag) {
179 return new Request.Builder().url(url).tag(tag).build();
RecordingCallback.java 32 @Override public synchronized void onFailure(Request request, IOException e) {
33 responses.add(new RecordedResponse(request, null, null, null, e));
39 responses.add(new RecordedResponse(response.request(), response, null, body, null));
44 * Returns the recorded response triggered by {@code request}. Throws if the
52 if (recordedResponse.request.httpUrl().equals(url)) {
68 if (recordedResponse.request.httpUrl().equals(url)) {
  /external/skia/tools/skiaserve/urlhandlers/
CmdHandler.cpp 11 #include "../Request.h"
21 int CmdHandler::handle(Request* request, MHD_Connection* connection,
27 if (!request->hasPicture() || commands.count() > 3) {
35 n = request->getLastOp();
40 sk_sp<SkData> data(request->getJsonOps(n));
48 request->fDebugCanvas->deleteDrawCommandAt(n);
57 request->fDebugCanvas->toggleCommand(n, SkToBool(toggle));
PostHandler.cpp 11 #include "../Request.h"
35 int PostHandler::handle(Request* request, MHD_Connection* connection,
38 UploadContext* uc = request->fUploadContext;
42 // TODO make this a method on request
49 request->fUploadContext = uc;
65 std::unique_ptr<SkStreamAsset> stream(request->fUploadContext->fStream.detachAsStream());
66 if (!request->initPictureFromStream(stream.get())) {
72 delete request->fUploadContext;
73 request->fUploadContext = nullptr
    [all...]
  /external/skqp/tools/skiaserve/urlhandlers/
CmdHandler.cpp 11 #include "../Request.h"
21 int CmdHandler::handle(Request* request, MHD_Connection* connection,
27 if (!request->hasPicture() || commands.count() > 3) {
35 n = request->getLastOp();
40 sk_sp<SkData> data(request->getJsonOps(n));
48 request->fDebugCanvas->deleteDrawCommandAt(n);
57 request->fDebugCanvas->toggleCommand(n, SkToBool(toggle));
PostHandler.cpp 11 #include "../Request.h"
35 int PostHandler::handle(Request* request, MHD_Connection* connection,
38 UploadContext* uc = request->fUploadContext;
42 // TODO make this a method on request
49 request->fUploadContext = uc;
65 std::unique_ptr<SkStreamAsset> stream(request->fUploadContext->fStream.detachAsStream());
66 if (!request->initPictureFromStream(stream.get())) {
72 delete request->fUploadContext;
73 request->fUploadContext = nullptr
    [all...]
  /external/toolchain-utils/cwp/interpreter/
app_engine_pull.py 56 auth_req = urllib2.Request(auth_uri, data=authreq_data)
150 serv_req = urllib2.Request(full_serv_uri)
197 serv_req = urllib2.Request(full_serv_uri)
213 serv_req = urllib2.Request(full_serv_uri)
  /frameworks/base/core/tests/coretests/src/android/view/textclassifier/
TextClassificationTest.java 181 final TextClassification.Request reference =
182 new TextClassification.Request.Builder(text, 0, text.length())
191 final TextClassification.Request result =
192 TextClassification.Request.CREATOR.createFromParcel(parcel);
  /hardware/interfaces/neuralnetworks/1.0/vts/functional/
VtsHalNeuralnetworks.h 67 void validateRequests(const Model& model, const std::vector<Request>& request);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
UpdatePreviewTask.java 56 public Result doInBackground(Request message) {
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
AbstractPublicApiTest.java 236 protected DownloadManager.Request getRequest()
241 protected DownloadManager.Request getRequest(String path) {
242 return new DownloadManager.Request(Uri.parse(path));
245 protected Download enqueueRequest(DownloadManager.Request request) {
246 return new Download(mManager.enqueue(request));
  /system/extras/libperfmgr/include/perfmgr/
NodeLooperThread.h 63 // Return true when successfully adds request from actions for the hint_type
66 bool Request(const std::vector<NodeAction>& actions,
68 // Return when successfully cancels request from actions for the hint_type
  /external/glide/library/src/main/java/com/bumptech/glide/
GenericRequestBuilder.java 21 import com.bumptech.glide.request.FutureTarget;
22 import com.bumptech.glide.request.GenericRequest;
23 import com.bumptech.glide.request.Request;
24 import com.bumptech.glide.request.RequestCoordinator;
25 import com.bumptech.glide.request.RequestFutureTarget;
26 import com.bumptech.glide.request.RequestListener;
27 import com.bumptech.glide.request.ThumbnailRequestCoordinator;
28 import com.bumptech.glide.request.animation.GlideAnimationFactory;
29 import com.bumptech.glide.request.animation.NoAnimation
611 Request request = buildRequest(target); local
    [all...]
  /external/libmicrohttpd/src/testspdy/
test_notls.c 21 * @brief tests receiving request and sending response. spdycli.c (spdylay)
98 struct Request {
106 /* Stream ID for this request. */
172 static void check_gzip(struct Request *req, char **nv)
280 * use this function to get stream ID of the request. This is because
281 * stream ID is not known when we submit the request
292 struct Request *req;
335 struct Request *req;
381 struct Request *req;
406 struct Request *req
    [all...]
  /external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/
Main.java 24 import com.squareup.okhttp.Request;
87 @Option(name = { "-X", "--request" }, description = "Specify request command to use")
144 Request request = createRequest(); local
146 Response response = client.newCall(request).execute();
221 Request createRequest() {
222 Request.Builder request = new Request.Builder() local
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
OkHeaders.java 6 import com.squareup.okhttp.Request;
43 * Synthetic response header: the local time when the request was sent.
64 public static long contentLength(Request request) {
65 return contentLength(request.headers());
88 * @param valueForNullKey the request line for requests, or the status line
111 public static void addCookies(Request.Builder builder, Map<String, List<String>> cookieHeaders) {
140 Response cachedResponse, Headers cachedRequest, Request newRequest) {
168 * Returns the names of the request headers that need to be checked for
188 * Returns the subset of the headers in {@code response}'s request tha
    [all...]
  /external/volley/src/main/java/com/android/volley/toolbox/
ImageLoader.java 24 import com.android.volley.Request;
54 * that we can coalesce multiple requests to the same URL into a single network request.
122 * 1. Upon being attached to a request, onResponse(response, true) will
133 * Listens for non-error changes to the loading of the image request.
135 * @param response Holds all information pertaining to the request, as well
177 * request is fulfilled.
195 * Issues a bitmap request with the given URL if that image is not available
197 * relating to the request (as well as the default image if the requested
204 * @return A container object that contains all of the properties of the request, as well as
215 // Try to look up the request in the cache of remote images
    [all...]
  /platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/
DownloadAppTestHelper.java 22 import android.app.DownloadManager.Request;
213 Request request; local
214 request = new Request(uri);
232 ? Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION : Request.VISIBILITY_HIDDEN);
  /prebuilts/go/darwin-x86/src/net/http/
serve_test.go 130 // reqBytes treats req as a request (with \n delimiters) and returns it with \r\n delimiters,
172 ch := make(chan *Request)
175 handler := func(res ResponseWriter, req *Request) {
184 var req *Request
187 t.Fatal("Got nil first request.")
190 t.Errorf("For request #1's method, got %q; expected %q",
196 t.Fatal("Got nil first request.")
199 t.Errorf("For request #2's method, got %q; expected %q",
210 func (s stringHandler) ServeHTTP(w ResponseWriter, r *Request) {
258 var req Request
    [all...]
  /prebuilts/go/linux-x86/src/net/http/
serve_test.go 130 // reqBytes treats req as a request (with \n delimiters) and returns it with \r\n delimiters,
172 ch := make(chan *Request)
175 handler := func(res ResponseWriter, req *Request) {
184 var req *Request
187 t.Fatal("Got nil first request.")
190 t.Errorf("For request #1's method, got %q; expected %q",
196 t.Fatal("Got nil first request.")
199 t.Errorf("For request #2's method, got %q; expected %q",
210 func (s stringHandler) ServeHTTP(w ResponseWriter, r *Request) {
258 var req Request
    [all...]
  /prebuilts/go/darwin-x86/src/net/http/httputil/
persist.go 44 pipereq map[*http.Request]uint
58 return &ServerConn{c: c, r: r, pipereq: make(map[*http.Request]uint)}
84 // Read returns the next request on the wire. An ErrPersistEOF is returned if
86 // first request on an HTTP/1.0 connection, or after a Connection:close on a
88 func (sc *ServerConn) Read() (*http.Request, error) {
89 var req *http.Request
101 // Remember the pipeline id of this request
175 func (sc *ServerConn) Write(req *http.Request, resp *http.Response) error {
177 // Retrieve the pipeline ID of this request/response pair
237 pipereq map[*http.Request]uin
    [all...]
  /prebuilts/go/linux-x86/src/net/http/httputil/
persist.go 44 pipereq map[*http.Request]uint
58 return &ServerConn{c: c, r: r, pipereq: make(map[*http.Request]uint)}
84 // Read returns the next request on the wire. An ErrPersistEOF is returned if
86 // first request on an HTTP/1.0 connection, or after a Connection:close on a
88 func (sc *ServerConn) Read() (*http.Request, error) {
89 var req *http.Request
101 // Remember the pipeline id of this request
175 func (sc *ServerConn) Write(req *http.Request, resp *http.Response) error {
177 // Retrieve the pipeline ID of this request/response pair
237 pipereq map[*http.Request]uin
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcDxe/
EmmcBlockIo.c 32 EMMC_REQUEST *Request;
40 Request = (EMMC_REQUEST *) Context;
43 DEBUG ((EFI_D_INFO, "Emmc Async Request: CmdIndex[%d] Arg[%08x] %r\n",
44 Request->SdMmcCmdBlk.CommandIndex, Request->SdMmcCmdBlk.CommandArgument,
45 Request->Packet.TransactionStatus));
48 if (EFI_ERROR (Request->Packet.TransactionStatus)) {
49 Request->Token->TransactionStatus = Request->Packet.TransactionStatus;
52 RemoveEntryList (&Request->Link);
    [all...]

Completed in 1591 milliseconds

<<11121314151617181920>>