Home
last modified time | relevance | path

Searched refs:requests (Results 1 – 25 of 136) sorted by relevance

123456

/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraCaptureSessionImpl.java179 public synchronized int captureBurst(List<CaptureRequest> requests, CaptureCallback callback, in captureBurst() argument
181 if (requests == null) { in captureBurst()
183 } else if (requests.isEmpty()) { in captureBurst()
187 for (CaptureRequest request : requests) { in captureBurst()
204 CaptureRequest[] requestArray = requests.toArray(new CaptureRequest[0]); in captureBurst()
209 return addPendingSequence(mDeviceImpl.captureBurst(requests, in captureBurst()
236 public synchronized int setRepeatingBurst(List<CaptureRequest> requests, in setRepeatingBurst() argument
238 if (requests == null) { in setRepeatingBurst()
240 } else if (requests.isEmpty()) { in setRepeatingBurst()
244 for (CaptureRequest r : requests) { in setRepeatingBurst()
[all …]
DCameraConstrainedHighSpeedCaptureSessionImpl.java184 public int captureBurst(List<CaptureRequest> requests, CaptureCallback listener, in captureBurst() argument
186 if (!isConstrainedHighSpeedRequestList(requests)) { in captureBurst()
191 return mSessionImpl.captureBurst(requests, listener, handler); in captureBurst()
202 public int setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback listener, in setRepeatingBurst() argument
204 if (!isConstrainedHighSpeedRequestList(requests)) { in setRepeatingBurst()
209 return mSessionImpl.setRepeatingBurst(requests, listener, handler); in setRepeatingBurst()
DCameraDeviceImpl.java717 public int captureBurst(List<CaptureRequest> requests, CaptureCallback callback, in captureBurst() argument
719 if (requests == null || requests.isEmpty()) { in captureBurst()
722 return submitCaptureRequest(requests, callback, handler, /*streaming*/false); in captureBurst()
875 public int setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback callback, in setRepeatingBurst() argument
877 if (requests == null || requests.isEmpty()) { in setRepeatingBurst()
880 return submitCaptureRequest(requests, callback, handler, /*streaming*/true); in setRepeatingBurst()
/frameworks/base/docs/html/training/volley/
Dsimple.jd85 important semantics provided by the library, particularly related to canceling requests.
122 practice is that you can cancel all of your pending requests in your activity's
129 track all in-flight requests in order to be able to cancel them at the
131 request. You can then use this tag to provide a scope of requests to cancel. For
132 example, you can tag all of your requests with the {@link android.app.Activity} they
135 Similarly, you could tag all thumbnail image requests in a
137 to make sure that the new tab isn't being held up by requests from another one.</p>
142 <li>Define your tag and add it to your requests.
155 <li>In your activity's {@link android.app.Activity#onStop onStop()} method, cancel all requests tha…
166 <p>Take care when canceling requests. If you are depending on your response handler to
Drequest-custom.jd31 Most requests have ready-to-use implementations in the toolbox; if your response is a string,
82 yourself, but most requests are fine with something like this:
94 {@code parseNetworkResponse()}. Most requests invoke a callback interface here,
Dindex.jd42 <li>Automatic scheduling of network requests.</li>
48 scopes of requests to cancel.</li>
Drequest.jd41 information on how to implement your own custom request, see <a href="requests-custom.html">
68 the network via URL. {@code NetworkImageView} also manages canceling pending requests if
236 <p>Volley provides the following classes for JSON requests:</p>
250 following the same basic pattern you use for other types of requests. For example, this
/frameworks/base/core/java/android/hardware/camera2/legacy/
DBurstHolder.java41 public BurstHolder(int requestId, boolean repeating, List<CaptureRequest> requests, in BurstHolder() argument
45 for (CaptureRequest r : requests) { in BurstHolder()
DRequestQueue.java120 public synchronized int submit(List<CaptureRequest> requests, boolean repeating, in submit() argument
123 BurstHolder burst = new BurstHolder(requestId, repeating, requests, mJpegSurfaceIds); in submit()
/frameworks/base/core/java/android/hardware/camera2/
DCameraCaptureSession.java309 public abstract int captureBurst(@NonNull List<CaptureRequest> requests, in captureBurst() argument
448 public abstract int setRepeatingBurst(@NonNull List<CaptureRequest> requests, in setRepeatingBurst() argument
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.h84 virtual status_t captureList(const List<const CameraMetadata> &requests,
88 virtual status_t setStreamingRequestList(const List<const CameraMetadata> &requests,
274 status_t submitRequestsHelper(const List<const CameraMetadata> &requests, bool repeating,
423 status_t setRepeatingRequests(const RequestList& requests,
429 status_t queueRequestList(List<sp<CaptureRequest> > &requests,
DCamera3Device.cpp566 List<const CameraMetadata> requests; in capture() local
567 requests.push_back(request); in capture()
568 return captureList(requests, /*lastFrameNumber*/NULL); in capture()
572 const List<const CameraMetadata> &requests, bool repeating, in submitRequestsHelper() argument
587 res = convertMetadataListToRequestListLocked(requests, /*out*/&requestList); in submitRequestsHelper()
615 status_t Camera3Device::captureList(const List<const CameraMetadata> &requests, in captureList() argument
619 return submitRequestsHelper(requests, /*repeating*/false, lastFrameNumber); in captureList()
626 List<const CameraMetadata> requests; in setStreamingRequest() local
627 requests.push_back(request); in setStreamingRequest()
628 return setStreamingRequestList(requests, /*lastFrameNumber*/NULL); in setStreamingRequest()
[all …]
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h71 virtual status_t captureList(const List<const CameraMetadata> &requests,
86 virtual status_t setStreamingRequestList(const List<const CameraMetadata> &requests,
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp110 status_t CameraDeviceClient::submitRequestList(List<sp<CaptureRequest> > requests, in submitRequestList() argument
113 ALOGV("%s-start of function. Request list size %zu", __FUNCTION__, requests.size()); in submitRequestList()
122 if (requests.empty()) { in submitRequestList()
132 for (List<sp<CaptureRequest> >::iterator it = requests.begin(); it != requests.end(); ++it) { in submitRequestList()
202 __FUNCTION__, mCameraId, requestId, loopCounter, requests.size()); in submitRequestList()
/frameworks/base/docs/html/training/run-background-service/
Dindex.jd46 requests, and report its results to other components.
60 Learn how to send work requests to an {@link android.app.IntentService}.
Dcreate-service.jd49 Work requests run sequentially. If an operation is running in an
123 requests to the service uses an explicit {@link android.content.Intent}, so no filter is needed.
128 Now that you have the basic {@link android.app.IntentService} class, you can send work requests
/frameworks/base/docs/html/training/swipe/
Drespond-refresh-request.jd28 This lesson shows you how to update your app when the user requests a manual
94 If the user requests a refresh by using the action bar, the system calls the
119 * when the user requests a refresh by selecting the refresh action bar item.
/frameworks/base/docs/html/google/play/billing/v2/
Dbilling_integrate.jd61 <code>MarketBillingService</code> so your application can send billing requests and receive
76 <li>Sending in-app billing requests to Google Play.</li>
325 this interface to make billing requests by invoking IPC method calls.</p>
353 application does not declare the in-app billing permission, but attempts to send billing requests,
354 Google Play will refuse the requests and respond with a <code>RESULT_DEVELOPER_ERROR</code>
370 application and <code>BillingService</code> is the {@link android.app.Service} that sends requests
411 <li>Send billing requests (as IPC method calls) to the Google Play application. The five types
412 of billing requests include:
414 <li><code>CHECK_BILLING_SUPPORTED</code> requests</li>
415 <li><code>REQUEST_PURCHASE</code> requests</li>
[all …]
Dapi.jd112 asynchronous message loop to convey billing requests and responses between your
115 application sends billing requests to the Google Play application over
140 which processes purchase messages from the application and sends billing requests to the Google
171 Google Play application responds to all billing requests synchronously, providing your
173 responds to some billing requests asynchronously, providing your application with error messages and
177 <h3 id="billing-request">In-app billing requests</h3>
179 <p>Your application sends in-app billing requests by invoking a single IPC method
198 requests:</p>
237 <p>The Google Play application responds to in-app billing requests with both synchronous and
251 responses with requests.</p>
[all …]
/frameworks/base/docs/html/preview/features/
Druntime-permissions.jd61 requests permissions as it needs them, and the system shows a dialog to the
112 <strong>User Grants Permissions at Run-Time:</strong> When the app requests
130 whether it has that permission already. If it does not, it requests to be
186 app subsequently requests a permission from the same permission group, the
197 send a message, it requests the <code>SEND_SMS</code> permission. The system
200 requested. Later, the app requests <code>RECEIVE_SMS</code>. The
222 <li>If the app requests permissions in the manifest that fall under {@link
383 the app, and the app requests permissions as they are needed.
393 running the M Preview. Instead, your app requests permissions as they are
394 needed. When your app requests a permission, the system shows a dialog to the
[all …]
/frameworks/base/docs/html/google/play/billing/
Dbilling_integrate.jd14 <li><a href="#billing-requests">Making In-app Billing Requests</a>
41 …provides a straightforward, simple interface for sending In-app Billing requests and managing In-a…
43 …handle key tasks related to setting up your connection, sending billing requests and processing re…
55 <li>Send In-app Billing requests from your application to
64 3 service. You will use this interface to make billing requests by invoking IPC
107 …app Billing permission, but attempts to send billing requests, Google Play will refuse the request…
121 <li>Send billing requests (as IPC method calls) to the Google Play application.</li>
147 …e Google Play app can handle billing requests from your app, preventing other apps from intercepti…
173 <h2 id="billing-requests">Making In-app Billing Requests</h2>
174 <p>Once your application is connected to Google Play, you can initiate purchase requests for in-app…
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java746 ArrayList<String> requests = new ArrayList<String>(); in logConnectionPoolBusyLocked() local
753 requests.add(description); in logConnectionPoolBusyLocked()
769 if (!requests.isEmpty()) { in logConnectionPoolBusyLocked()
771 for (String request : requests) { in logConnectionPoolBusyLocked()
/frameworks/base/docs/html/training/app-indexing/
Denabling-app-indexing.jd93 requests as part of its normal operations. However, these requests will
96 requests.</p>
/frameworks/base/docs/html/training/efficient-downloads/
Dredundant_redundant.jd85 <p>With the cache installed, fully cached HTTP requests can be served directly from local storage, …
87 <p>Uncached responses get stored in the response cache for for future requests.</p>
/frameworks/av/services/camera/libcameraservice/device2/
DCamera2Device.h51 virtual status_t captureList(const List<const CameraMetadata> &requests,
55 virtual status_t setStreamingRequestList(const List<const CameraMetadata> &requests,

123456