/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CaptureRequestTest.java | 147 CaptureRequest.Builder requestBuilder = in testSettingsBinderParcel() local 149 requestBuilder.addTarget(surface); in testSettingsBinderParcel() 152 CaptureRequest captureRequestOriginal = requestBuilder.build(); in testSettingsBinderParcel() 168 requestBuilder = mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW, in testSettingsBinderParcel() 170 requestBuilder.addTarget(surface); in testSettingsBinderParcel() 171 captureRequestOriginal = requestBuilder.build(); in testSettingsBinderParcel() 242 CaptureRequest.Builder requestBuilder = in testBlackLevelLock() local 246 requestBuilder.set(CaptureRequest.BLACK_LEVEL_LOCK, true); in testBlackLevelLock() 247 changeExposure(requestBuilder, DEFAULT_EXP_TIME_NS, DEFAULT_SENSITIVITY); in testBlackLevelLock() 253 startPreview(requestBuilder, previewSz, listener); in testBlackLevelLock() [all …]
|
D | LogicalCameraDeviceTest.java | 238 CaptureRequest.Builder requestBuilder = in testBasicLogicalPhysicalStreamCombination() local 240 requestBuilder.addTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 243 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination() 254 requestBuilder.removeTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 255 requestBuilder.addTarget(yuvTargetPhysical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 258 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination() 272 requestBuilder.addTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 274 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination() 350 CaptureRequest.Builder requestBuilder = in testBasicPhysicalRequests() local 353 requestBuilder.addTarget(c.getSurface()); in testBasicPhysicalRequests() [all …]
|
D | CaptureResultTest.java | 118 CaptureRequest.Builder requestBuilder = in testCameraCaptureResultAllKeys() local 120 assertNotNull("Failed to create capture request", requestBuilder); in testCameraCaptureResultAllKeys() 121 requestBuilder.addTarget(mReaderSurface); in testCameraCaptureResultAllKeys() 125 startCapture(requestBuilder.build(), /*repeating*/true, captureListener, mHandler); in testCameraCaptureResultAllKeys() 129 null/*requestedPhysicalIds*/, requestBuilder, NUM_FRAMES_VERIFIED); in testCameraCaptureResultAllKeys() 181 CaptureRequest.Builder requestBuilder = in testPartialResult() local 183 assertNotNull("Failed to create capture request", requestBuilder); in testPartialResult() 184 requestBuilder.addTarget(mReaderSurface); in testPartialResult() 192 requestBuilder.setTag(frame); in testPartialResult() 194 requestBuilder.build(), /*repeating*/false, in testPartialResult() [all …]
|
D | SurfaceViewPreviewTest.java | 680 CaptureRequest.Builder requestBuilder = in previewFpsRangeTestByCamera() local 694 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in previewFpsRangeTestByCamera() 698 requestBuilder.set(CaptureRequest.CONTROL_AE_ANTIBANDING_MODE, in previewFpsRangeTestByCamera() 708 startPreview(requestBuilder, maxPreviewSz, resultListener); in previewFpsRangeTestByCamera() 710 mSession.setRepeatingRequest(requestBuilder.build(), resultListener, mHandler); in previewFpsRangeTestByCamera() 766 CaptureRequest.Builder requestBuilder = in previewTestByCamera() local 771 startPreview(requestBuilder, sz, mockCaptureCallback); in previewTestByCamera() 781 CaptureRequest.Builder requestBuilder = in previewTestPatternTestByCamera() local 790 requestBuilder.set(CaptureRequest.SENSOR_TEST_PATTERN_MODE, mode); in previewTestPatternTestByCamera() 793 requestBuilder.set(CaptureRequest.SENSOR_TEST_PATTERN_DATA, TEST_PATTERN_DATA); in previewTestPatternTestByCamera() [all …]
|
D | RecordingTest.java | 367 CaptureRequest.Builder requestBuilder = in testAbandonedHighSpeedRequest() local 369 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in testAbandonedHighSpeedRequest() 370 requestBuilder.addTarget(mPreviewSurface); in testAbandonedHighSpeedRequest() 371 requestBuilder.addTarget(mRecordingSurface); in testAbandonedHighSpeedRequest() 378 createHighSpeedRequestList(requestBuilder.build()); in testAbandonedHighSpeedRequest() 400 requestBuilder = mCamera.createCaptureRequest(CameraDevice.TEMPLATE_RECORD); in testAbandonedHighSpeedRequest() 401 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in testAbandonedHighSpeedRequest() 402 requestBuilder.addTarget(previewSurface); in testAbandonedHighSpeedRequest() 410 createHighSpeedRequestList(requestBuilder.build()); in testAbandonedHighSpeedRequest() 819 CaptureRequest.Builder requestBuilder = in startConstrainedPreview() local [all …]
|
D | ImageWriterTest.java | 184 CaptureRequest.Builder requestBuilder = prepareCaptureRequestForSurfaces(outputSurfaces, in readerWriterFormatTestByCamera() local 188 startCapture(requestBuilder.build(), /*repeating*/false, captureListener, mHandler); in readerWriterFormatTestByCamera() 190 startCapture(requestBuilder.build(), /*repeating*/false, captureListener, mHandler); in readerWriterFormatTestByCamera()
|
D | ImageReaderTest.java | 880 CaptureRequest.Builder requestBuilder = prepareCaptureRequestForSurfaces( in bufferFormatLongProcessingTimeTestByCamera() local 883 requestBuilder.set( in bufferFormatLongProcessingTimeTestByCamera() 885 requestBuilder.set(CaptureRequest.CONTROL_AE_LOCK, true); in bufferFormatLongProcessingTimeTestByCamera() 886 requestBuilder.set(CaptureRequest.CONTROL_AWB_LOCK, true); in bufferFormatLongProcessingTimeTestByCamera() 887 requestBuilder.set(CaptureRequest.CONTROL_AE_MODE, in bufferFormatLongProcessingTimeTestByCamera() 889 requestBuilder.set(CaptureRequest.CONTROL_AWB_MODE, in bufferFormatLongProcessingTimeTestByCamera() 891 requestBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, TEST_SENSITIVITY_VALUE); in bufferFormatLongProcessingTimeTestByCamera() 892 requestBuilder.set(CaptureRequest.SENSOR_EXPOSURE_TIME, TEST_EXPOSURE_TIME_NS); in bufferFormatLongProcessingTimeTestByCamera() 895 startCapture(requestBuilder.build(), /*repeating*/true, listener, mHandler); in bufferFormatLongProcessingTimeTestByCamera()
|
D | CameraDeviceTest.java | 992 CaptureRequest.Builder requestBuilder = null; in testSessionParametersStateLeakByCamera() local 1018 requestBuilder = newBuilder; in testSessionParametersStateLeakByCamera() 1023 if (requestBuilder != null) { in testSessionParametersStateLeakByCamera() 1028 if (requestBuilder != null) { in testSessionParametersStateLeakByCamera() 1029 requestBuilder.addTarget(imageReader.getSurface()); in testSessionParametersStateLeakByCamera() 1030 request = requestBuilder.build(); in testSessionParametersStateLeakByCamera() 1455 CaptureRequest.Builder requestBuilder = in invalidRequestCaptureTestByCamera() local 1457 CaptureRequest unConfiguredRequest = requestBuilder.build(); in invalidRequestCaptureTestByCamera() 1663 CaptureRequest.Builder requestBuilder = mCamera.createCaptureRequest(template); in captureSingleShot() local 1664 assertNotNull("Failed to create capture request", requestBuilder); in captureSingleShot() [all …]
|
D | RobustnessTest.java | 1765 CaptureRequest.Builder requestBuilder = in testSingleCameraOutputCombination() local 1769 requestBuilder.addTarget(c.getSurface()); in testSingleCameraOutputCombination() 1777 CaptureRequest request = requestBuilder.build(); in testSingleCameraOutputCombination() 1875 CaptureRequest.Builder requestBuilder = in testMultiCameraOutputCombination() local 1879 requestBuilder.addTarget(c.getSurface()); in testMultiCameraOutputCombination() 1887 CaptureRequest request = requestBuilder.build(); in testMultiCameraOutputCombination()
|
D | StillCaptureTest.java | 872 CaptureRequest.Builder requestBuilder = in touchForFocusTestByCamera() local 875 startPreview(requestBuilder, maxPreviewSz, listener); in touchForFocusTestByCamera()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | Camera2Focuser.java | 215 CaptureRequest.Builder requestBuilder = createRequestBuilder(); in cancelAutoFocus() local 217 mAutoFocus.unlockAutoFocus(mRepeatingBuilder, requestBuilder); in cancelAutoFocus() 220 mSession.capture(requestBuilder.build(), listener, mHandler); in cancelAutoFocus() 244 CaptureRequest.Builder requestBuilder = createRequestBuilder(); in startAutoFocusLocked() local 254 mAutoFocus.lockAutoFocus(mRepeatingBuilder, requestBuilder); in startAutoFocusLocked() 257 mSession.capture(requestBuilder.build(), listener, mHandler); in startAutoFocusLocked() 267 CaptureRequest.Builder requestBuilder = createRequestBuilder(); in startAutoFocusFullActiveLocked() local 268 mAutoFocus.setActiveAutoFocus(mRepeatingBuilder, requestBuilder); in startAutoFocusFullActiveLocked() 273 if (requestBuilder.get(CaptureRequest.CONTROL_AF_TRIGGER) in startAutoFocusFullActiveLocked() 281 mSession.capture(requestBuilder.build(), listener, mHandler); in startAutoFocusFullActiveLocked() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 224 CaptureRequest.Builder requestBuilder = in createRequestForPreview() local 226 requestBuilder.addTarget(mPreviewSurface); in createRequestForPreview() 227 return requestBuilder; in createRequestForPreview()
|