/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/ |
D | Camera2UtilsTest.java | 29 import android.hardware.camera2.CaptureRequest; 30 import android.hardware.camera2.CaptureRequest.Key; 107 requestSettingsSetAndForget(setUp, CaptureRequest.CONTROL_AE_LOCK, false); in requestSettingsSet() 108 requestSettingsSetAndForget(setUp, CaptureRequest.CONTROL_AE_LOCK, true); in requestSettingsSet() 110 requestSettingsSetAndForget(setUp, CaptureRequest.CONTROL_AE_MODE, 1); in requestSettingsSet() 111 requestSettingsSetAndForget(setUp, CaptureRequest.CONTROL_AE_MODE, -1); in requestSettingsSet() 112 requestSettingsSetAndForget(setUp, CaptureRequest.CONTROL_AE_MODE, 0); in requestSettingsSet() 114 requestSettingsSetAndForget(setUp, CaptureRequest.SENSOR_TEST_PATTERN_DATA, new int[] {1}); in requestSettingsSet() 115 requestSettingsSetAndForget(setUp, CaptureRequest.SENSOR_TEST_PATTERN_DATA, in requestSettingsSet() 122 requestSettingsSetAndForget(setUp, CaptureRequest.SENSOR_TEST_PATTERN_DATA, new int[] {1}); in requestSettingsSetNullValue() [all …]
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/ |
D | AutoFocusStateMachine.java | 20 import android.hardware.camera2.CaptureRequest; 217 public synchronized void lockAutoFocus(CaptureRequest.Builder repeatingBuilder, in lockAutoFocus() 218 CaptureRequest.Builder requestBuilder) { in lockAutoFocus() 228 mCurrentAfTrigger = CaptureRequest.CONTROL_AF_TRIGGER_START; in lockAutoFocus() 230 repeatingBuilder.set(CaptureRequest.CONTROL_AF_MODE, mCurrentAfMode); in lockAutoFocus() 231 requestBuilder.set(CaptureRequest.CONTROL_AF_MODE, mCurrentAfMode); in lockAutoFocus() 233 repeatingBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, in lockAutoFocus() 234 CaptureRequest.CONTROL_AF_TRIGGER_IDLE); in lockAutoFocus() 235 requestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, in lockAutoFocus() 236 CaptureRequest.CONTROL_AF_TRIGGER_START); in lockAutoFocus() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraCaptureSession.java | 106 public abstract int capture(CaptureRequest request, CaptureCallback listener, Handler handler) in capture() 150 public abstract int captureBurst(List<CaptureRequest> requests, CaptureCallback listener, in captureBurst() 206 public abstract int setRepeatingRequest(CaptureRequest request, CaptureCallback listener, in setRepeatingRequest() 266 public abstract int setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback listener, in setRepeatingBurst() 504 CaptureRequest request, long timestamp, long frameNumber) { in onCaptureStarted() 514 CaptureRequest request, long timestamp) { in onCaptureStarted() 544 CaptureRequest request, CaptureResult result) { in onCapturePartial() 585 CaptureRequest request, CaptureResult partialResult) { in onCaptureProgressed() 614 CaptureRequest request, TotalCaptureResult result) { in onCaptureCompleted() 643 CaptureRequest request, CaptureFailure failure) { in onCaptureFailed()
|
D | CaptureRequest.java | 65 public final class CaptureRequest extends CameraMetadata<CaptureRequest.Key<?>> class 168 private CaptureRequest() { in CaptureRequest() method in CaptureRequest 179 private CaptureRequest(CaptureRequest source) { in CaptureRequest() method in CaptureRequest 190 private CaptureRequest(CameraMetadataNative settings) { in CaptureRequest() method in CaptureRequest 271 return other instanceof CaptureRequest in equals() 272 && equals((CaptureRequest)other); in equals() 275 private boolean equals(CaptureRequest other) { in equals() 287 public static final Parcelable.Creator<CaptureRequest> CREATOR = 288 new Parcelable.Creator<CaptureRequest>() { 290 public CaptureRequest createFromParcel(Parcel in) { [all …]
|
D | CaptureFailure.java | 46 private final CaptureRequest mRequest; 55 public CaptureFailure(CaptureRequest request, int reason, boolean dropped, int sequenceId, in CaptureFailure() 84 public CaptureRequest getRequest() { in getRequest()
|
D | ICameraDeviceUser.aidl | 21 import android.hardware.camera2.CaptureRequest; 37 int submitRequest(in CaptureRequest request, boolean streaming, in submitRequest() 40 int submitRequestList(in List<CaptureRequest> requestList, boolean streaming, in submitRequestList()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyMetadataMapper.java | 28 import android.hardware.camera2.CaptureRequest; 756 CaptureRequest.Key<?> defaultAvailableKeys[] = new CaptureRequest.Key<?>[] { in mapRequest() 757 CaptureRequest.COLOR_CORRECTION_ABERRATION_MODE, in mapRequest() 758 CaptureRequest.CONTROL_AE_ANTIBANDING_MODE, in mapRequest() 759 CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION, in mapRequest() 760 CaptureRequest.CONTROL_AE_LOCK, in mapRequest() 761 CaptureRequest.CONTROL_AE_MODE, in mapRequest() 762 CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, in mapRequest() 763 CaptureRequest.CONTROL_AF_MODE, in mapRequest() 764 CaptureRequest.CONTROL_AF_TRIGGER, in mapRequest() [all …]
|
D | RequestHolder.java | 19 import android.hardware.camera2.CaptureRequest; 37 private final CaptureRequest mRequest; 55 private final CaptureRequest mRequest; 70 public Builder(int requestId, int subsequenceId, CaptureRequest request, in Builder() 114 private int numJpegTargets(CaptureRequest request) { in numJpegTargets() 131 private int numPreviewTargets(CaptureRequest request) { in numPreviewTargets() 158 private RequestHolder(int requestId, int subsequenceId, CaptureRequest request, in RequestHolder() 201 public CaptureRequest getRequest() { in getRequest()
|
D | LegacyRequest.java | 21 import android.hardware.camera2.CaptureRequest; 33 public final CaptureRequest captureRequest; 47 public LegacyRequest(CameraCharacteristics characteristics, CaptureRequest captureRequest, in LegacyRequest()
|
D | LegacyResultMapper.java | 23 import android.hardware.camera2.CaptureRequest; 111 CaptureRequest request = legacyRequest.captureRequest; in convertResultMetadata() 120 request.get(CaptureRequest.SCALER_CROP_REGION), previewSize, params); in convertResultMetadata() 155 CaptureRequest.CONTROL_CAPTURE_INTENT, in convertResultMetadata() 156 /*defaultValue*/CaptureRequest.CONTROL_CAPTURE_INTENT_PREVIEW); in convertResultMetadata() 167 int controlMode = ParamsUtils.getOrDefault(request, CaptureRequest.CONTROL_MODE, in convertResultMetadata() 262 result.set(JPEG_GPS_LOCATION, request.get(CaptureRequest.JPEG_GPS_LOCATION)); in convertResultMetadata() 265 result.set(JPEG_ORIENTATION, request.get(CaptureRequest.JPEG_ORIENTATION)); in convertResultMetadata() 292 CaptureRequest request, Rect activeArray, ZoomData zoomData, /*out*/Parameters p) { in mapAe() 315 Boolean requestLock = request.get(CaptureRequest.CONTROL_AE_LOCK); in mapAe()
|
D | BurstHolder.java | 19 import android.hardware.camera2.CaptureRequest; 45 public BurstHolder(int requestId, boolean repeating, List<CaptureRequest> requests, in BurstHolder() 49 for (CaptureRequest r : requests) { in BurstHolder()
|
D | LegacyFaceDetectMapper.java | 25 import android.hardware.camera2.CaptureRequest; 39 import static android.hardware.camera2.CaptureRequest.*; 122 public void processFaceDetectMode(CaptureRequest captureRequest, in processFaceDetectMode() 232 CaptureRequest request = legacyRequest.captureRequest; in mapResultFaces() 238 request.get(CaptureRequest.SCALER_CROP_REGION), previewSize, params); in mapResultFaces()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraDeviceBinderTest.java | 23 import android.hardware.camera2.CaptureRequest; 152 private CaptureRequest.Builder createDefaultBuilder(boolean needStream) throws Exception { in createDefaultBuilder() 160 CaptureRequest.Builder request = new CaptureRequest.Builder(metadata); in createDefaultBuilder() 172 private int submitCameraRequest(CaptureRequest request, boolean streaming) throws Exception { in submitCameraRequest() 284 CaptureRequest.Builder builder = createDefaultBuilder(/* needStream */false); in testSubmitBadRequest() 285 CaptureRequest request1 = builder.build(); in testSubmitBadRequest() 291 CaptureRequest request2 = builder.build(); in testSubmitBadRequest() 301 CaptureRequest.Builder builder = createDefaultBuilder(/* needStream */true); in testSubmitGoodRequest() 302 CaptureRequest request = builder.build(); in testSubmitGoodRequest() 314 CaptureRequest.Builder builder = createDefaultBuilder(/* needStream */true); in testSubmitStreamingRequest() [all …]
|
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/ |
D | Camera2CaptureCallbackForwarder.java | 22 import android.hardware.camera2.CaptureRequest; 41 public void onCaptureCompleted(final CameraCaptureSession session, final CaptureRequest request, in onCaptureCompleted() 51 public void onCaptureFailed(final CameraCaptureSession session, final CaptureRequest request, in onCaptureFailed() 62 final CaptureRequest request, in onCaptureProgressed() 91 public void onCaptureStarted(final CameraCaptureSession session, final CaptureRequest request, in onCaptureStarted()
|
D | Camera2CaptureCallbackSplitter.java | 22 import android.hardware.camera2.CaptureRequest; 50 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in onCaptureCompleted() 58 public void onCaptureFailed(CameraCaptureSession session, CaptureRequest request, in onCaptureFailed() 66 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, in onCaptureProgressed() 89 public void onCaptureStarted(CameraCaptureSession session, CaptureRequest request, in onCaptureStarted()
|
D | Camera2RequestSettingsSet.java | 21 import android.hardware.camera2.CaptureRequest; 22 import android.hardware.camera2.CaptureRequest.Builder; 23 import android.hardware.camera2.CaptureRequest.Key; 228 public CaptureRequest createRequest(CameraDevice camera, int template, Surface... targets) in createRequest()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3Device.h | 220 class CaptureRequest : public LightRefBase<CaptureRequest> { 228 typedef List<sp<CaptureRequest> > RequestList; 285 sp<CaptureRequest> setUpRequestLocked(const CameraMetadata &request); 291 sp<CaptureRequest> createCaptureRequest(const CameraMetadata &request); 384 status_t queueRequestList(List<sp<CaptureRequest> > &requests, 439 int32_t insertTriggers(const sp<CaptureRequest> &request); 442 status_t removeTriggers(const sp<CaptureRequest> &request); 446 status_t addDummyTriggerIds(const sp<CaptureRequest> &request); 451 sp<CaptureRequest> waitForNextRequest(); 458 sp<CaptureRequest> &nextRequest, [all …]
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraDeviceImpl.java | 25 import android.hardware.camera2.CaptureRequest; 473 public CaptureRequest.Builder createCaptureRequest(int templateType) in createCaptureRequest() 489 CaptureRequest.Builder builder = in createCaptureRequest() 490 new CaptureRequest.Builder(templatedRequest); in createCaptureRequest() 496 public int capture(CaptureRequest request, CaptureCallback callback, Handler handler) in capture() 501 List<CaptureRequest> requestList = new ArrayList<CaptureRequest>(); in capture() 506 public int captureBurst(List<CaptureRequest> requests, CaptureCallback callback, in captureBurst() 586 private int submitCaptureRequest(List<CaptureRequest> requestList, CaptureCallback callback, in submitCaptureRequest() 594 for (CaptureRequest request : requestList) { in submitCaptureRequest() 659 public int setRepeatingRequest(CaptureRequest request, CaptureCallback callback, in setRepeatingRequest() [all …]
|
D | CallbackProxies.java | 21 import android.hardware.camera2.CaptureRequest; 101 CaptureRequest request, long timestamp, long frameNumber) { in onCaptureStarted() 107 CaptureRequest request, CaptureResult result) { in onCapturePartial() 113 CaptureRequest request, CaptureResult partialResult) { in onCaptureProgressed() 119 CaptureRequest request, TotalCaptureResult result) { in onCaptureCompleted() 125 CaptureRequest request, CaptureFailure failure) { in onCaptureFailed()
|
D | CameraCaptureSessionImpl.java | 21 import android.hardware.camera2.CaptureRequest; 146 public synchronized int capture(CaptureRequest request, CaptureCallback callback, in capture() 166 public synchronized int captureBurst(List<CaptureRequest> requests, CaptureCallback callback, in captureBurst() 179 CaptureRequest[] requestArray = requests.toArray(new CaptureRequest[0]); in captureBurst() 189 public synchronized int setRepeatingRequest(CaptureRequest request, CaptureCallback callback, in setRepeatingRequest() 209 public synchronized int setRepeatingBurst(List<CaptureRequest> requests, in setRepeatingBurst() 222 CaptureRequest[] requestArray = requests.toArray(new CaptureRequest[0]); in setRepeatingBurst()
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
D | BlockingCaptureCallback.java | 20 import android.hardware.camera2.CaptureRequest; 125 public void onCaptureStarted(CameraCaptureSession session, CaptureRequest request, in onCaptureStarted() 132 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, in onCaptureProgressed() 139 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in onCaptureCompleted() 146 public void onCaptureFailed(CameraCaptureSession session, CaptureRequest request, in onCaptureFailed()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCamera2AgentImpl.java | 32 import android.hardware.camera2.CaptureRequest; 408 CaptureRequest request, in handleMessage() 415 CaptureRequest request, in handleMessage() 435 CaptureRequest request, in handleMessage() 445 trigger.set(CaptureRequest.CONTROL_AF_TRIGGER, in handleMessage() 446 CaptureRequest.CONTROL_AF_TRIGGER_START); in handleMessage() 474 cancel.set(CaptureRequest.CONTROL_AF_TRIGGER, in handleMessage() 475 CaptureRequest.CONTROL_AF_TRIGGER_CANCEL); in handleMessage() 528 mPersistentSettings.set(CaptureRequest.JPEG_ORIENTATION, msg.arg2 > 0 ? in handleMessage() 534 mPersistentSettings.set(CaptureRequest.JPEG_ORIENTATION, msg.arg1); in handleMessage() [all …]
|
/frameworks/av/include/camera/camera2/ |
D | ICameraDeviceUser.h | 31 class CaptureRequest; variable 58 virtual int submitRequest(sp<CaptureRequest> request, 69 virtual int submitRequestList(List<sp<CaptureRequest> > requestList,
|
/frameworks/av/camera/camera2/ |
D | ICameraDeviceUser.cpp | 81 virtual status_t submitRequest(sp<CaptureRequest> request, bool repeating, in submitRequest() 116 virtual status_t submitRequestList(List<sp<CaptureRequest> > requestList, bool repeating, in submitRequestList() 124 for (List<sp<CaptureRequest> >::iterator it = requestList.begin(); in submitRequestList() 126 sp<CaptureRequest> request = *it; in submitRequestList() 333 sp<CaptureRequest> request; in onTransact() 335 request = new CaptureRequest(); in onTransact() 354 List<sp<CaptureRequest> > requestList; in onTransact() 358 sp<CaptureRequest> request = new CaptureRequest(); in onTransact() 364 sp<CaptureRequest> request = 0; in onTransact()
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | ParamsUtils.java | 22 import android.hardware.camera2.CaptureRequest; 184 public static <T> T getOrDefault(CaptureRequest r, CaptureRequest.Key<T> key, T defaultValue) { in getOrDefault()
|