/external/volley/src/main/java/com/android/volley/toolbox/ |
HurlStack.java | 21 import com.android.volley.Request; 22 import com.android.volley.Request.Method; 63 * @param urlRewriter Rewriter to use for request URLs 70 * @param urlRewriter Rewriter to use for request URLs 79 public HttpResponse executeRequest(Request<?> request, Map<String, String> additionalHeaders) 81 String url = request.getUrl(); 83 map.putAll(request.getHeaders()); 93 HttpURLConnection connection = openConnection(parsedUrl, request); 97 setConnectionParametersForRequest(connection, request); [all...] |
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> { 39 * Creates a new request with the given method. 41 * @param method the request {@link Method} to use 53 * Creates a new GET request.
|
/external/volley/src/test/java/com/android/volley/mock/ |
MockHttpStack.java | 20 import com.android.volley.Request; 61 public HttpResponse executeRequest(Request<?> request, Map<String, String> additionalHeaders) 66 mLastUrl = request.getUrl(); 68 if (request.getHeaders() != null) { 69 mLastHeaders.putAll(request.getHeaders()); 75 mLastPostBody = request.getBody();
|
/frameworks/ml/nn/driver/sample/ |
SampleDriver.h | 60 Return<ErrorStatus> execute(const Request& request, 64 void asyncExecute(const Request& request, const sp<IExecutionCallback>& callback);
|
/hardware/interfaces/neuralnetworks/1.1/vts/functional/ |
VtsHalNeuralnetworks.h | 37 using V1_0::Request; 73 void validateRequests(const Model& model, const std::vector<Request>& request);
|
/hardware/qcom/neuralnetworks/hvxservice/1.0/ |
PreparedModel.cpp | 37 static void asyncExecute(const std::shared_ptr<hexagon::Model>& model, const Request& request, 40 model->execute(request) == true ? ErrorStatus::NONE : ErrorStatus::GENERAL_FAILURE; 47 Return<ErrorStatus> PreparedModel::execute(const Request& request, 54 if (!nn::validateRequest(request, mNeuralNetworksModel)) { 71 asyncExecute(mHexagonModel, request, callback);
|
/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);
|
/prebuilts/go/darwin-x86/doc/progs/ |
error3.go | 20 func viewRecord(w http.ResponseWriter, r *http.Request) error { 32 type appHandler func(http.ResponseWriter, *http.Request) error 34 func (fn appHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { 44 func (ap) NewContext(*http.Request) *ctx { return nil }
|
error4.go | 22 type appHandler func(http.ResponseWriter, *http.Request) *appError 24 func (fn appHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { 34 func viewRecord(w http.ResponseWriter, r *http.Request) *appError { 55 func (ap) NewContext(*http.Request) *ctx { return nil }
|
/prebuilts/go/darwin-x86/src/net/http/ |
readrequest_test.go | 21 Req *Request 32 // Baseline test; All Request fields included for template use 46 &Request{ 78 // GET request with no body (the normal case) 83 &Request{ 109 &Request{ 129 // Tests a bogus abs_path on the Request-Line (RFC 2616 section 5.1.2) 136 "parse ../../../../etc/passwd: invalid URI for request", 159 &Request{ 191 &Request{ [all...] |
triv.go | 26 func HelloServer(w http.ResponseWriter, req *http.Request) { 45 func (ctr *Counter) ServeHTTP(w http.ResponseWriter, req *http.Request) { 68 func FlagServer(w http.ResponseWriter, req *http.Request) { 81 func ArgServer(w http.ResponseWriter, req *http.Request) { 100 func (ch Chan) ServeHTTP(w http.ResponseWriter, req *http.Request) { 105 func DateServer(rw http.ResponseWriter, req *http.Request) { 116 func Logger(w http.ResponseWriter, req *http.Request) {
|
/prebuilts/go/linux-x86/doc/progs/ |
error3.go | 20 func viewRecord(w http.ResponseWriter, r *http.Request) error { 32 type appHandler func(http.ResponseWriter, *http.Request) error 34 func (fn appHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { 44 func (ap) NewContext(*http.Request) *ctx { return nil }
|
error4.go | 22 type appHandler func(http.ResponseWriter, *http.Request) *appError 24 func (fn appHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { 34 func viewRecord(w http.ResponseWriter, r *http.Request) *appError { 55 func (ap) NewContext(*http.Request) *ctx { return nil }
|
/prebuilts/go/linux-x86/src/net/http/ |
readrequest_test.go | 21 Req *Request 32 // Baseline test; All Request fields included for template use 46 &Request{ 78 // GET request with no body (the normal case) 83 &Request{ 109 &Request{ 129 // Tests a bogus abs_path on the Request-Line (RFC 2616 section 5.1.2) 136 "parse ../../../../etc/passwd: invalid URI for request", 159 &Request{ 191 &Request{ [all...] |
triv.go | 26 func HelloServer(w http.ResponseWriter, req *http.Request) { 45 func (ctr *Counter) ServeHTTP(w http.ResponseWriter, req *http.Request) { 68 func FlagServer(w http.ResponseWriter, req *http.Request) { 81 func ArgServer(w http.ResponseWriter, req *http.Request) { 100 func (ch Chan) ServeHTTP(w http.ResponseWriter, req *http.Request) { 105 func DateServer(rw http.ResponseWriter, req *http.Request) { 116 func Logger(w http.ResponseWriter, req *http.Request) {
|
/frameworks/base/core/java/android/view/textclassifier/ |
TextClassifier.java | 163 * @param request the text selection request 167 default TextSelection suggestSelection(@NonNull TextSelection.Request request) { 168 Preconditions.checkNotNull(request); 170 return new TextSelection.Builder(request.getStartIndex(), request.getEndIndex()).build(); 183 * {@link #suggestSelection(TextSelection.Request)}. If that method calls this method, 197 * @see #suggestSelection(TextSelection.Request) 206 final TextSelection.Request request = new TextSelection.Request.Builder local 285 final TextClassification.Request request = new TextClassification.Request.Builder( local [all...] |
/device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/ |
BlockFront.c | 442 blkif_request_t *Request;
463 Request = RING_GET_REQUEST (&Dev->Ring, RingIndex);
465 Request->operation = IsWrite ? BLKIF_OP_WRITE : BLKIF_OP_READ;
466 Request->nr_segments = (UINT8)NumSegments;
467 Request->handle = Dev->DeviceId;
468 Request->id = (UINTN) IoData;
469 Request->sector_number = IoData->Sector;
472 Request->seg[Index].first_sect = 0;
473 Request->seg[Index].last_sect = EFI_PAGE_SIZE / 512 - 1;
475 Request->seg[0].first_sect = (UINT8)(((UINTN) IoData->Buffer & EFI_PAGE_MASK) / 512); [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
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/volley/src/test/java/com/android/volley/toolbox/ |
BaseHttpStackTest.java | 5 import com.android.volley.Request; 29 private static final Request<?> REQUEST = new TestRequest.Get(); 45 Request<?> request, Map<String, String> additionalHeaders) 47 assertSame(REQUEST, request); 52 org.apache.http.HttpResponse resp = stack.performRequest(REQUEST, ADDITIONAL_HEADERS); 63 Request<?> request, Map<String, String> additionalHeaders [all...] |
/frameworks/base/core/java/android/provider/ |
Downloads.java | 152 * a byte-range request without an ETag, or when it can't determine 257 * header that gets sent with the request. 560 return visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED || 561 visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION; 588 * This download encountered some network error and is waiting before retrying the request. 625 * This request couldn't be parsed. This is also used when processing 710 * HttpException while setting up the request. 766 public static final int VISIBILITY_VISIBLE = DownloadManager.Request.VISIBILITY_VISIBLE; 773 DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED; 778 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...] |