HomeSort by relevance Sort by last modified time
    Searched refs:request (Results 551 - 575 of 1957) sorted by null

<<21222324252627282930>>

  /system/core/libutils/
Looper.cpp 162 const Request& request = mRequests.valueAt(i);
164 request.initEventItem(&eventItem);
166 int epollResult = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, request.fd, & eventItem);
169 request.fd, errno);
189 int ident = response.request.ident;
191 int fd = response.request.fd;
193 void* data = response.request.data;
353 if (response.request.ident == POLL_CALLBACK) {
354 int fd = response.request.fd
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/
ContactPhotoManager.java 120 * draw a letter tile avatar based on the request parameters defined in the
127 // Cache and return the letter tile drawable that is created by a null request,
139 * Given a {@link DefaultImageRequest}, returns an Uri that can be used to request a
144 * @param request A {@link DefaultImageRequest} object with the fields configured
148 * used to request a default contact image, drawn as a letter tile using the
151 public static Uri getDefaultAvatarUriForContact(DefaultImageRequest request) {
153 if (request != null) {
154 if (!TextUtils.isEmpty(request.displayName)) {
155 builder.appendQueryParameter(DISPLAY_NAME_PARAM_KEY, request.displayName);
157 if (!TextUtils.isEmpty(request.identifier))
227 final DefaultImageRequest request = new DefaultImageRequest( local
858 DefaultImageRequest request = getDefaultImageRequestFromUri(uri); local
976 getDrawableForBitmap(mContext.getResources(), cachedBitmap, request)); local
1222 Request request = Request.createFromUri(photoUri, smallerExtent, false \/* darkTheme *\/, local
1253 Request request = iterator.next(); local
1705 final DefaultImageRequest request; local
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
HttpEngine.java 29 import com.squareup.okhttp.Request;
78 * Handles a single HTTP request/response pair. Each HTTP engine follows this
82 * <li>The HTTP request message is sent with sendRequest(). Once the request
83 * is sent it is an error to modify the request headers. After
84 * sendRequest() has been called the request body can be written to if
92 * <p>The request and response may be served by the HTTP response cache, by the
124 /** The time when the request headers were written, or -1 if they haven't been written yet. */
134 * True if the request body must be completely buffered before transmission;
142 * The original application-provided request. Never modified by OkHttp. Whe
225 Request request = networkRequest(userRequest); local
833 private final Request request; field in class:HttpEngine.NetworkInterceptorChain
845 @Override public Request request() { method in class:HttpEngine.NetworkInterceptorChain
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.jdt.debug_3.6.1.v20100715_r361/
jdi.jar 
  /external/wpa_supplicant_8/wpa_supplicant/examples/
wps-nfc.py 70 if "FAIL" in wpas.request("WPS_NFC_TAG_READ " + str(message).encode("hex")):
79 ret = wpas.request("WPS_NFC_CONFIG_TOKEN NDEF " + id)
81 ret = wpas.request("WPS_NFC_CONFIG_TOKEN NDEF")
91 ret = wpas.request("WPS_ER_NFC_CONFIG_TOKEN NDEF " + uuid)
101 ret = wpas.request("WPS_NFC_TOKEN NDEF")
110 ret = wpas.request("NFC_GET_HANDOVER_REQ NDEF WPS-CR")
121 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR").rstrip()
123 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR " + uuid).rstrip()
133 return wpas.request("NFC_REPORT_HANDOVER " + type + " WPS " +
145 # override to avoid parser error in request/response.pretty() in nfcp
    [all...]
  /development/samples/SampleSyncAdapter/samplesyncadapter_server/
dashboard.py 37 Base class for our page-based request handlers that contains
83 data = ContactForm(data=self.request.POST)
102 id = int(self.request.get('id'))
108 id = int(self.request.get('id'))
110 data = ContactForm(data=self.request.POST, instance=contact)
122 """Processes delete contact request."""
125 id = int(self.request.get('id'))
142 id = int(self.request.get('id'))
153 id = int(self.request.get('id'))
155 #avatar = images.resize(self.request.get("avatar"), 128, 128
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/server/handler/
StatisticsHandler.java 32 import org.eclipse.jetty.server.Request;
61 final Request request = ((AsyncContinuation)continuation).getBaseRequest();
62 final long elapsed = System.currentTimeMillis()-request.getTimeStamp();
67 updateResponse(request);
80 * Resets the current request statistics.
103 public void handle(String path, Request request, HttpServletRequest httpRequest, HttpServletResponse httpResponse) throws IOException, ServletException
108 AsyncContinuation continuation = request.getAsyncContinuation();
111 // new request
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/servlet/
DefaultServlet.java 406 protected void doGet(HttpServletRequest request, HttpServletResponse response)
412 Boolean included =request.getAttribute(Dispatcher.INCLUDE_REQUEST_URI)!=null;
415 servletPath=(String)request.getAttribute(Dispatcher.INCLUDE_SERVLET_PATH);
416 pathInfo=(String)request.getAttribute(Dispatcher.INCLUDE_PATH_INFO);
419 servletPath=request.getServletPath();
420 pathInfo=request.getPathInfo();
426 servletPath = _pathInfoOnly?"/":request.getServletPath();
427 pathInfo = request.getPathInfo();
429 // Is this a Range request?
430 reqRanges = request.getHeaders(HttpHeaders.RANGE)
    [all...]
  /external/speex/libspeex/
speex.c 180 EXPORT int speex_encoder_ctl(void *state, int request, void *ptr)
182 return (*((SpeexMode**)state))->enc_ctl(state, request, ptr);
185 EXPORT int speex_decoder_ctl(void *state, int request, void *ptr)
187 return (*((SpeexMode**)state))->dec_ctl(state, request, ptr);
192 int nb_mode_query(const void *mode, int request, void *ptr)
196 switch (request)
210 speex_warning_int("Unknown nb_mode_query request: ", request);
218 EXPORT int speex_lib_ctl(int request, void *ptr)
220 switch (request)
    [all...]
  /external/valgrind/memcheck/tests/
holey_buffer_too_small.stderr.exp 4 Uninitialised byte(s) found during client check request
13 Unaddressable byte(s) found during client check request
22 Unaddressable byte(s) found during client check request
31 Unaddressable byte(s) found during client check request
40 Unaddressable byte(s) found during client check request
  /frameworks/base/core/java/android/hardware/camera2/impl/
CameraConstrainedHighSpeedCaptureSessionImpl.java 72 public List<CaptureRequest> createHighSpeedRequestList(CaptureRequest request)
74 if (request == null) {
75 throw new IllegalArgumentException("Input capture request must not be null");
77 Collection<Surface> outputSurfaces = request.getTargets();
78 Range<Integer> fpsRange = request.get(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE);
84 // Request list size: to limit the preview to 30fps, need use maxFps/30; to maximize
90 // Prepare the Request builders: need carry over the request controls.
91 // First, create a request builder that will only include preview or recording target.
92 CameraMetadataNative requestMetadata = new CameraMetadataNative(request.getNativeCopy())
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/snep/
SnepServer.java 141 SnepMessage request; local
143 request = messenger.getMessage();
155 if (((request.getVersion() & 0xF0) >> 4) != SnepMessage.VERSION_MAJOR) {
158 } else if (request.getField() == SnepMessage.REQUEST_GET) {
159 messenger.sendMessage(callback.doGet(request.getAcceptableLength(),
160 request.getNdefMessage()));
161 } else if (request.getField() == SnepMessage.REQUEST_PUT) {
162 if (DBG) Log.d(TAG, "putting message " + request.toString());
163 messenger.sendMessage(callback.doPut(request.getNdefMessage()));
165 if (DBG) Log.d(TAG, "Unknown request (" + request.getField() +")")
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/servlets/
BalancerServlet.java 40 import org.eclipse.jetty.server.Request;
262 protected HttpURI proxyHttpURI(HttpServletRequest request, String uri) throws MalformedURLException
264 BalancerMember balancerMember = selectBalancerMember(request);
276 private BalancerMember selectBalancerMember(HttpServletRequest request)
281 String name = getBalancerMemberNameFromSessionId(request);
307 private String getBalancerMemberNameFromSessionId(HttpServletRequest request)
309 String name = getBalancerMemberNameFromSessionCookie(request);
312 name = getBalancerMemberNameFromURL(request);
317 private String getBalancerMemberNameFromSessionCookie(HttpServletRequest request)
319 Cookie[] cookies = request.getCookies()
    [all...]
MultiPartFilter.java 69 * item. Any files sent are stored to a temporary file and a File object added to the request
74 * current request returns.
77 * form (default set by system property org.eclipse.jetty.server.Request.maxFormKeys or 1000) to protect
80 * The init parameter deleteFiles controls if uploaded files are automatically deleted after the request
85 * Use init parameter "maxRequestSize" to limit the size of the multipart request.
99 private int _maxFormKeys = Integer.getInteger("org.eclipse.jetty.server.Request.maxFormKeys",1000).intValue();
130 public void doFilter(ServletRequest request,ServletResponse response,FilterChain chain)
133 HttpServletRequest srequest=(HttpServletRequest)request;
136 chain.doFilter(request,response);
140 InputStream in = new BufferedInputStream(request.getInputStream())
    [all...]
DoSFilter.java 62 * exposure to abuse from request flooding, whether malicious, or as a result of
66 * second. If a limit is exceeded, the request is either rejected, delayed, or
69 * When a request is throttled, it is placed in a priority queue. Priority is
74 * The {@link #extractUserId(ServletRequest request)} function should be
86 * before they are considered at all. -1 means just reject request,
100 * <dd>how long to allow this request to run.</dd>
103 * <dd>how long to keep track of request rates for a connection,
314 public void doFilter(ServletRequest request, ServletResponse response, FilterChain filterChain) throws IOException, ServletException
316 doFilter((HttpServletRequest)request, (HttpServletResponse)response, filterChain);
319 protected void doFilter(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws IOException, ServletExceptio
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
CallTest.java 112 Request request = new Request.Builder() local
117 executeSynchronously(request)
133 Request request1 = new Request.Builder()
136 Request request2 = request1.newBuilder()
148 Request request = new Request.Builder( local
158 Request request = new Request.Builder() local
169 Request request = new Request.Builder() local
201 Request request = new Request.Builder() local
231 Request request = new Request.Builder() local
260 Request request = new Request.Builder() local
319 Request request = new Request.Builder() local
350 Request request = new Request.Builder().url(server.getUrl("\/")).build(); local
375 Request request = new Request.Builder() local
404 Request request = new Request.Builder() local
421 Request request = new Request.Builder() local
450 Request request = new Request.Builder() local
479 Request request = new Request.Builder() local
497 Request request = new Request.Builder() local
527 Request request = new Request.Builder() local
557 Request request = new Request.Builder() local
574 Request request = new Request.Builder() local
634 Request request = new Request.Builder().url(server.getUrl("\/a")).build(); local
666 Request request = new Request.Builder().url(server.getUrl("\/b")).build(); local
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_httpservers.py 84 def request(self, uri, method='GET', body=None, headers={}): member in class:BaseTestCase
86 self.connection.request(method, uri, body, headers)
147 # Issue #10714: huge request lines are discarded, to avoid Denial
150 self.assertEqual(result[0], b'HTTP/1.1 414 Request-URI Too Long\r\n')
186 self.con.request('GET', '/')
256 self.con.request('TEST', '/')
261 self.con.request('KEEP', '/')
264 self.con.request('TEST', '/')
268 self.con.request('KEYERROR', '/')
273 self.con.request('CUSTOM', '/'
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_httpservers.py 84 def request(self, uri, method='GET', body=None, headers={}): member in class:BaseTestCase
86 self.connection.request(method, uri, body, headers)
147 # Issue #10714: huge request lines are discarded, to avoid Denial
150 self.assertEqual(result[0], b'HTTP/1.1 414 Request-URI Too Long\r\n')
186 self.con.request('GET', '/')
256 self.con.request('TEST', '/')
261 self.con.request('KEEP', '/')
264 self.con.request('TEST', '/')
268 self.con.request('KEYERROR', '/')
273 self.con.request('CUSTOM', '/'
    [all...]
  /external/v8/test/mjsunit/
debug-handle.js 45 // Send an evaluation request and return the handle of the result.
51 var base_request = '"seq":0,"type":"request","command":"evaluate"'
53 // Generate request with the supplied arguments.
54 var request;
56 request = '{' + base_request + ',"arguments":' + arguments + '}';
58 request = '{' + base_request + '}'
61 var response = safeEval(dcp.processDebugJSONRequest(request));
62 assertTrue(response.success, request + ' -> ' + response.message);
68 // Send a lookup request and return the evaluated JSON response.
74 var base_request = '"seq":0,"type":"request","command":"lookup"
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
cookielib.py 582 def request_host(request):
583 """Return request-host, as defined by RFC 2965.
589 url = request.get_full_url()
592 host = request.get_header("Host", "")
598 def eff_request_host(request):
599 """Return a tuple (request-host, effective request-host name).
604 erhn = req_host = request_host(request)
609 def request_path(request):
610 """Path component of request-URI, as defined by RFC 2965.""
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
cookielib.py 582 def request_host(request):
583 """Return request-host, as defined by RFC 2965.
589 url = request.get_full_url()
592 host = request.get_header("Host", "")
598 def eff_request_host(request):
599 """Return a tuple (request-host, effective request-host name).
604 erhn = req_host = request_host(request)
609 def request_path(request):
610 """Path component of request-URI, as defined by RFC 2965.""
    [all...]
  /external/apache-http/src/org/apache/http/impl/
AbstractHttpServerConnection.java 146 HttpRequest request = (HttpRequest) this.requestParser.parse(); local
148 return request;
151 public void receiveRequestEntity(final HttpEntityEnclosingRequest request)
153 if (request == null) {
154 throw new IllegalArgumentException("HTTP request may not be null");
157 HttpEntity entity = this.entitydeserializer.deserialize(this.inbuffer, request);
158 request.setEntity(entity);
  /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...]
  /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...]
  /external/v8/tools/testrunner/server/
local_handler.py 56 rec = compression.Receiver(self.request)
65 compression.Send([action, response], self.request)
72 self.request)
75 compression.Send([action, self._GetStatusMessage()], self.request)
79 compression.Send([action, fingerprint], self.request)
94 compression.Send(constants.END_OF_STREAM, self.request)

Completed in 1181 milliseconds

<<21222324252627282930>>