/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | BurstHolder.java | 42 * @param requests a {@link List} of {@link CaptureRequest}s in this burst. 45 public BurstHolder(int requestId, boolean repeating, List<CaptureRequest> requests, argument 49 for (CaptureRequest r : requests) { 73 * Return the number of requests in this burst sequence. 80 * Create a list of {@link RequestHolder} objects encapsulating the requests in this burst.
|
H A D | RequestQueue.java | 27 * 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 D | RequestThreadManager.java | 52 * This class executes requests to the {@link Camera}. 56 * - A message queue of requests to the {@link Camera}. 57 * - A thread that consumes requests to the {@link Camera} and executes them. 670 Log.e(TAG, "Interrupted while waiting for requests to complete."); 690 // If there are no further requests queued, wait for any currently executing 691 // requests to complete, then switch to idle state. 697 "Timed out while waiting for prior requests to complete."); 701 Log.e(TAG, "Interrupted while waiting for requests to complete: ", e); 711 // If we still have no queued requests, go idle. 725 List<RequestHolder> requests 1001 submitCaptureRequests(List<CaptureRequest> requests, boolean repeating, LongParcelable frameNumber) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | CameraCaptureSession.java | 40 * <p>Any capture requests (repeating or non-repeating) submitted before the session is ready will 43 * capture requests are discarded.</p> 50 * <p>A closed session clears any repeating requests (as if {@link #stopRepeating} had been called), 51 * but will still complete all of its in-progress capture requests as normal, before a newly 73 * <p>Multiple requests can be in progress at once. They are processed in 110 * Submit a list of requests to be captured in sequence as a burst. The 112 * not be interleaved with requests submitted by other capture or repeat 115 * <p>The requests will be captured in order, each capture producing one {@link CaptureResult} 122 * other requests will be interspersed with the burst.</p> 124 * @param requests th 150 captureBurst(List<CaptureRequest> requests, CaptureCallback listener, Handler handler) argument 266 setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback listener, Handler handler) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraCaptureSessionImpl.java | 88 * (e.g. no pending captures, no repeating requests, no flush).</p> 166 public synchronized int captureBurst(List<CaptureRequest> requests, CaptureCallback callback, argument 168 if (requests == null) { 169 throw new IllegalArgumentException("requests must not be null"); 170 } else if (requests.isEmpty()) { 171 throw new IllegalArgumentException("requests must have at least one element"); 179 CaptureRequest[] requestArray = requests.toArray(new CaptureRequest[0]); 180 Log.v(TAG, mIdString + "captureBurst - requests " + Arrays.toString(requestArray) + 184 return addPendingSequence(mDeviceImpl.captureBurst(requests, 209 public synchronized int setRepeatingBurst(List<CaptureRequest> requests, argument [all...] |
H A D | CameraDeviceImpl.java | 506 public int captureBurst(List<CaptureRequest> requests, CaptureCallback callback, argument 508 if (requests == null || requests.isEmpty()) { 511 return submitCaptureRequest(requests, callback, handler, /*streaming*/false); 593 // Make sure that there all requests have at least 1 surface; all surfaces are non-null 666 public int setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback callback, argument 668 if (requests == null || requests.isEmpty()) { 671 return submitCaptureRequest(requests, callback, handler, /*streaming*/true); 683 // Queue for deletion after in-flight requests finis [all...] |
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | CameraDeviceBase.h | 66 * Submit a list of requests. 67 * Output lastFrameNumber is the expected last frame number of the list of requests. 69 virtual status_t captureList(const List<const CameraMetadata> &requests, 81 * Submit a list of requests for streaming. 84 virtual status_t setStreamingRequestList(const List<const CameraMetadata> &requests, 132 * Delete stream. Must not be called if there are requests in flight which 138 * Delete reprocess stream. Must not be called if there are requests in 163 * Wait until all requests have been processed. Returns INVALID_OPERATION if 164 * the streaming slot is not empty, or TIMED_OUT if the requests haven't 266 * Flush all pending and in-flight requests [all...] |
/frameworks/volley/tests/src/com/android/volley/ |
H A D | RequestQueueTest.java | 50 * Make a list of requests with random priorities. 51 * @param count Number of requests to make 57 List<MockRequest> requests = new ArrayList<MockRequest>(); 63 requests.add(request); 65 return requests; 89 // Enqueue 2 requests with the same cache key. The first request takes 1.5s. Assert that the
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Device.h | 84 virtual status_t captureList(const List<const CameraMetadata> &requests, 88 virtual status_t setStreamingRequestList(const List<const CameraMetadata> &requests, 237 status_t submitRequestsHelper(const List<const CameraMetadata> &requests, bool repeating, 374 * Set or clear the list of repeating requests. Does not block 378 status_t setRepeatingRequests(const RequestList& requests, 384 status_t queueRequestList(List<sp<CaptureRequest> > &requests, 389 * Remove all queued and repeating requests, and pending triggers 399 * Subsequent requests will not be rewritten (for this tag). 519 * In-flight queue for tracking completion of capture requests.
|
H A D | Camera3Device.cpp | 421 lines = String8(" In-flight requests:\n"); 525 List<const CameraMetadata> requests; local 526 requests.push_back(request); 527 return captureList(requests, /*lastFrameNumber*/NULL); 531 const List<const CameraMetadata> &requests, bool repeating, 546 res = convertMetadataListToRequestListLocked(requests, /*out*/&requestList); 574 status_t Camera3Device::captureList(const List<const CameraMetadata> &requests, argument 578 return submitRequestsHelper(requests, /*repeating*/false, lastFrameNumber); 585 List<const CameraMetadata> requests; local 586 requests 530 submitRequestsHelper( const List<const CameraMetadata> &requests, bool repeating, int64_t *lastFrameNumber) argument 590 setStreamingRequestList(const List<const CameraMetadata> &requests, int64_t *lastFrameNumber) argument 2397 queueRequestList( List<sp<CaptureRequest> > &requests, int64_t *lastFrameNumber) argument 2475 setRepeatingRequests( const RequestList &requests, int64_t *lastFrameNumber) argument 2834 const RequestList &requests = mRepeatingRequests; local [all...] |
/frameworks/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.cpp | 103 status_t CameraDeviceClient::submitRequestList(List<sp<CaptureRequest> > requests, argument 106 ALOGV("%s-start of function. Request list size %zu", __FUNCTION__, requests.size()); 115 if (requests.empty()) { 125 for (List<sp<CaptureRequest> >::iterator it = requests.begin(); it != requests.end(); ++it) { 182 __FUNCTION__, mCameraId, requestId, loopCounter, requests.size()); 235 "requests", __FUNCTION__, mCameraId, requestId); 556 ALOGE("%s: Camera %d: Try to waitUntilIdle when there are active streaming requests", 601 // TODO: print dynamic/request section from most recent requests
|
H A D | CameraDeviceClient.h | 70 // List of requests are copied. 71 virtual status_t submitRequestList(List<sp<CaptureRequest> > requests, 101 // Wait until all the submitted requests have finished processing 104 // Flush all active and pending requests as fast as possible
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteConnectionPool.java | 196 * 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 D | Camera2Device.h | 51 virtual status_t captureList(const List<const CameraMetadata> &requests, 55 virtual status_t setStreamingRequestList(const List<const CameraMetadata> &requests, 94 * Queue class for both sending requests to a camera2 device, and for 103 // Interface to camera2 HAL device, either for requests (device is
|
H A D | Camera2Device.cpp | 140 ALOGW("%s: Closing camera device %d with %d requests in flight!", 212 status_t Camera2Device::captureList(const List<const CameraMetadata> &requests, argument 227 status_t Camera2Device::setStreamingRequestList(const List<const CameraMetadata> &requests, argument 458 ALOGE("%s: Waited %d us, %d requests still in flight", __FUNCTION__, 653 // Connect to camera2 HAL as consumer (input requests/reprocessing)
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | CaptureSequencer.cpp | 659 Vector<CameraMetadata> requests; local 660 requests.push(mCaptureRequest); 661 res = mBurstCapture->start(requests, mCaptureId);
|