/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
FramedTransport.java | 21 import com.squareup.okhttp.Request; 50 /** See http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3-1#TOC-3.2.1-Request. */ 78 @Override public Sink createRequestBody(Request request, long contentLength) throws IOException { 82 @Override public void writeRequestHeaders(Request request) throws IOException { 90 writeNameValueBlock(request, framedConnection.getProtocol(), version), permitsRequestBody, 108 * Returns a list of alternating names and values containing a SPDY request. 112 public static List<Header> writeNameValueBlock(Request request, Protocol protocol [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
RecordingCallback.java | 33 @Override public synchronized void onFailure(Request request, IOException e) { 34 responses.add(new RecordedResponse(request, null, null, null, e)); 43 responses.add(new RecordedResponse(response.request(), response, null, buffer.readUtf8(), null)); 48 * Returns the recorded response triggered by {@code request}. Throws if the 56 if (recordedResponse.request.httpUrl().equals(url)) { 72 if (recordedResponse.request.httpUrl().equals(url)) {
|
/packages/apps/Camera2/src/com/android/camera/burst/ |
BurstTakerImpl.java | 25 import com.android.camera.one.v2.core.Request; 57 * @param builder factory to use for creating the {@link Request} for burst
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
ProcessingTaskController.java | 59 task.processRequest((ProcessingTask.Request) msg.obj);
|
/tools/test/connectivity/acts/framework/acts/ |
jsonrpc.py | 22 from urllib import request namespace 69 """Performs an HTTP POST request with a JSON payload. 78 req = request.Request(url) 80 resp = request.urlopen(req, data=payload.encode("utf-8"))
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/ |
GnssCtsTestActivity.java | 34 import org.junit.runner.Request; 110 Request request = Request.runner(runner); local 111 Result result = testRunner.run(request);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
SensorCtsTestActivity.java | 32 import org.junit.runner.Request; 132 Request request = Request.runner(runner); local 133 Result result = testRunner.run(request);
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
ExternalStorageTest.java | 27 import android.app.DownloadManager.Request; 110 dm.enqueue(new Request(source).setDestinationUri(Uri.fromFile(target))); 130 final long id = dm.enqueue(new Request(source).setDestinationUri(Uri.fromFile(target)));
|
/device/google/contexthub/util/nanotool/ |
nanomessage.cpp | 86 std::vector<uint8_t> buffer(sizeof(Request)); 89 Request *req = reinterpret_cast<Request *>(data); 90 *req = request; 99 request.boot_time);
|
/external/chromium-trace/catapult/third_party/WebOb/docs/jsonrpc-example-code/ |
jsonrpc.py | 2 from webob import Request, Response 17 req = Request(environ) 107 req = Request.blank(self.parent._url) 131 Raised when a request via ServerProxy breaks 148 self.response.request.url,
|
/external/nist-sip/java/gov/nist/javax/sip/ |
SipProviderImpl.java | 77 import javax.sip.message.Request; 272 * @see javax.sip.SipProvider#getNewClientTransaction(javax.sip.message.Request) 274 public ClientTransaction getNewClientTransaction(Request request) 276 if (request == null) 277 throw new NullPointerException("null request"); 281 SIPRequest sipRequest = (SIPRequest) request; 284 "Transaction already assigned to request"); 285 if ( sipRequest.getMethod().equals(Request.ACK)) { 286 throw new TransactionUnavailableException ("Cannot create client transaction for " + Request.ACK) 872 SIPRequest request = (SIPRequest) sipClientTx.getRequest(); local [all...] |
SipStackImpl.java | 69 import javax.sip.message.Request; 164 * : If the request has no tag in the To header field, the UAS core MUST check 165 * the request against ongoing transactions. If the From tag, Call-ID, and CSeq 166 * exactly match those associated with an ongoing transaction, but the request 179 * controlled as follows : If the previous in-DIALOG request was an invite 307 * retransmitted request if the original request contained a timestamp. This is 338 * the state of INVITE when you send the CANCEL request. Hence you can CANCEL an 350 * controlled as follows : If the previous in-DIALOG request was an invite 671 if (em.equalsIgnoreCase(Request.BYE [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
DefaultRouter.java | 59 * request and had run out of othe options, then it calls this method to figure 60 * out where to send the request. The default router implements a simple 69 * <li> If the request contains one or more Route headers, use the URI of the 70 * topmost Route header as next hop, possibly modifying the request in the 74 * <li> Otherwise, use the request URI as next hop. If the request URI is not a 75 * SIP URI, call {@link javax.sip.address.Router#getNextHop(Request)} provided 84 * modifications will be made to the request: 86 * <li>The implementation places the Request-URI into the Route header field as 89 * the Request-URI and removes that value from the Route header field [all...] |
SIPTransaction.java | 56 import javax.sip.message.Request; 107 * INVITE request retransmit interval, for UDP only 186 // Original request that is being handled by this transaction 215 // Method of the Request used to create the transaction. 218 // Sequence number of request used to create the transaction 236 // Hang on to these - we clear out the request URI after 369 * Sets the request message that this transaction handles. 372 * Request being handled. 389 // original request can be released later. 423 * Gets the request being handled by this transaction [all...] |
/external/testng/src/main/java/org/testng/junit/ |
JUnit4TestRunner.java | 7 import org.junit.runner.Request; 80 Request r = Request.aClass(testCase);
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
FilesActivityUiTest.java | 23 import android.app.DownloadManager.Request; 198 dm.enqueue(new Request(Uri.parse("http://hammychamp.toodles"))); 209 dm.enqueue(new Request(Uri.parse("http://www.google.com/hamfancy")));
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
agtctl.h | [all...] |
certreqd.h | 54 virtual HRESULT WINAPI Request(DWORD dwFlags,const wchar_t *pwszAuthority,DWORD *pdwRequestId,DWORD *pdwDisposition,const wchar_t *pwszAttributes,const CERTTRANSBLOB *pctbRequest,CERTTRANSBLOB *pctbCertChain,CERTTRANSBLOB *pctbEncodedCert,CERTTRANSBLOB *pctbDispositionMessage) = 0; 64 HRESULT (WINAPI *Request)(ICertRequestD *This,DWORD dwFlags,const wchar_t *pwszAuthority,DWORD *pdwRequestId,DWORD *pdwDisposition,const wchar_t *pwszAttributes,const CERTTRANSBLOB *pctbRequest,CERTTRANSBLOB *pctbCertChain,CERTTRANSBLOB *pctbEncodedCert,CERTTRANSBLOB *pctbDispositionMessage); 76 #define ICertRequestD_Request(This,dwFlags,pwszAuthority,pdwRequestId,pdwDisposition,pwszAttributes,pctbRequest,pctbCertChain,pctbEncodedCert,pctbDispositionMessage) (This)->lpVtbl->Request(This,dwFlags,pwszAuthority,pdwRequestId,pdwDisposition,pwszAttributes,pctbRequest,pctbCertChain,pctbEncodedCert,pctbDispositionMessage) 106 HRESULT (WINAPI *Request)(ICertRequestD2 *This,DWORD dwFlags,const wchar_t *pwszAuthority,DWORD *pdwRequestId,DWORD *pdwDisposition,const wchar_t *pwszAttributes,const CERTTRANSBLOB *pctbRequest,CERTTRANSBLOB *pctbCertChain,CERTTRANSBLOB *pctbEncodedCert,CERTTRANSBLOB *pctbDispositionMessage); 122 #define ICertRequestD2_Request(This,dwFlags,pwszAuthority,pdwRequestId,pdwDisposition,pwszAttributes,pctbRequest,pctbCertChain,pctbEncodedCert,pctbDispositionMessage) (This)->lpVtbl->Request(This,dwFlags,pwszAuthority,pdwRequestId,pdwDisposition,pwszAttributes,pctbRequest,pctbCertChain,pctbEncodedCert,pctbDispositionMessage)
|
/external/chromium-trace/catapult/third_party/webapp2/tests/ |
response_test.py | 251 def myfunction(request, *args, **kwargs): 258 req = webapp2.Request.blank('/') 264 def myfunction(request, *args, **kwargs): 271 def custom_dispatcher(router, request, response): 272 response_str = router.default_dispatcher(request, response) 273 return request.app.response_class(response_str) 277 req = webapp2.Request.blank('/') 283 def myfunction(request, *args, **kwargs): 290 def custom_dispatcher(router, request, response): 291 response_tuple = router.default_dispatcher(request, response [all...] |
/external/libmicrohttpd/doc/examples/ |
sessions.c | 57 #define METHOD_ERROR "<html><head><title>Illegal request</title></head><body>Go away.</body></html>" 130 * Data kept per request. 132 struct Request 142 * a POST request). 147 * URL to serve in response to this POST (if this request 480 struct Request *request = cls; local 481 struct Session *session = request->session; 541 * calls for this request; since the access handler may 544 * to easily associate some request-specific state 564 struct Request *request; local 666 struct Request *request = *con_cls; local [all...] |
/external/libmicrohttpd/src/examples/ |
post_example.c | 35 #define METHOD_ERROR "<html><head><title>Illegal request</title></head><body>Go away.</body></html>" 108 * Data kept per request. 110 struct Request 120 * a POST request). 125 * URL to serve in response to this POST (if this request 464 struct Request *request = cls; local 465 struct Session *session = request->session; 524 * calls for this request; since the access handler may 527 * to easily associate some request-specific state 547 struct Request *request; local 649 struct Request *request = *con_cls; local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/ |
AuthenticationHelperImpl.java | 48 import javax.sip.message.Request; 135 Request reoriginatedRequest = null; 137 * If the challenged request is part of a Dialog and the 138 * Dialog is confirmed the re-originated request should be 139 * generated as an in-Dialog request. 144 reoriginatedRequest = (Request) challengedRequest.clone(); 147 * Re-originate the request by consulting the dialog. In particular 148 * the route set could change between the original request and the 167 // remove the branch id so that we could use the request in a new 190 // Remove all authorization headers from the request (we'll re-add the [all...] |
/external/libmicrohttpd/src/testspdy/ |
test_new_connection.c | 119 struct Request { 127 /* Stream ID for this request. */ 193 static void check_gzip(struct Request *req, char **nv) 283 * use this function to get stream ID of the request. This is because 284 * stream ID is not known when we submit the request 295 struct Request *req; 338 struct Request *req; 383 struct Request *req; 408 struct Request *req; 590 * Submits the request |req| to the connection |connection|. Thi [all...] |
test_request_response.c | 21 * @brief tests receiving request and sending response. spdycli.c (spdylay) 101 struct Request { 109 /* Stream ID for this request. */ 175 static void check_gzip(struct Request *req, char **nv) 265 * use this function to get stream ID of the request. This is because 266 * stream ID is not known when we submit the request 277 struct Request *req; 320 struct Request *req; 366 struct Request *req; 391 struct Request *req [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/autoscale/ |
__init__.py | 35 from boto.ec2.autoscale.request import Request 183 return self.get_object(op, params, Request) 231 return self.get_object('DeleteAutoScalingGroup', params, Request) 292 Request, verb='POST') 321 return self.get_object('PutScalingPolicy', params, Request) 332 return self.get_object('DeleteLaunchConfiguration', params, Request) 544 available. To get the additional records, repeat the request with the [all...] |