/prebuilts/go/darwin-x86/src/net/http/ |
response.go | 28 // Response represents the response from an HTTP request. 69 // value -1 indicates that the length is unknown. Unless Request.Method 106 // Request is the request that was sent to obtain this Response. 107 // Request's Body is nil (having already been consumed). 109 Request *Request 129 // the Response's Request. ErrNoLocation is returned if no 136 if r.Request != nil && r.Request.URL != nil [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
response.go | 28 // Response represents the response from an HTTP request. 69 // value -1 indicates that the length is unknown. Unless Request.Method 106 // Request is the request that was sent to obtain this Response. 107 // Request's Body is nil (having already been consumed). 109 Request *Request 129 // the Response's Request. ErrNoLocation is returned if no 136 if r.Request != nil && r.Request.URL != nil [all...] |
/external/python/cpython3/Lib/test/ |
test_http_cookiejar.py | 8 import urllib.request 305 """Perform a single request / response cycle, returning Cookie: header.""" 306 req = urllib.request.Request(url) 390 ## path in the request-uri up to, but not including, the last '/'. Note 431 request = urllib.request.Request(url) 432 r = pol.domain_return_ok(domain, request) 574 # max-age takes precedence over expires, and zero max-age is request t [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdDxe/ |
SdBlockIo.c | 32 SD_REQUEST *Request;
36 Request = (SD_REQUEST *) Context;
39 DEBUG ((EFI_D_INFO, "Sd Async Request: CmdIndex[%d] Arg[%08x] %r\n",
40 Request->SdMmcCmdBlk.CommandIndex, Request->SdMmcCmdBlk.CommandArgument,
41 Request->Packet.TransactionStatus));
44 if (EFI_ERROR (Request->Packet.TransactionStatus)) {
45 Request->Token->TransactionStatus = Request->Packet.TransactionStatus;
48 RemoveEntryList (&Request->Link); [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPServerTransaction.java | 60 import javax.sip.message.Request; 121 * Request received 134 * Request V 1xx from TU | 145 * | Request V | 417 // to the source of the original request 510 // Only one outstanding request for a given server tx. 566 if ((method.equals(Request.INVITE) || !isTerminated())) { 592 if (method.equals(Request.CANCEL)) { 596 transactionMatches = this.getMethod().equals(Request.CANCEL) 619 // a CANCEL request, which is not deeme [all...] |
SIPDialog.java | 104 import javax.sip.message.Request; 154 // so when a subsequent request will be sent it will be set and a new message channel can be 203 // The following fields are extracted from the request that created the 323 Request byeRequest = SIPDialog.this.createRequest(Request.BYE); 343 * side. Wait for any ACK retransmissions to finish. Then send out the request. 518 Request byeRequest = SIPDialog.this.createRequest(Request.BYE); 770 // incoming request. 2887 SIPRequest request = this.originalRequest; local [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/ |
OCSPReqBuilder.java | 13 import org.bouncycastle.asn1.ocsp.Request; 42 public Request toRequest() 45 return new Request(certId.toASN1Primitive(), extensions); 50 * Add a request for the given CertificateID. 63 * Add a request with extensions 66 * @param singleRequestExtensions the extensions to attach to the request 123 throw new OCSPException("exception creating Request", e); 135 throw new OCSPException("requestorName must be specified if request is signed."); 176 * Generate an unsigned request
|
/external/glide/library/src/main/java/com/bumptech/glide/request/ |
RequestFutureTarget.java | 1 package com.bumptech.glide.request; 6 import com.bumptech.glide.request.animation.GlideAnimation; 7 import com.bumptech.glide.request.target.SizeReadyCallback; 49 private Request request; field in class:RequestFutureTarget 136 public void setRequest(Request request) { 137 this.request = request; 144 public Request getRequest() [all...] |
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/ |
JavaApiConverter.java | 21 import com.squareup.okhttp.Request; 75 // Request: Create one from the URL connection. 77 // Some request headers are needed for Vary caching. 89 Request okRequest = new Request.Builder() 94 okResponseBuilder.request(okRequest); 166 // the request header values, and we can't get multiple Vary request header values. 174 // JavaApiConverter.createJavaUrlConnection() and we have access to the user's request headers. 182 // "gzip". We don't have access to the request that was actually made so we must do th [all...] |
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/internal/huc/ |
URLEncodingTest.java | 21 import com.squareup.okhttp.Request; 134 public Response get(Request request) throws IOException { 135 uriReference.set(request.uri()); 145 public void remove(Request request) throws IOException {
|
/external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/ |
Crawler.java | 21 import com.squareup.okhttp.Request; 89 Request request = new Request.Builder() 92 Response response = client.newCall(request).execute(); 109 HttpUrl link = response.request().httpUrl().resolve(href);
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
CustomTrust.java | 21 import com.squareup.okhttp.Request; 46 Request request = new Request.Builder() local 50 Response response = client.newCall(request).execute();
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
grpc_remote_master.cc | 44 const CreateSessionRequest* request, 47 return Call(&ctx, call_options, request, response, 52 const ExtendSessionRequest* request, 55 return Call(&ctx, call_options, request, response, 60 const PartialRunSetupRequest* request, 63 return Call(&ctx, call_options, request, response, 67 Status RunStep(CallOptions* call_options, RunStepRequestWrapper* request, 71 return Call(&ctx, call_options, &request->ToProto(), 76 const CloseSessionRequest* request, 79 return Call(&ctx, call_options, request, response [all...] |
/frameworks/base/core/java/android/view/textclassifier/ |
TextClassificationSession.java | 49 public TextSelection suggestSelection(TextSelection.Request request) { 51 return mDelegate.suggestSelection(request); 62 public TextClassification classifyText(TextClassification.Request request) { 64 return mDelegate.classifyText(request); 68 public TextLinks generateLinks(TextLinks.Request request) { 70 return mDelegate.generateLinks(request);
|
/frameworks/base/core/tests/coretests/src/android/app/ |
DownloadManagerStressTest.java | 20 import android.app.DownloadManager.Request; 85 Request request = new Request(uri); local 86 request.setTitle(String.format("%s--%d", DEFAULT_FILENAME + i, i)); 91 long requestID = mDownloadManager.enqueue(request);
|
/frameworks/ml/nn/common/include/ |
CpuExecutor.h | 110 int run(const V1_0::Model& model, const Request& request, 113 int run(const V1_1::Model& model, const Request& request, 126 // The model and the request that we'll execute. Only valid while run() 129 const Request* mRequest = nullptr;
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
TagDispatchCaptureSession.java | 39 * {@link Request}s and dispatches to the appropriate {@link ResponseListener} 40 * on a per-request basis, instead of for every {@link CaptureRequest} submitted 50 * for events related to the request with that tag. 57 public void onCaptureStarted(CameraCaptureSessionProxy session, CaptureRequest request, 59 Object tag = request.getTag(); 64 public void onCaptureProgressed(CameraCaptureSessionProxy session, CaptureRequest request, 66 Object tag = request.getTag(); 71 public void onCaptureCompleted(CameraCaptureSessionProxy session, CaptureRequest request, 73 Object tag = request.getTag(); 78 public void onCaptureFailed(CameraCaptureSessionProxy session, CaptureRequest request, [all...] |
/packages/apps/Settings/src/com/android/settings/location/ |
RecentLocationRequestPreferenceController.java | 106 final List<RecentLocationApps.Request> recentLocationRequests = 119 for (RecentLocationApps.Request request : recentLocationRequests) { 121 createAppPreference(prefContext, request)); 143 AppPreference createAppPreference(Context prefContext, RecentLocationApps.Request request) { 145 pref.setSummary(request.contentDescription); 146 pref.setIcon(request.icon); 147 pref.setTitle(request.label); 149 mFragment, request.packageName, request.userHandle)) [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
RecentLocationRequestSeeAllPreferenceControllerTest.java | 37 import com.android.settingslib.location.RecentLocationApps.Request; 112 Request request = mock(Request.class); local 115 .when(mController).createAppPreference(any(Context.class), eq(request)); 117 .thenReturn(new ArrayList<>(Collections.singletonList(request)));
|
/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/ |
PublicApiAccessTest.java | 143 // first try a minimal request 144 DownloadManager.Request request = new DownloadManager.Request(Uri.parse("http://localhost/path")); local 145 mManager.enqueue(request); 148 request.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI); 149 request.setAllowedOverRoaming(false); 150 request.setTitle("test"); 151 request.setDescription("test") [all...] |
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/ |
SyncManagerCtsSyncAdapter.java | 26 import android.content.syncmanager.cts.SyncManagerCtsProto.Payload.Request.SetResult; 27 import android.content.syncmanager.cts.SyncManagerCtsProto.Payload.Request.SetResult.Result;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/ |
UsbBus.c | 50 @param Request The control transfer request
66 IN EFI_USB_DEVICE_REQUEST *Request,
94 Request,
126 // device. We ignore the Set_Descriptor request because it's
133 if ((Request->Request == USB_REQ_CLEAR_FEATURE) &&
134 (Request->RequestType == USB_REQUEST_TYPE (EfiUsbNoData, USB_REQ_TYPE_STANDARD,
136 (Request->Value == USB_FEATURE_ENDPOINT_HALT)) {
138 EpDesc = UsbGetEndpointDesc (UsbIf, (UINT8) Request->Index); [all...] |
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
Http.h | 190 /// The HTTP method (e.g. GET, POST) for this HTTP Request.
237 /// When the token is used to send a HTTP request, Request is a pointer to storage that
240 EFI_HTTP_REQUEST_DATA *Request;
248 /// Number of HTTP header structures in Headers list. On request, this count is
253 /// Array containing list of HTTP headers. On request, this array is populated by the
255 /// is the responsibility of the caller to free this memory on both request and
264 /// Body associated with the HTTP request or response. This can be NULL depending on
282 /// Status will be set to one of the following value if the HTTP request is
284 /// EFI_SUCCESS: The HTTP request was successfully sent to the remote host. [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/HttpDxe/ |
HttpImpl.c | 105 connections with remote hosts, canceling all asynchronous tokens, and flush request
202 The Request() function queues an HTTP request to this HTTP instance.
204 Similar to Transmit() function in the EFI TCP driver. When the HTTP request is sent
209 @param[in] Token Pointer to storage containing HTTP request token.
225 Request()has not been completed successfully.
235 EFI_HTTP_REQUEST_DATA *Request;
275 Request = HttpMsg->Data.Request;
280 if ((Request != NULL) && (Request->Method != HttpMethodGet) && [all...] |
/external/junit/src/main/java/org/junit/runner/ |
JUnitCore.java | 21 * @see org.junit.runner.Request 105 return run(Request.classes(computer, classes)); 109 * Run all the tests contained in <code>request</code>. 111 * @param request the request describing tests 114 public Result run(Request request) { 115 return run(request.getRunner());
|