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

1 2 3 4 5 6 7 891011>>

  /frameworks/testing/androidtestlib/src/com/android/test/runner/
TestRequestBuilder.java 33 import org.junit.runner.Request;
47 * Builds a {@link Request} from test classes in given apk paths, filtered on provided set of
260 * Build a request that will generate test started and test ended events, but will skip actual
279 Request request = classes(instr, bundle, mSkipExecution, new Computer(), local
281 return new TestRequest(mTestLoader.getLoadFailures(), request.filterWith(mFilter));
285 * Create a <code>Request</code> that, when processed, will run all the tests
293 * @return a <code>Request</code> that will cause all tests in the classes to be run
295 private static Request classes(Instrumentation instr, Bundle bundle, boolean skipExecution,
301 return Request.runner(suite)
    [all...]
  /frameworks/volley/src/com/android/volley/toolbox/
BasicNetwork.java 27 import com.android.volley.Request;
83 public NetworkResponse performRequest(Request<?> request) throws VolleyError {
92 addCacheHeaders(headers, request.getCacheEntry());
93 httpResponse = mHttpStack.performRequest(request, headers);
101 request.getCacheEntry().data, responseHeaders, true);
105 // if the request is slow, log it.
107 logSlowRequests(requestLifetime, request, responseContents, statusLine);
114 attemptRetryOnException("socket", request, new TimeoutError());
116 attemptRetryOnException("connection", request, new TimeoutError())
    [all...]
ImageLoader.java 24 import com.android.volley.Request;
55 * that we can coalesce multiple requests to the same URL into a single network request.
123 * 1. Upon being attached to a request, onResponse(response, true) will
134 * Listens for non-error changes to the loading of the image request.
136 * @param response Holds all information pertaining to the request, as well
165 * request is fulfilled.
175 * Issues a bitmap request with the given URL if that image is not available
177 * relating to the request (as well as the default image if the requested
183 * @return A container object that contains all of the properties of the request, as well as
193 // Try to look up the request in the cache of remote images
    [all...]
ImageRequest.java 22 import com.android.volley.Request;
31 * A canned request for getting an image at a given URL and calling
34 public class ImageRequest extends Request<Bitmap> {
53 * Creates a new image request, decoding to a maximum specified width and
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
UpdatePreviewTask.java 56 public Result doInBackground(Request message) {
  /packages/apps/UnifiedEmail/src/com/android/bitmap/
AltBitmapCache.java 28 public class AltBitmapCache extends AltPooledCache<DecodeTask.Request, ReusableBitmap>
DecodeTask.java 31 private final Request mKey;
54 public interface Request {
71 void onDecodeBegin(Request key);
72 void onDecodeComplete(Request key, ReusableBitmap result);
73 void onDecodeCancel(Request key);
76 public DecodeTask(Request key, int w, int h, int bufferW, int bufferH, BitmapView view,
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
AbstractPublicApiTest.java 216 protected DownloadManager.Request getRequest()
221 protected DownloadManager.Request getRequest(String path) {
222 return new DownloadManager.Request(Uri.parse(path));
225 protected Download enqueueRequest(DownloadManager.Request request) {
226 return new Download(mManager.enqueue(request));
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
AttachmentDrawable.java 23 import com.android.bitmap.DecodeTask.Request;
39 * including request creation/cancelling, data unbinding and re-binding, and fancy animations
111 public DecodeTask.Request getKey() {
146 // avoid visual state transitions when the existing request and the new one are just
271 public void onDecodeBegin(final Request key) {
280 public void onBecomeFirstExpected(final Request key) {
297 public void onDecodeComplete(final Request key, final ReusableBitmap result) {
315 private void onDecodeCompleteImpl(final Request key, final ReusableBitmap result) {
319 // if the requests don't match (i.e. this request is stale), decrement the
328 public void onDecodeCancel(final Request key)
    [all...]
  /external/chromium_org/chrome/browser/predictors/
resource_prefetch_predictor.cc 149 net::URLRequest* request,
152 IsHandledMainPage(request);
180 bool ResourcePrefetchPredictor::IsHandledMainPage(net::URLRequest* request) {
181 return request->original_url().scheme() == chrome::kHttpScheme;
316 const URLRequestSummary& request) {
321 CHECK_EQ(request.resource_type, ResourceType::MAIN_FRAME);
322 OnMainFrameRequest(request);
452 const URLRequestSummary& request) {
458 StartPrefetching(request.navigation_id);
461 CleanupAbandonedNavigations(request.navigation_id)
    [all...]
  /external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/third_party/fancy_urllib/
__init__.py 202 class FancyRequest(urllib2.Request):
203 """A request that allows the use of a CONNECT proxy."""
206 urllib2.Request.__init__(self, *args, **kwargs)
218 urllib2.Request.set_proxy(self, host, type)
367 # we"ve only got a Request to work with, so it was this or copy
370 # Note that we do not persist tunneling behavior from an http request
371 # to an https request, because an http request does not set _tunnel_host.
374 # FancyHTTPSHandler.do_open() on an https urllib2.Request that uses an http
376 # (FancyRequest, and urllib2.Request in Python >= 2.6 set the proxy type t
    [all...]
  /external/chromium_org/net/socket/
client_socket_pool_base.cc 27 // disabled, sockets are closed next time a socket request is made.
46 // without. If both requests have |ignore_limits| set/unset, then the request
51 const internal::ClientSocketPoolBaseHelper::Request& request1,
52 const internal::ClientSocketPoolBaseHelper::Request& request2) {
147 ClientSocketPoolBaseHelper::Request::Request(
161 ClientSocketPoolBaseHelper::Request::~Request() {}
214 const Request* r, RequestQueue* pending_requests) {
226 const ClientSocketPoolBaseHelper::Request*
    [all...]
  /external/chromium_org/net/dns/
mock_host_resolver.cc 55 struct MockHostResolverBase::Request {
56 Request(const RequestInfo& req_info,
84 // Store the request for asynchronous resolution
85 Request* req = new Request(info, addresses, callback);
114 scoped_ptr<Request> req(it->second);
117 NOTREACHED() << "CancelRequest must NOT be called after request is "
203 scoped_ptr<Request> req(it->second);
mock_host_resolver.h 111 struct Request;
112 typedef std::map<size_t, Request*> RequestMap;
120 // Resolve request stored in |requests_|. Pass rv to callback.
215 // HangingHostResolver never completes its |Resolve| request.
  /frameworks/opt/net/voip/src/java/com/android/server/sip/
SipSessionGroup.java 78 import javax.sip.message.Request;
330 if (isRequestEvent(Request.INVITE, event)) {
485 // got INVITE w/ replaces request.
511 if (isRequestEvent(Request.INVITE, evt)) {
514 } else if (isRequestEvent(Request.OPTIONS, evt)) {
553 // the following three members are used for handling refer request.
820 if (isRequestEvent(Request.BYE, evt)) {
825 } else if (isRequestEvent(Request.CANCEL, evt)) {
839 } else if (isRequestEvent(Request.OPTIONS, evt)) {
881 Request request = transaction.getRequest()
    [all...]
  /libcore/support/src/test/java/tests/support/
Support_TestWebServer.java 42 /** maps the recently requested URLs to the full request snapshot */
43 private final Map<String, Request> pathToRequest
44 = new ConcurrentHashMap<String, Request>();
72 /* If set, this will keep connections alive after a request has been
144 * @param value Set true to keep connections open after a request
178 * When this value is set, the server will respond to a request with
192 * snapshot of the request data.
194 public Map<String, Request> pathToRequest() {
280 * An immutable snapshot of an HTTP request.
282 public static class Request {
    [all...]
  /external/chromium_org/chrome/browser/sync/
test_profile_sync_service.h 130 virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request,
202 virtual scoped_ptr<OAuth2TokenService::Request> StartRequest(
  /external/chromium_org/chrome/common/extensions/docs/server2/
patch_servlet.py 22 from servlet import Request, Response, Servlet
71 def __init__(self, request, delegate=None):
72 self._request = request
95 Request(path_without_issue,
servlet.py 5 class Request(object):
6 '''Request data.
15 return Request(path, host, headers or {})
18 return 'Request(path=%s, host=%s, headers=%s)' % (
125 def __init__(self, request):
126 self._request = request
  /external/nist-sip/java/gov/nist/javax/sip/message/
MessageFactoryImpl.java 93 * Creates a new Request message of type specified by the method paramater,
94 * containing the URI of the Request, the mandatory headers of the message
121 public Request createRequest(javax.sip.address.URI requestURI,
150 * Creates a new Request message of type specified by the method paramater,
151 * containing the URI of the Request, the mandatory headers of the message
178 public Request createRequest(URI requestURI, String method,
188 + ", unable to create the request", 0);
208 * Creates a new Request message of type specified by the method paramater,
209 * containing the URI of the Request, the mandatory headers of the message.
210 * This new Request does not contain a body
    [all...]
  /external/ppp/pppd/plugins/radius/etc/
dictionary 183 VALUE Termination-Action RADIUS-Request 1
195 VALUE Acct-Terminate-Cause User-Request 1
204 VALUE Acct-Terminate-Cause NAS-Request 10
212 VALUE Acct-Terminate-Cause Host-Request 18
  /packages/apps/Browser/src/com/android/browser/
FetchUrlMimeType.java 51 private DownloadManager.Request mRequest;
56 public FetchUrlMimeType(Context context, DownloadManager.Request request,
59 mRequest = request;
81 HttpHead request = new HttpHead(mUri); local
84 request.addHeader("Cookie", mCookies);
91 response = client.execute(request);
110 if (request != null) {
111 request.abort();
114 if (request != null)
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
cciss_ioctl.h 168 RequestBlock_struct Request;
176 RequestBlock_struct Request;
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
cciss_ioctl.h 168 RequestBlock_struct Request;
176 RequestBlock_struct Request;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/
cciss_ioctl.h 168 RequestBlock_struct Request;
176 RequestBlock_struct Request;

Completed in 427 milliseconds

1 2 3 4 5 6 7 891011>>