HomeSort by relevance Sort by last modified time
    Searched refs:request (Results 451 - 475 of 2852) sorted by null

<<11121314151617181920>>

  /frameworks/base/core/java/android/hardware/camera2/
CaptureFailure.java 56 public CaptureFailure(CaptureRequest request, int reason, boolean dropped, int sequenceId,
58 mRequest = request;
66 * Get the request associated with this failed capture.
68 * <p>Whenever a request is unsuccessfully captured, with
70 * the {@code failed capture}'s {@code getRequest()} will return that {@code request}.
83 * @return The request associated with this failed capture. Never {@code null}.
92 * <p>Whenever a request has been processed, regardless of failed capture or success,
106 * Determine why the request was dropped, whether due to an error or to a user
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
CameraDeviceBinderTest.java 129 CaptureRequest.Builder request = new CaptureRequest.Builder(metadata); local
130 assertFalse(request.isEmpty());
136 request.addTarget(mSurface);
138 return request;
141 private int submitCameraRequest(CaptureRequest request, boolean streaming) throws Exception {
142 int requestId = mCameraUser.submitRequest(request, streaming);
143 assertTrue("Request IDs should be non-negative", requestId >= 0);
269 CaptureRequest request = builder.build(); local
271 // Submit valid request twice.
272 int requestId1 = submitCameraRequest(request, /* streaming */false)
283 CaptureRequest request = builder.build(); local
349 CaptureRequest request = createDefaultBuilder(\/* needStream *\/true).build(); local
366 CaptureRequest request = createDefaultBuilder(\/* needStream *\/true).build(); local
393 CaptureRequest request = createDefaultBuilder(\/* needStream *\/true).build(); local
427 CaptureRequest request = createDefaultBuilder(\/* needStream *\/true).build(); local
    [all...]
  /frameworks/base/media/tests/players/
invoke_mock_media_player.cpp 85 virtual status_t invoke(const Parcel& request, Parcel *reply);
86 virtual status_t setParameter(int key, const Parcel &request) {return OK;}
91 // Take a request, copy it to the reply.
92 void ping(const Parcel& request, Parcel *reply);
98 status_t Player::invoke(const Parcel& request, Parcel *reply)
102 ping(request, reply);
109 void Player::ping(const Parcel& request, Parcel *reply)
111 const size_t len = request.dataAvail();
113 reply->setData(static_cast<const uint8_t*>(request.readInplace(len)), len);
  /frameworks/volley/src/com/android/volley/toolbox/
BasicNetwork.java 27 import com.android.volley.Request;
83 public NetworkResponse performRequest(Request<?> request) throws VolleyError {
92 addCacheHeaders(headers, request.getCacheEntry());
93 httpResponse = mHttpStack.performRequest(request, headers);
101 request.getCacheEntry().data, responseHeaders, true);
105 // if the request is slow, log it.
107 logSlowRequests(requestLifetime, request, responseContents, statusLine);
114 attemptRetryOnException("socket", request, new TimeoutError());
116 attemptRetryOnException("connection", request, new TimeoutError())
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
RenderingRequest.java 64 RenderingRequest request = new RenderingRequest(); local
78 request.setBitmap(bitmap);
80 request.setOriginalImagePreset(preset);
81 request.setScaleFactor(MasterImage.getImage().getScaleFactor());
84 request.setBounds(bounds);
85 request.setDestination(destination);
89 request.setImagePreset(passedPreset);
90 request.setType(type);
91 request.setCaller(caller);
92 request.post(context)
103 RenderingRequest request = new RenderingRequest(); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
AuditRules.js 42 304: true // Underlying request is cacheable
55 var request = requests[i];
56 if (types && types.indexOf(request.type) === -1)
58 var parsedURL = request.url.asParsedURL();
67 domainResources.push(needFullResources ? request : request.url);
95 var request = requests[i];
96 if (request.statusCode === 304)
98 if (this._shouldCompress(request)) {
99 var size = request.resourceSize
    [all...]
  /external/chromium/chrome/browser/ui/webui/
chrome_url_data_manager_backend.cc 34 ChromeURLDataManagerBackend* GetBackend(net::URLRequest* request) {
35 return static_cast<ChromeURLRequestContext*>(request->context())->
39 // Parse a URL into the components used to resolve its request. |source_name|
73 explicit URLRequestChromeJob(net::URLRequest* request);
126 URLRequestChromeFileJob(net::URLRequest* request, const FilePath& path);
138 static net::URLRequestJob* CreateJobForRequest(net::URLRequest* request,
190 // Parse the URL into a request for a source and path.
195 // Look up the data source for the request.
202 // Save this request so we know where to send the data.
212 job->request()->context())
    [all...]
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
dispatch.py 31 """Dispatch WebSocket request.
56 """Exception in dispatching WebSocket request."""
63 def _default_passive_closing_handshake_handler(request):
217 Once added, request to alias_resource_path would be handled by
236 def do_extra_handshake(self, request):
239 Select a handler based on request.uri and call its
243 request: mod_python request.
251 handler_suite = self.get_handler_suite(request.ws_resource)
253 raise DispatchException('No handler for: %r' % request.ws_resource
    [all...]
  /external/chromium_org/android_webview/browser/renderer_host/
aw_resource_dispatcher_host_delegate.cc 37 net::URLRequest* request, int flag) {
43 int load_flags = request->load_flags();
46 request->set_load_flags(load_flags);
54 // if the request should be cancelled. There may not always be an IoThreadClient
56 // pop up windows, for example) and in that case the request and the client
57 // callbacks will be deferred the request until a client is ready.
62 net::URLRequest* request);
84 net::URLRequest* request)
87 request_(request) { }
207 net::URLRequest* request,
    [all...]
  /external/chromium_org/net/test/spawned_test_server/
spawner_communicator.cc 27 // Always performs HTTP request for sending command to the spawner server.
79 // Unique ID for the current request.
85 // Holds the error condition that was hit on the current request, or OK.
133 // The request and its context should be created and destroyed only on the
198 // Post a task to timeout this request if it takes too long.
206 // Start the request.
227 void SpawnerCommunicator::OnSpawnerCommandCompleted(URLRequest* request) {
230 DCHECK_EQ(request, cur_request_.get());
235 // If request is faild,return the error code.
240 LOG(ERROR) << "request failed, status:
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
dispatch.py 31 """Dispatch WebSocket request.
56 """Exception in dispatching WebSocket request."""
63 def _default_passive_closing_handshake_handler(request):
217 Once added, request to alias_resource_path would be handled by
236 def do_extra_handshake(self, request):
239 Select a handler based on request.uri and call its
243 request: mod_python request.
251 handler_suite = self.get_handler_suite(request.ws_resource)
253 raise DispatchException('No handler for: %r' % request.ws_resource
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/p2p/client/
httpportallocator.cc 58 // Parses the lines in the result of the HTTP request that are of the form
285 // Initiate an HTTP request to create a session through the chosen host.
286 talk_base::AsyncHttpRequest* request = local
288 request->SignalWorkDone.connect(this,
291 request->set_secure(port == talk_base::HTTP_SECURE_PORT);
292 request->set_proxy(allocator()->proxy());
293 request->response().document.reset(new talk_base::MemoryStream);
294 request->request().verb = talk_base::HV_GET;
295 request->request().path = GetSessionRequestUrl()
307 talk_base::AsyncHttpRequest* request = local
    [all...]
  /external/chromium_org/webkit/browser/appcache/
appcache_request_handler.cc 46 net::URLRequest* request, net::NetworkDelegate* network_delegate) {
48 if (!host_ || !IsSchemeAndMethodSupported(request) || cache_entry_not_found_)
52 // of a request. The case we detect here is having scheduled
54 // earlier call thru this method. To send the request thru
55 // to the network involves restarting the request altogether,
57 // This time thru, we return NULL so the request hits the wire.
68 // Clear out our 'found' fields since we're starting a request for a
77 MaybeLoadMainResource(request, network_delegate);
79 MaybeLoadSubResource(request, network_delegate);
93 net::URLRequest* request,
    [all...]
  /external/v8/src/
debug-debugger.js 28 // Default number of frames to include in the response to backtrace request.
    [all...]
  /external/chromium_org/chrome/browser/ui/webui/
favicon_source.cc 136 bool FaviconSource::ShouldServiceRequest(const net::URLRequest* request) const {
137 if (request->url().SchemeIs(chrome::kChromeSearchScheme))
138 return InstantIOContext::ShouldServiceRequest(request);
139 return URLDataSource::ShouldServiceRequest(request);
142 bool FaviconSource::HandleMissingResource(const IconRequest& request) {
151 associator->GetSyncedFaviconForPageURL(request.request_path.spec(),
153 request.callback.Run(response.get());
160 const IconRequest& request,
164 request.callback.Run(bitmap_result.bitmap_data.get());
165 } else if (!HandleMissingResource(request)) {
    [all...]
  /external/chromium_org/content/browser/renderer_host/pepper/
pepper_network_proxy_host.cc 52 net::ProxyService::PacRequest* request = pending_requests_.front(); local
53 proxy_service_->CancelPacRequest(request);
82 SocketPermissionRequest request(
87 request,
124 UnsentRequest request = { gurl, context->MakeReplyMessageContext() }; local
125 unsent_requests_.push(request);
139 const UnsentRequest& request = unsent_requests_.front(); local
141 SendFailureReply(PP_ERROR_FAILED, request.reply_context);
143 SendFailureReply(PP_ERROR_NOACCESS, request.reply_context);
151 request.reply_context
    [all...]
  /external/okhttp/src/main/java/com/squareup/okhttp/
Response.java 37 private final Request request; field in class:Response
44 this.request = builder.request;
52 * The wire-level request that initiated this HTTP response. This is usually
53 * <strong>not</strong> the same request instance provided to the HTTP client:
58 * <li>It may be the request generated in response to an HTTP redirect.
59 * In this case the request URL may be different than the initial
60 * request URL.
63 public Request request() method in class:Response
170 private final Request request; field in class:Response.Builder
    [all...]
  /frameworks/base/obex/javax/obex/
ServerSession.java 129 * Received a request type that is not recognized so I am
151 * Handles a ABORT request from a client. This method will read the rest of
152 * the request from the client. Assuming the request is valid, it will
155 * request, this method will create a reply message to send to the server.
161 HeaderSet request = new HeaderSet(); local
172 code = mListener.onAbort(request, reply);
173 Log.v(TAG, "onAbort request handler return value- " + code);
180 * Handles a PUT request from a client. This method will provide a
181 * <code>ServerOperation</code> object to the request handler. Th
299 HeaderSet request = new HeaderSet(); local
422 HeaderSet request = new HeaderSet(); local
530 HeaderSet request = new HeaderSet(); local
    [all...]
  /external/apache-http/src/org/apache/http/protocol/
HttpService.java 135 HttpRequest request = conn.receiveRequestHeader(); local
136 request.setParams(
137 new DefaultedHttpParams(request.getParams(), this.params));
140 request.getRequestLine().getProtocolVersion();
146 if (request instanceof HttpEntityEnclosingRequest) {
148 if (((HttpEntityEnclosingRequest) request).expectContinue()) {
156 this.expectationVerifier.verify(request, response, context);
171 conn.receiveRequestEntity((HttpEntityEnclosingRequest) request);
174 conn.receiveRequestEntity((HttpEntityEnclosingRequest) request);
183 context.setAttribute(ExecutionContext.HTTP_REQUEST, request);
    [all...]
  /external/chromium/net/spdy/
spdy_http_stream_unittest.cc 73 HttpRequestInfo request; local
74 request.method = "GET";
75 request.url = GURL("http://www.google.com/");
84 http_stream->InitializeStream(&request, net_log, NULL));
129 HttpRequestInfo request; local
130 request.method = "POST";
131 request.url = GURL("http://www.google.com/");
132 request.upload_data = new UploadData();
133 request.upload_data->set_is_chunked(true);
134 request.upload_data->AppendChunk(kUploadData, kUploadDataSize, false)
187 HttpRequestInfo request; local
    [all...]
  /external/chromium/third_party/libevent/
evrpc.h 41 * EVRPC_HEADER(SendCommand, Request, Reply);
44 * Request is the name of a structure generated by event_rpcgen.py.
57 * EVRPC_REGISTER(base, SendCommand, Request, Reply, FunctionCB, arg);
73 /* Encapsulates a request */
77 /* the URI at which the request handler lives */
80 /* creates a new request structure */
83 /* frees the request structure */
86 /* unmarshals the buffer into the proper request structure */
120 /* the unmarshaled request object */
121 void *request; member in struct:evrpc_req_generic
359 void *request; member in struct:evrpc_request_wrapper
    [all...]
  /external/chromium_org/cloud_print/service/
service_state.cc 41 virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE {
42 if (request->GetResponseCode() == 200) {
43 Read(request); variable
44 if (request->status().is_io_pending())
47 request->Cancel();
50 virtual void OnReadCompleted(net::URLRequest* request,
52 Read(request); variable
53 if (!request->status().is_io_pending())
62 void Read(net::URLRequest* request) {
67 while (request->Read(buf.get(), kBufSize, &num_bytes))
    [all...]
  /external/chromium_org/content/common/
child_process_sandbox_support_impl_linux.cc 27 Pickle request; local
28 request.WriteInt(LinuxSandbox::METHOD_GET_FONT_FAMILY_FOR_CHAR);
29 request.WriteInt(character);
30 request.WriteString(preferred_locale);
34 sizeof(buf), NULL, request);
56 Pickle request; local
57 request.WriteInt(LinuxSandbox::METHOD_GET_STYLE_FOR_STRIKE);
58 request.WriteString(family);
59 request.WriteInt(sizeAndStyle);
63 sizeof(buf), NULL, request);
95 Pickle request; local
104 &fd, request); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/network/
ResourceRequest.cpp 38 OwnPtr<ResourceRequest> request = adoptPtr(new ResourceRequest()); local
39 request->setURL(data->m_url);
40 request->setCachePolicy(data->m_cachePolicy);
41 request->setTimeoutInterval(data->m_timeoutInterval);
42 request->setFirstPartyForCookies(data->m_firstPartyForCookies);
43 request->setHTTPMethod(data->m_httpMethod);
44 request->setPriority(data->m_priority);
46 request->m_httpHeaderFields.adopt(data->m_httpHeaders.release());
48 request->setHTTPBody(data->m_httpBody);
49 request->setAllowCookies(data->m_allowCookies)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
IDBIndex.cpp 78 RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::create(this), m_transaction.get());
79 request->setCursorDetails(IndexedDB::CursorKeyAndValue, direction);
80 backendDB()->openCursor(m_transaction->id(), m_objectStore->id(), m_metadata.id, keyRange, direction, false, IDBDatabaseBackendInterface::NormalTask, request);
81 return request;
108 RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::create(this), m_transaction.get()); local
109 backendDB()->count(m_transaction->id(), m_objectStore->id(), m_metadata.id, keyRange, request);
110 return request;
141 RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::create(this), m_transaction.get());
142 request->setCursorDetails(IndexedDB::CursorKeyOnly, direction);
143 backendDB()->openCursor(m_transaction->id(), m_objectStore->id(), m_metadata.id, keyRange, direction, true, IDBDatabaseBackendInterface::NormalTask, request);
185 RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::create(this), m_transaction.get()); local
220 RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::create(this), m_transaction.get()); local
    [all...]

Completed in 791 milliseconds

<<11121314151617181920>>