Searched refs:requests (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DBurstHolder.java38 * @param requests a {@link List} of {@link CaptureRequest}s in this burst.
41 public BurstHolder(int requestId, boolean repeating, List<CaptureRequest> requests, argument
45 for (CaptureRequest r : requests) {
69 * Return the number of requests in this burst sequence.
76 * Create a list of {@link RequestHolder} objects encapsulating the requests in this burst.
H A DRequestQueue.java27 * A queue of bursts of requests.
112 * @param requests the burst of requests to add to the queue.
120 public synchronized int submit(List<CaptureRequest> requests, boolean repeating, argument
123 BurstHolder burst = new BurstHolder(requestId, repeating, requests, mJpegSurfaceIds);
H A DRequestThreadManager.java49 * This class executes requests to the {@link Camera}.
53 * - A message queue of requests to the {@link Camera}.
54 * - A thread that consumes requests to the {@link Camera} and executes them.
686 Log.e(TAG, "Interrupted while waiting for requests to complete.");
706 // If there are no further requests queued, wait for any currently executing
707 // requests to complete, then switch to idle state.
713 "Timed out while waiting for prior requests to complete.");
717 Log.e(TAG, "Interrupted while waiting for requests to complete: ", e);
727 // If we still have no queued requests, go idle.
741 List<RequestHolder> requests
1017 submitCaptureRequests(List<CaptureRequest> requests, boolean repeating, LongParcelable frameNumber) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraCaptureSessionImpl.java87 * (e.g. no pending captures, no repeating requests, no flush).</p>
165 "requests");
184 public synchronized int captureBurst(List<CaptureRequest> requests, CaptureCallback callback, argument
186 if (requests == null) {
188 } else if (requests.isEmpty()) {
192 for (CaptureRequest request : requests) {
196 "reprocess requests");
209 CaptureRequest[] requestArray = requests.toArray(new CaptureRequest[0]);
210 Log.v(TAG, mIdString + "captureBurst - requests " + Arrays.toString(requestArray) +
214 return addPendingSequence(mDeviceImpl.captureBurst(requests,
241 setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback callback, Handler handler) argument
[all...]
H A DCameraConstrainedHighSpeedCaptureSessionImpl.java58 * (e.g. no pending captures, no repeating requests, no flush).</p>
189 public int captureBurst(List<CaptureRequest> requests, CaptureCallback listener, argument
191 if (!isConstrainedHighSpeedRequestList(requests)) {
196 return mSessionImpl.captureBurst(requests, listener, handler);
207 public int setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback listener, argument
209 if (!isConstrainedHighSpeedRequestList(requests)) {
214 return mSessionImpl.setRepeatingBurst(requests, listener, handler);
H A DCameraDeviceImpl.java744 public int captureBurst(List<CaptureRequest> requests, CaptureCallback callback, argument
746 if (requests == null || requests.isEmpty()) {
749 return submitCaptureRequest(requests, callback, handler, /*streaming*/false);
829 // Make sure that there all requests have at least 1 surface; all surfaces are non-null
902 public int setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback callback, argument
904 if (requests == null || requests.isEmpty()) {
907 return submitCaptureRequest(requests, callback, handler, /*streaming*/true);
919 // Queue for deletion after in-flight requests finis
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraCaptureSession.java53 * <p>Any capture requests (repeating or non-repeating) submitted before the session is ready will
56 * capture requests are discarded.</p>
63 * <p>A closed session clears any repeating requests (as if {@link #stopRepeating} had been called),
64 * but will still complete all of its in-progress capture requests as normal, before a newly
88 * any requests targeting the Surface are actually submitted to the device. Large buffers
89 * may take some time to allocate, which can result in delays in submitting requests until
234 * <p>Multiple regular and reprocess requests can be in progress at once. If there are only
235 * regular requests or reprocess requests in progress, they are processed in first-in,
236 * first-out order. If there are both regular and reprocess requests i
351 captureBurst(@onNull List<CaptureRequest> requests, @Nullable CaptureCallback listener, @Nullable Handler handler) argument
490 setRepeatingBurst(@onNull List<CaptureRequest> requests, @Nullable CaptureCallback listener, @Nullable Handler handler) argument
[all...]
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraDeviceBase.h68 * Submit a list of requests.
69 * Output lastFrameNumber is the expected last frame number of the list of requests.
71 virtual status_t captureList(const List<const CameraMetadata> &requests,
83 * Submit a list of requests for streaming.
86 virtual status_t setStreamingRequestList(const List<const CameraMetadata> &requests,
140 * Delete stream. Must not be called if there are requests in flight which
146 * Delete reprocess stream. Must not be called if there are requests in
175 * Wait until all requests have been processed. Returns INVALID_OPERATION if
176 * the streaming slot is not empty, or TIMED_OUT if the requests haven't
279 * Flush all pending and in-flight requests
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.h85 virtual status_t captureList(const List<const CameraMetadata> &requests,
89 virtual status_t setStreamingRequestList(const List<const CameraMetadata> &requests,
269 // The number of requests that should be submitted to HAL at a time.
271 // requests will be submitted to HAL at a time. The batch size for
272 // the following 7 requests will be ignored by the request thread.
284 status_t submitRequestsHelper(const List<const CameraMetadata> &requests, bool repeating,
429 * Set or clear the list of repeating requests. Does not block
433 status_t setRepeatingRequests(const RequestList& requests,
439 status_t queueRequestList(List<sp<CaptureRequest> > &requests,
444 * Remove all queued and repeating requests, an
[all...]
H A DCamera3Device.cpp472 lines = String8(" In-flight requests:\n");
588 List<const CameraMetadata> requests; local
589 requests.push_back(request);
590 return captureList(requests, /*lastFrameNumber*/NULL);
594 const List<const CameraMetadata> &requests, bool repeating,
609 res = convertMetadataListToRequestListLocked(requests, /*out*/&requestList);
637 status_t Camera3Device::captureList(const List<const CameraMetadata> &requests, argument
641 return submitRequestsHelper(requests, /*repeating*/false, lastFrameNumber);
648 List<const CameraMetadata> requests; local
649 requests
593 submitRequestsHelper( const List<const CameraMetadata> &requests, bool repeating, int64_t *lastFrameNumber) argument
653 setStreamingRequestList(const List<const CameraMetadata> &requests, int64_t *lastFrameNumber) argument
2647 queueRequestList( List<sp<CaptureRequest> > &requests, int64_t *lastFrameNumber) argument
2725 setRepeatingRequests( const RequestList &requests, int64_t *lastFrameNumber) argument
3287 const RequestList &requests = mRepeatingRequests; local
[all...]
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.h70 // List of requests are copied.
71 virtual status_t submitRequestList(List<sp<CaptureRequest> > requests,
104 // Wait until all the submitted requests have finished processing
107 // Flush all active and pending requests as fast as possible
H A DCameraDeviceClient.cpp110 status_t CameraDeviceClient::submitRequestList(List<sp<CaptureRequest> > requests, argument
113 ALOGV("%s-start of function. Request list size %zu", __FUNCTION__, requests.size());
122 if (requests.empty()) {
132 for (List<sp<CaptureRequest> >::iterator it = requests.begin(); it != requests.end(); ++it) {
143 ALOGE("%s: Camera %d: streaming reprocess requests not supported.", __FUNCTION__,
202 __FUNCTION__, mCameraId, requestId, loopCounter, requests.size());
255 "requests", __FUNCTION__, mCameraId, requestId);
666 ALOGE("%s: Camera %d: Try to waitUntilIdle when there are active streaming requests",
816 // TODO: print dynamic/request section from most recent requests
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnectionPool.java196 * When the connection pool is closed, it will refuse all further requests
746 ArrayList<String> requests = new ArrayList<String>();
753 requests.add(description);
769 if (!requests.isEmpty()) {
771 for (String request : requests) {
781 // Unpark all waiters that have requests that we can fulfill.
814 // We cannot fulfill any more connection requests, so stop here.
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.h51 virtual status_t captureList(const List<const CameraMetadata> &requests,
55 virtual status_t setStreamingRequestList(const List<const CameraMetadata> &requests,
105 * Queue class for both sending requests to a camera2 device, and for
114 // Interface to camera2 HAL device, either for requests (device is
H A DCamera2Device.cpp139 ALOGW("%s: Closing camera device %d with %d requests in flight!",
211 status_t Camera2Device::captureList(const List<const CameraMetadata> &requests, argument
226 status_t Camera2Device::setStreamingRequestList(const List<const CameraMetadata> &requests, argument
460 ALOGE("%s: Waited %d us, %d requests still in flight", __FUNCTION__,
673 // Connect to camera2 HAL as consumer (input requests/reprocessing)
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCaptureSequencer.cpp705 Vector<CameraMetadata> requests; local
706 requests.push(mCaptureRequest);
707 res = mBurstCapture->start(requests, mCaptureId);
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A DCameraOps.java229 * @param readyListener listener for notifying when camera is ready for requests
360 throw new IllegalStateException("Can't get requests when no camera is open");
386 public void setRepeatingBurst(final List<CaptureRequest> requests, argument
392 mCameraSession.setRepeatingBurst(requests, listener, handler);
539 // Ready to send requests in, so set them up
597 * Simple listener for main code to know the camera is ready for requests, or failed to
/frameworks/base/core/java/android/app/
H A DVoiceInteractor.java47 * <p>The voice interactor revolves around submitting voice interaction requests to the
48 * back-end voice interaction service that is working with the user. These requests are
51 * possible requests are {@link ConfirmationRequest} and {@link CommandRequest}.
59 * VoiceInteractor and any outstanding requests. Because of this, you should always use
208 * Base class for voice interaction requests that can be submitted to the interactor.
997 * Return all currently active requests.
1005 Request[] requests = new Request[N];
1007 requests[i] = mActiveRequests.valueAt(i);
1009 return requests;
1055 writer.print(prefix); writer.println("Active voice requests
[all...]

Completed in 275 milliseconds