HomeSort by relevance Sort by last modified time
    Searched refs:Request (Results 151 - 175 of 572) sorted by null

1 2 3 4 5 67 8 91011>>

  /system/webservd/libwebserv/
request_impl.h 23 #include <libwebserv/request.h>
29 // Implementation of the Request interface.
30 class RequestImpl final : public Request {
32 // Overrides from Request.
request_fake.h 31 #include <libwebserv/request.h>
35 // Implementation of Request that allows custom data for testing.
36 class RequestFake : public Request {
39 : Request(url, method) {}
62 // Overrides from Request.
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
CacheStrategy.java 5 import com.squareup.okhttp.Request;
25 * Given a request and cached response, this figures out whether to use the
28 * <p>Selecting a cache strategy may add conditions to the request (like the
33 /** The request to send on the network, or null if this call doesn't use the network. */
34 public final Request networkRequest;
39 private CacheStrategy(Request networkRequest, Response cacheResponse) {
46 * request.
48 public static boolean isCacheable(Response response, Request request) {
84 // A 'no-store' directive on request or response prevents the response from being cached
90 final Request request; field in class:CacheStrategy.Factory
    [all...]
AuthenticatorAdapter.java 22 import com.squareup.okhttp.Request;
37 @Override public Request authenticate(Proxy proxy, Response response) throws IOException {
39 Request request = response.request(); local
40 HttpUrl url = request.httpUrl();
51 return request.newBuilder()
59 @Override public Request authenticateProxy(Proxy proxy, Response response) throws IOException {
61 Request request = response.request() local
    [all...]
  /external/autotest/client/common_lib/cros/fake_device_server/client_lib/
oauth_helpers.py 38 request = urllib2.Request(token_url, data=urllib.urlencode(data),
40 url_h = urllib2.urlopen(request)
56 request = urllib2.Request(token_url, data=urllib.urlencode(data),
58 url_h = urllib2.urlopen(request)
registration.py 51 request = urllib2.Request(self.get_url([ticket_id]), json.dumps(data),
54 request.get_method = lambda: 'PUT'
56 request.get_method = lambda: 'PATCH'
58 url_h = urllib2.urlopen(request)
73 request = urllib2.Request(self.get_url(), json.dumps(data), headers)
74 url_h = urllib2.urlopen(request)
83 request = urllib2.Request(self.get_url([ticket_id, 'finalize'])
    [all...]
  /external/chromium-trace/catapult/third_party/webapp2/tests/
extras_appengine_sessions_ndb_test.py 30 req = webapp2.Request.blank('/')
49 req = webapp2.Request.blank('/', headers=[('Cookie', cookies)])
66 req = webapp2.Request.blank('/', headers=[('Cookie', cookies)])
83 req = webapp2.Request.blank('/', headers=[('Cookie', cookies)])
97 req = webapp2.Request.blank('/')
112 req = webapp2.Request.blank('/', headers=[('Cookie', cookies)])
133 req = webapp2.Request.blank('/', headers=[('Cookie', cookies)])
151 req = webapp2.Request.blank('/', headers=[('Cookie', cookies)])
  /external/libbrillo/brillo/http/
http_request_unittest.cc 69 Request request{"http://www.foo.bar", request_type::kPost, transport_};
70 EXPECT_TRUE(request.GetContentType().empty());
71 EXPECT_TRUE(request.GetReferer().empty());
72 EXPECT_TRUE(request.GetUserAgent().empty());
73 EXPECT_EQ("*/*", request.GetAccept());
74 EXPECT_EQ("http://www.foo.bar", request.GetRequestURL());
75 EXPECT_EQ(request_type::kPost, request.GetRequestMethod());
77 Request request2{"http://www.foo.bar/baz", request_type::kGet, transport_};
83 Request request{"http://www.foo.bar", request_type::kPost, transport_}
    [all...]
  /frameworks/volley/src/main/java/com/android/volley/toolbox/
JsonRequest.java 20 import com.android.volley.Request;
29 * A request for retrieving a T type response body at a given URL that also
30 * optionally sends along a JSON body in the request specified.
34 public abstract class JsonRequest<T> extends Request<T> {
35 /** Default charset for JSON request. */
38 /** Content type for request. */
StringRequest.java 20 import com.android.volley.Request;
28 * A canned request for retrieving the response body at a given URL as a String.
30 public class StringRequest extends Request<String> {
34 * Creates a new request with the given method.
36 * @param method the request {@link Method} to use
48 * Creates a new GET request.
HurlStack.java 20 import com.android.volley.Request;
21 import com.android.volley.Request.Method;
73 * @param urlRewriter Rewriter to use for request URLs
80 * @param urlRewriter Rewriter to use for request URLs
89 public HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders)
91 String url = request.getUrl();
93 map.putAll(request.getHeaders());
103 HttpURLConnection connection = openConnection(parsedUrl, request);
107 setConnectionParametersForRequest(connection, request);
    [all...]
  /frameworks/volley/src/test/java/com/android/volley/mock/
MockHttpStack.java 20 import com.android.volley.Request;
55 public HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders)
57 mLastUrl = request.getUrl();
59 if (request.getHeaders() != null) {
60 mLastHeaders.putAll(request.getHeaders());
66 mLastPostBody = request.getBody();
  /packages/apps/Camera2/src/com/android/camera/one/v2/core/
FrameServerImpl.java 46 public void submitRequest(List<Request> burstRequests, RequestType type)
57 for (Request r : burstRequests) {
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
FullresRenderingRequestTask.java 15 static class Render implements Request {
16 RenderingRequest request; field in class:FullresRenderingRequestTask.Render
20 RenderingRequest request; field in class:FullresRenderingRequestTask.RenderResult
37 public void postRenderingRequest(RenderingRequest request) {
42 render.request = request;
47 public Result doInBackground(Request message) {
48 RenderingRequest request = ((Render) message).request; local
50 mFullresPipeline.render(request);
61 RenderingRequest request = ((RenderResult) message).request; local
    [all...]
HighresRenderingRequestTask.java 35 static class Render implements Request {
36 RenderingRequest request; field in class:HighresRenderingRequestTask.Render
40 RenderingRequest request; field in class:HighresRenderingRequestTask.RenderResult
60 public void postRenderingRequest(RenderingRequest request) {
65 render.request = request;
70 public Result doInBackground(Request message) {
71 RenderingRequest request = ((Render) message).request; local
73 mHighresPreviewPipeline.renderHighres(request);
84 RenderingRequest request = ((RenderResult) message).request; local
    [all...]
RenderingRequestTask.java 31 static class Render implements Request {
32 RenderingRequest request; field in class:RenderingRequestTask.Render
36 RenderingRequest request; field in class:RenderingRequestTask.RenderResult
53 public void postRenderingRequest(RenderingRequest request) {
58 render.request = request;
63 public Result doInBackground(Request message) {
64 RenderingRequest request = ((Render) message).request; local
66 if (request.getType() == RenderingRequest.GEOMETRY_RENDERING)
83 RenderingRequest request = ((RenderResult) message).request; local
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DownloadManagerWrapper.java 21 import android.app.DownloadManager.Request;
98 public long enqueue(final Request request) {
101 return mDownloadManager.enqueue(request);
106 Log.e(TAG, "Can't enqueue a request with the download manager", e);
  /system/nativepower/daemon/
wake_lock_manager_stub.cc 42 const Request& req = it->second;
50 requests_[client_binder] = Request(tag, package, uid);
  /system/weaved/buffet/
webserv_client.h 37 class Request;
65 std::unique_ptr<libwebserv::Request> request,
  /external/chromium-trace/catapult/catapult_build/
dev_server_unittest.py 26 request = webapp2.Request.blank('/tracing/tests.html')
27 response = request.get_response(app)
61 request = webapp2.Request.blank('/tracing/test_data/trivial_trace.json')
62 response = request.get_response(app)
68 request = webapp2.Request.blank('/tracing/test_data/__file_list__')
69 response = request.get_response(app)
77 request = webapp2.Request.blank('/tracing/skp_data/__file_list__'
    [all...]
  /frameworks/base/core/java/android/provider/
Downloads.java 150 * a byte-range request without an ETag, or when it can't determine
255 * header that gets sent with the request.
557 return visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED ||
558 visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION;
585 * This download encountered some network error and is waiting before retrying the request.
622 * This request couldn't be parsed. This is also used when processing
707 * HttpException while setting up the request.
763 public static final int VISIBILITY_VISIBLE = DownloadManager.Request.VISIBILITY_VISIBLE;
770 DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED;
775 public static final int VISIBILITY_HIDDEN = DownloadManager.Request.VISIBILITY_HIDDEN
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/mmslib/
Downloads.java 150 * a byte-range request without an ETag, or when it can't determine
255 * header that gets sent with the request.
551 return visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED ||
552 visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION;
579 * This download encountered some network error and is waiting before retrying the request.
616 * This request couldn't be parsed. This is also used when processing
701 * HttpException while setting up the request.
757 public static final int VISIBILITY_VISIBLE = DownloadManager.Request.VISIBILITY_VISIBLE;
764 DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED;
769 public static final int VISIBILITY_HIDDEN = DownloadManager.Request.VISIBILITY_HIDDEN
    [all...]
  /system/webservd/webservd/
request.h 41 // POST request using multipart/form-data request.
67 // A class that represents the HTTP request data.
68 class Request final {
70 Request(const std::string& request_handler_id,
76 ~Request();
82 // Finishes the request and provides the reply data.
95 // Returns the unique ID of this request (GUID).
98 // Returns the unique ID of the request handler this request is processed b
    [all...]
  /frameworks/base/core/java/android/app/
VoiceInteractor.java 50 * {@link Request} subclass describing the type of operation to perform -- currently the
53 * <p>Once a request is submitted, the voice system will process it and eventually deliver
54 * the result to the request object. The application can cancel a pending request at any
60 * {@link Request#getActivity() Request.getActivity} to get back to the activity of a
61 * request, rather than holding on to the activity instance yourself, either explicitly
68 static final Request[] NO_REQUESTS = new Request[0];
81 Request request
987 mActiveRequests.put(ireq.asBinder(), request); local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
FilterDeleteSet.java 38 private static class Request {
42 public Request(int type, Path path, int indexHint) {
62 private ArrayList<Request> mRequests = new ArrayList<Request>();
153 Request r = mRequests.get(i);
227 Request r = new Request(type, path, indexHint);

Completed in 457 milliseconds

1 2 3 4 5 67 8 91011>>