/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/ |
WebSocketCallTest.java | 19 import com.squareup.okhttp.Request; 231 Request request1 = new Request.Builder() 241 return awaitWebSocket(new Request.Builder().get().url(server.url("/")).build()); 244 private WebSocket awaitWebSocket(Request request) { 245 WebSocketCall call = new WebSocketCall(client, request, random);
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
ImageLoader.java | 24 import com.android.volley.Request; 54 * that we can coalesce multiple requests to the same URL into a single network request. 122 * 1. Upon being attached to a request, onResponse(response, true) will 133 * Listens for non-error changes to the loading of the image request. 135 * @param response Holds all information pertaining to the request, as well 177 * request is fulfilled. 195 * Issues a bitmap request with the given URL if that image is not available 197 * relating to the request (as well as the default image if the requested 204 * @return A container object that contains all of the properties of the request, as well as 215 // Try to look up the request in the cache of remote images [all...] |
ImageRequest.java | 27 import com.android.volley.Request; 32 * A canned request for getting an image at a given URL and calling 35 public class ImageRequest extends Request<Bitmap> { 55 * Creates a new image request, decoding to a maximum specified width and
|
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/ |
DownloadAppTestHelper.java | 22 import android.app.DownloadManager.Request; 213 Request request; local 214 request = new Request(uri); 232 ? Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION : Request.VISIBILITY_HIDDEN);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Cache.java | 56 * <li><strong>{@linkplain #getRequestCount() Request Count:}</strong> the number of HTTP 64 * Sometimes a request will result in a conditional cache hit. If the cache contains a stale copy of 79 * Request request = new Request.Builder() 88 * Request request = new Request.Builder() 99 * to be downloaded. To restrict a request to locally-cached resources, add the {@code 102 * Request request = new Request.Builder( [all...] |
/art/runtime/jdwp/ |
jdwp.h | 118 class Request; 298 size_t ProcessRequest(Request* request, ExpandBuf* pReply, bool* skip_reply) 417 class Request { 419 Request(const uint8_t* bytes, uint32_t available); 420 ~Request(); 495 DISALLOW_COPY_AND_ASSIGN(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...] |
/frameworks/base/core/java/android/service/voice/ |
VoiceInteractionSession.java | 144 final ArrayMap<IBinder, Request> mActiveRequests = new ArrayMap<IBinder, Request>(); 155 ConfirmationRequest request = new ConfirmationRequest(callingPackage, 158 addRequest(request); 160 request)); 161 return request.mInterface; 168 PickOptionRequest request = new PickOptionRequest(callingPackage, 171 addRequest(request); 173 request)); 174 return request.mInterface [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/ |
OCSPReq.java | 16 import org.bouncycastle.asn1.ocsp.Request; 35 * requestList SEQUENCE OF Request, 45 * Request ::= SEQUENCE { 86 throw new CertIOException("malformed request: no request data found"); 92 throw new CertIOException("malformed request: " + e.getMessage(), e); 96 throw new CertIOException("malformed request: " + e.getMessage(), e); 100 throw new CertIOException("malformed request: " + e.getMessage(), e); 121 requests[i] = new Req(Request.getInstance(seq.getObjectAt(i))); 210 * Return whether or not this request is signed [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/tools/ |
ocspclient.py | 10 import urllib.request as urllib2 52 # Build request object 54 request = rfc2560.Request() 56 reqCert = request.setComponentByName('reqCert').getComponentByName('reqCert') 71 requestList.setComponentByPosition(0, request) 121 # Build OCSP request 128 httpReq = urllib2.Request( 131 { 'Content-Type': 'application/ocsp-request' }
|
ocspserver.py | 10 import urllib.request as urllib2 52 # Build request object 54 request = rfc2560.Request() 56 reqCert = request.setComponentByName('reqCert').getComponentByName('reqCert') 71 requestList.setComponentByPosition(0, request) 118 # Build OCSP request 125 httpReq = urllib2.Request( 128 { 'Content-Type': 'application/ocsp-request' }
|
/external/curl/tests/ |
http_pipe.py | 95 (String) The request path. 99 RequestTooLargeError: If the request exceeds MAX_REQUEST_SIZE. 117 'Request is at least %d bytes' % len(self._buffer)) 127 """Tries to parse an HTTTP request line. 130 (Boolean) True if a request was found. 159 (Boolean) True if it found the end of the request or a HTTP header. 365 fileno = self.request.fileno() 381 self.request.setblocking(False) 382 new_data = self.request.recv(MAX_REQUEST_SIZE) 383 self.request.setblocking(True [all...] |
/external/jetty/src/java/org/eclipse/jetty/server/handler/ |
DebugHandler.java | 30 import org.eclipse.jetty.server.Request; 39 * Details of the request and response are written to an output stream 54 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) 63 String name=(String)request.getAttribute("org.eclipse.jetty.thread.name"); 78 _print.println(d+(ms>99?".":(ms>9?".0":".00"))+ms+":"+name+" "+baseRequest.getRemoteAddr()+" "+request.getMethod()+" "+baseRequest.getHeader("Cookie")+"; "+baseRequest.getHeader("User-Agent")); 81 getHandler().handle(target,baseRequest,request,response); 111 request.setAttribute("org.eclipse.jetty.thread.name",name);
|
/external/jetty/src/java/org/eclipse/jetty/server/ssl/ |
SslCertificates.java | 32 import org.eclipse.jetty.server.Request; 81 * Allow the Listener a chance to customise the request. before the server 86 * <li> an attribute named "javax.servlet.request.ssl_session_id" of type 88 * <li> an attribute named "javax.servlet.request.cipher_suite" of type 90 * <li> an attribute named "javax.servlet.request.key_size" of type Integer.</li> 91 * <li> an attribute named "javax.servlet.request.X509Certificate" of type 100 * The Socket the request arrived on. This should be a 102 * @param request 105 public static void customize(SSLSession sslSession, EndPoint endpoint, Request request) throws IOExceptio [all...] |
SslSelectChannelConnector.java | 39 import org.eclipse.jetty.server.Request; 78 * Allow the Listener a chance to customise the request. before the server 83 * <li> an attribute named "javax.servlet.request.ssl_session_id" of type 85 * <li> an attribute named "javax.servlet.request.cipher_suite" of type 87 * <li> an attribute named "javax.servlet.request.key_size" of type Integer.</li> 88 * <li> an attribute named "javax.servlet.request.X509Certificate" of type 97 * The Socket the request arrived on. This should be a 99 * @param request 103 public void customize(EndPoint endpoint, Request request) throws IOExceptio [all...] |
SslSocketConnector.java | 37 import org.eclipse.jetty.server.Request; 125 * Allow the Listener a chance to customise the request. before the server does its stuff. <br> 129 * <li> an attribute named "javax.servlet.request.ssl_id" of type String (since Spec 3.0).</li> 130 * <li> an attribute named "javax.servlet.request.cipher_suite" of type String.</li> 131 * <li> an attribute named "javax.servlet.request.key_size" of type Integer.</li> 132 * <li> an attribute named "javax.servlet.request.X509Certificate" of type 139 * @param endpoint The Socket the request arrived on. 141 * @param request HttpRequest to be customised. 144 public void customize(EndPoint endpoint, Request request) [all...] |
/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/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
RecordedResponse.java | 33 public final Request request; field in class:RecordedResponse 39 public RecordedResponse(Request request, Response response, WebSocket webSocket, String body, 41 this.request = request; 49 assertEquals(url, request.url()); 54 assertEquals(method, request.method()); 59 assertEquals(Arrays.asList(values), request.headers(name)); 106 return new RecordedResponse(priorResponse.request(), priorResponse, null, null, null) [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/Camera2/src/com/android/camera/one/v2/core/ |
RequestBuilder.java | 40 * Conveniently builds {@link Request}s. 79 private static class RequestImpl implements Request { 130 * @param builder The capture request builder to use. 164 * {@link Request} will be sent to. 178 * Builds a new {@link Request} based on the current state of the builder. 181 * @return A new {@link Request} based on the current state of the builder. 183 public Request build() {
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
cciss_ioctl.h | 168 RequestBlock_struct Request; 176 RequestBlock_struct Request;
|
/system/webservd/libwebserv/ |
dbus_protocol_handler.h | 49 class Request; 101 // Asynchronous callbacks to handle successful or failed request handler 109 // Called by DBusServer when an incoming request is dispatched. 113 std::unique_ptr<Request> request, 116 // Called by Response object to finish the request and send response data. 123 // Makes a call to the (remote) web server request handler over D-Bus to 125 // request with |request_id|. 133 // outstanding request with ID |request_id|. 141 // Handler data map. The key is the client-facing request handler ID returne [all...] |
/external/apache-http/android/src/android/net/http/ |
ConnectionThread.java | 73 // next request starts. 82 Request request; local 84 /* Get a request to process */ 85 request = mRequestFeeder.getRequest(); 88 if (request == null) { 103 if (HttpLog.LOGV) HttpLog.v("ConnectionThread: new request " + 104 request.mHost + " " + request ); 107 request.mHost) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/ |
EventScanner.java | 143 // Check if this request has already created a 159 // Discard the duplicate request if a 161 // to handle the request statelessly, then the listener 164 // you to handle the request statefully or statelessly. 180 if (sipRequest.getMethod().equals(Request.ACK) 204 // request comes along it will not get assigned a 263 .equals(Request.ACK)) { 295 * If the response for a request within a dialog is a 481 296 * (Call/Transaction Does Not Exist) or a 408 (Request 316 * INVITE request due to a forking proxy. Each response i [all...] |