HomeSort by relevance Sort by last modified time
    Searched refs:Request (Results 126 - 150 of 423) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/chromium_org/chrome/browser/signin/
profile_oauth2_token_service_request.cc 35 virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request,
38 virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request,
49 // Starts an OAuth2TokenService::Request on the UI thread.
51 // Stops the OAuth2TokenService::Request on the UI thread.
70 // OAuth2TokenService request for fetching OAuth2 access token; it should be
72 scoped_ptr<OAuth2TokenService::Request> request_;
138 const OAuth2TokenService::Request* request,
    [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.
552 return visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED ||
553 visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION;
580 * This download encountered some network error and is waiting before retrying the request.
617 * This request couldn't be parsed. This is also used when processing
702 * HttpException while setting up the request.
758 public static final int VISIBILITY_VISIBLE = DownloadManager.Request.VISIBILITY_VISIBLE;
765 DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED;
770 public static final int VISIBILITY_HIDDEN = DownloadManager.Request.VISIBILITY_HIDDEN
    [all...]
  /frameworks/volley/src/com/android/volley/toolbox/
HttpClientStack.java 20 import com.android.volley.Request;
21 import com.android.volley.Request.Method;
44 * An HttpStack that performs request over an {@link HttpClient}.
71 public HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders)
73 HttpUriRequest httpRequest = createHttpRequest(request, additionalHeaders);
75 addHeaders(httpRequest, request.getHeaders());
78 int timeoutMs = request.getTimeoutMs();
87 * Creates the appropriate subclass of HttpUriRequest for passed in request.
90 /* protected */ static HttpUriRequest createHttpRequest(Request<?> request
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/permissions/
permissions_api.cc 28 namespace Request = api::permissions::Request;
133 results_ = Request::Results::Create(true);
148 results_ = Request::Results::Create(false);
157 scoped_ptr<Request::Params> params(Request::Params::Create(*args_));
200 results_ = Request::Results::Create(true);
  /frameworks/volley/tests/src/com/android/volley/
RequestQueueTest.java 19 import com.android.volley.Request.Priority;
54 Request.Priority[] allPriorities = Request.Priority.values();
59 MockRequest request = new MockRequest(); local
60 Request.Priority priority = allPriorities[random.nextInt(allPriorities.length)];
61 request.setCacheKey(String.valueOf(i));
62 request.setPriority(priority);
63 requests.add(request);
75 for (Request<?> request : makeRequests(requestsToMake))
    [all...]
CacheDispatcherTest.java 63 // A cancelled request should not be processed at all.
72 // A cache miss does not post a response and puts the request on the network queue.
78 Request request = mNetworkQueue.take(); local
79 assertNull(request.getCacheEntry());
101 Request request = mNetworkQueue.take(); local
102 assertSame(entry, request.getCacheEntry());
113 Request request = mNetworkQueue.take() 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);
  /external/chromium/net/http/
http_stream_factory_impl_job.h 44 // Start initiates the process of creating a new HttpStream. |request| will be
46 void Start(Request* request);
48 // Preconnect will attempt to request |num_streams| sockets from the
69 // Used to detach the Job from |request|.
70 void Orphan(const Request* request);
82 // Indicates whether or not this Job has been orphaned by a Request.
96 // http request on establishing a new npn-spdy connection would incur extra
156 // Set the motivation for this request onto the underlying socket
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/push_messaging/
push_messaging_api.h 88 const OAuth2TokenService::Request* request,
92 const OAuth2TokenService::Request* request,
105 scoped_ptr<OAuth2TokenService::Request> fetcher_access_token_request_;
  /external/chromium_org/net/dns/
host_resolver_impl_unittest.cc 191 class Request {
196 virtual void Handle(Request* request) = 0;
199 Request(const HostResolver::RequestInfo& info,
216 info_, &list_, base::Bind(&Request::OnComplete, base::Unretained(this)),
303 DISALLOW_COPY_AND_ASSIGN(Request);
417 // A Request::Handler which is a proxy to the HostResolverImplTest fixture.
418 struct Handler : public Request::Handler {
422 Request* CreateRequest(const HostResolver::RequestInfo& info) {
425 Request* CreateRequest(const std::string& hostname, int port)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_cookielib.py 238 """Perform a single request / response cycle, returning Cookie: header."""
239 from urllib2 import Request
240 req = Request(url)
325 ## path in the request-uri up to, but not including, the last '/'. Note
367 request = urllib2.Request(url)
368 r = pol.domain_return_ok(domain, request)
506 # max-age takes precedence over expires, and zero max-age is request to
606 from urllib2 import Request
609 req = Request("http://www.example.com/rheum/rhaponticum;
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_cookielib.py 238 """Perform a single request / response cycle, returning Cookie: header."""
239 from urllib2 import Request
240 req = Request(url)
325 ## path in the request-uri up to, but not including, the last '/'. Note
367 request = urllib2.Request(url)
368 r = pol.domain_return_ok(domain, request)
506 # max-age takes precedence over expires, and zero max-age is request to
606 from urllib2 import Request
609 req = Request("http://www.example.com/rheum/rhaponticum;
    [all...]
  /external/chromium/net/base/
host_resolver_impl.cc 249 class HostResolverImpl::Request {
251 Request(const BoundNetLog& source_net_log,
266 // Mark the request as cancelled.
279 // Identify which job the request is waiting on.
319 // Unique ID for this request. Used by observers to identify requests.
322 // The request info that started the request.
325 // The resolve job (running in worker pool) that this request is dependent on.
328 // The user's callback to invoke when the request completes.
334 DISALLOW_COPY_AND_ASSIGN(Request);
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
PhotoManager.java 57 * Generate a hashcode unique to each request.
68 * @param request The original request made.
72 protected void onImageDrawn(final Request request, final boolean success) {
78 * @param request The original request made.
80 protected void onImageLoadStarted(final Request request) {
89 * @param newWidth The width of the canvas this request is drawing on
279 final Request request = new Request(id, defaultProvider, view, dimensions); local
475 final Request request = mPendingRequests.get(hashcode); local
491 final Request request = mPendingRequests.get(hash); local
712 Request request = requests.poll(); local
    [all...]
  /device/generic/goldfish/camera/
EmulatedFakeCamera3.h 88 virtual status_t processCaptureRequest(camera3_capture_request *request);
189 // Cached settings from latest submitted request
204 struct Request {
215 // Place request in the in-flight queue to wait for sensor capture
216 void queueCaptureRequest(const Request &r);
233 List<Request> mInFlightQueue;
241 Request mCurrentRequest;
  /external/chromium_org/chrome/browser/chromeos/settings/
device_oauth2_token_service.h 42 virtual scoped_ptr<Request> StartRequest(const ScopeSet& scopes,
  /external/chromium_org/chrome/browser/translate/
translate_script.h 41 void Request(const Callback& callback);
43 // Returns true if this has a pending request.
translate_url_fetcher.h 15 // Callback type for Request().
20 IDLE, // No fetch request was issued.
21 REQUESTING, // A fetch request was issued, but not finished yet.
22 COMPLETED, // The last fetch request was finished successfully.
23 FAILED, // The last fetch request was finished with a failure.
44 // true, and the request is finished asynchronously.
45 // Returns false if the previous request is not finished, or the request
47 bool Request(const GURL& url, const Callback& callback);
56 // URL to send the request
    [all...]
  /external/chromium_org/chrome/browser/ui/webui/
history_ui.h 147 history::WebHistoryService::Request* request,
154 void RemoveWebHistoryComplete(history::WebHistoryService::Request* request,
171 // The currently-executing request for synced history results.
172 // Deleting the request will cancel it.
173 scoped_ptr<history::WebHistoryService::Request> web_history_request_;
175 // The currently-executing delete request for synced history.
176 // Deleting the request will cancel it.
177 scoped_ptr<history::WebHistoryService::Request> web_history_delete_request_
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/server2/
patch_servlet_test.py 14 from servlet import Request
40 return PatchServlet(Request.ForTest(path_with_issue, host=_ALLOWED_HOST),
44 return RenderServlet(Request.ForTest(path, host=_ALLOWED_HOST),
116 response = PatchServlet(Request.ForTest(from_path, host=from_host),
  /external/chromium_org/content/renderer/p2p/
host_address_request.h 35 // Sends host address request.
36 void Request(const std::string& host_name,
39 // Cancels the request. The callback passed to Request() will not be
  /external/chromium_org/tools/telemetry/telemetry/core/chrome/
misc_web_contents_backend.py 30 data = self._browser_backend.Request('', timeout=timeout)
  /external/okhttp/src/main/java/com/squareup/okhttp/
Response.java 37 private final Request request; field in class:Response
44 this.request = builder.request;
52 * The wire-level request that initiated this HTTP response. This is usually
53 * <strong>not</strong> the same request instance provided to the HTTP client:
58 * <li>It may be the request generated in response to an HTTP redirect.
59 * In this case the request URL may be different than the initial
60 * request URL.
63 public Request request() method in class:Response
170 private final Request request; field in class:Response.Builder
    [all...]
  /packages/apps/Email/emailsync/src/com/android/emailsync/
AbstractSyncService.java 70 protected LinkedBlockingQueue<Request> mRequestQueue = new LinkedBlockingQueue<Request>();
73 * Sent by SyncManager to request that the service stop itself cleanly
88 * Sent by SyncManager to request that the service reset itself cleanly; the meaning of this
279 * Request handling (common functionality)
283 public void addRequest(Request req) {
289 public void removeRequest(Request req) {
  /external/chromium/net/websockets/
websocket_unittest.cc 170 WebSocket::Request* request(
171 new WebSocket::Request(GURL("ws://example.com/demo"),
177 request->SetHostResolver(&host_resolver);
178 request->SetClientSocketFactory(&mock_socket_factory);
188 new WebSocket(request, delegate.get()));
233 WebSocket::Request* request(
234 new WebSocket::Request(GURL("ws://example.com/demo"),
240 request->SetHostResolver(&host_resolver)
    [all...]

Completed in 1506 milliseconds

1 2 3 4 56 7 8 91011>>