Home
last modified time | relevance | path

Searched refs:requestBuilder (Results 1 – 13 of 13) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java150 CaptureRequest.Builder requestBuilder = in testSettingsBinderParcel() local
152 requestBuilder.addTarget(surface); in testSettingsBinderParcel()
155 CaptureRequest captureRequestOriginal = requestBuilder.build(); in testSettingsBinderParcel()
171 requestBuilder = mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW, in testSettingsBinderParcel()
173 requestBuilder.addTarget(surface); in testSettingsBinderParcel()
174 captureRequestOriginal = requestBuilder.build(); in testSettingsBinderParcel()
245 CaptureRequest.Builder requestBuilder = in testBlackLevelLock() local
249 requestBuilder.set(CaptureRequest.BLACK_LEVEL_LOCK, true); in testBlackLevelLock()
250 changeExposure(requestBuilder, DEFAULT_EXP_TIME_NS, DEFAULT_SENSITIVITY); in testBlackLevelLock()
256 startPreview(requestBuilder, previewSz, listener); in testBlackLevelLock()
[all …]
DLogicalCameraDeviceTest.java274 CaptureRequest.Builder requestBuilder = in testBasicLogicalPhysicalStreamCombination() local
276 requestBuilder.addTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination()
279 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination()
290 requestBuilder.removeTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination()
291 requestBuilder.addTarget(yuvTargetPhysical.getSurface()); in testBasicLogicalPhysicalStreamCombination()
294 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination()
308 requestBuilder.addTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination()
310 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination()
397 CaptureRequest.Builder requestBuilder = in testBasicPhysicalRequests() local
400 requestBuilder.addTarget(c.getSurface()); in testBasicPhysicalRequests()
[all …]
DCaptureResultTest.java118 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()
180 CaptureRequest.Builder requestBuilder = in testPartialResult() local
182 assertNotNull("Failed to create capture request", requestBuilder); in testPartialResult()
183 requestBuilder.addTarget(mReaderSurface); in testPartialResult()
191 requestBuilder.setTag(frame); in testPartialResult()
193 requestBuilder.build(), /*repeating*/false, in testPartialResult()
[all …]
DSurfaceViewPreviewTest.java695 CaptureRequest.Builder requestBuilder = in previewFpsRangeTestByCamera() local
709 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in previewFpsRangeTestByCamera()
713 requestBuilder.set(CaptureRequest.CONTROL_AE_ANTIBANDING_MODE, in previewFpsRangeTestByCamera()
723 startPreview(requestBuilder, maxPreviewSz, resultListener); in previewFpsRangeTestByCamera()
725 mSession.setRepeatingRequest(requestBuilder.build(), resultListener, mHandler); in previewFpsRangeTestByCamera()
781 CaptureRequest.Builder requestBuilder = in previewTestByCamera() local
786 startPreview(requestBuilder, sz, mockCaptureCallback); in previewTestByCamera()
796 CaptureRequest.Builder requestBuilder = in previewTestPatternTestByCamera() local
805 requestBuilder.set(CaptureRequest.SENSOR_TEST_PATTERN_MODE, mode); in previewTestPatternTestByCamera()
808 requestBuilder.set(CaptureRequest.SENSOR_TEST_PATTERN_DATA, TEST_PATTERN_DATA); in previewTestPatternTestByCamera()
[all …]
DRecordingTest.java415 CaptureRequest.Builder requestBuilder = in testAbandonedHighSpeedRequest() local
417 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in testAbandonedHighSpeedRequest()
418 requestBuilder.addTarget(mPreviewSurface); in testAbandonedHighSpeedRequest()
419 requestBuilder.addTarget(mRecordingSurface); in testAbandonedHighSpeedRequest()
426 createHighSpeedRequestList(requestBuilder.build()); in testAbandonedHighSpeedRequest()
448 requestBuilder = mCamera.createCaptureRequest(CameraDevice.TEMPLATE_RECORD); in testAbandonedHighSpeedRequest()
449 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in testAbandonedHighSpeedRequest()
450 requestBuilder.addTarget(previewSurface); in testAbandonedHighSpeedRequest()
458 createHighSpeedRequestList(requestBuilder.build()); in testAbandonedHighSpeedRequest()
871 CaptureRequest.Builder requestBuilder = in startConstrainedPreview() local
[all …]
DCameraDeviceTest.java1005 CaptureRequest.Builder requestBuilder = null; in testSessionParametersStateLeakByCamera() local
1031 requestBuilder = newBuilder; in testSessionParametersStateLeakByCamera()
1036 if (requestBuilder != null) { in testSessionParametersStateLeakByCamera()
1041 if (requestBuilder != null) { in testSessionParametersStateLeakByCamera()
1042 requestBuilder.addTarget(imageReader.getSurface()); in testSessionParametersStateLeakByCamera()
1043 request = requestBuilder.build(); in testSessionParametersStateLeakByCamera()
1468 CaptureRequest.Builder requestBuilder = in invalidRequestCaptureTestByCamera() local
1470 CaptureRequest unConfiguredRequest = requestBuilder.build(); in invalidRequestCaptureTestByCamera()
1676 CaptureRequest.Builder requestBuilder = mCamera.createCaptureRequest(template); in captureSingleShot() local
1677 assertNotNull("Failed to create capture request", requestBuilder); in captureSingleShot()
[all …]
DImageReaderTest.java1082 CaptureRequest.Builder requestBuilder = prepareCaptureRequestForSurfaces( in bufferFormatLongProcessingTimeTestByCamera() local
1085 requestBuilder.set( in bufferFormatLongProcessingTimeTestByCamera()
1087 requestBuilder.set(CaptureRequest.CONTROL_AE_LOCK, true); in bufferFormatLongProcessingTimeTestByCamera()
1088 requestBuilder.set(CaptureRequest.CONTROL_AWB_LOCK, true); in bufferFormatLongProcessingTimeTestByCamera()
1089 requestBuilder.set(CaptureRequest.CONTROL_AE_MODE, in bufferFormatLongProcessingTimeTestByCamera()
1091 requestBuilder.set(CaptureRequest.CONTROL_AWB_MODE, in bufferFormatLongProcessingTimeTestByCamera()
1093 requestBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, TEST_SENSITIVITY_VALUE); in bufferFormatLongProcessingTimeTestByCamera()
1094 requestBuilder.set(CaptureRequest.SENSOR_EXPOSURE_TIME, TEST_EXPOSURE_TIME_NS); in bufferFormatLongProcessingTimeTestByCamera()
1097 startCapture(requestBuilder.build(), /*repeating*/true, listener, mHandler); in bufferFormatLongProcessingTimeTestByCamera()
DImageWriterTest.java223 CaptureRequest.Builder requestBuilder = prepareCaptureRequestForSurfaces(outputSurfaces, in readerWriterFormatTestByCamera() local
227 startCapture(requestBuilder.build(), /*repeating*/false, captureListener, mHandler); in readerWriterFormatTestByCamera()
229 startCapture(requestBuilder.build(), /*repeating*/false, captureListener, mHandler); in readerWriterFormatTestByCamera()
DMultiViewTest.java935 CaptureRequest.Builder requestBuilder = getCaptureBuilder(id, in testTextureImageWriterReaderOperation() local
937 requestBuilder.addTarget(reader.getSurface()); in testTextureImageWriterReaderOperation()
938 requestBuilder.addTarget(preview); in testTextureImageWriterReaderOperation()
946 capture(id, requestBuilder.build(), resultListener); in testTextureImageWriterReaderOperation()
DRobustnessTest.java395 CaptureRequest.Builder requestBuilder = in testMandatoryStreamCombination() local
399 requestBuilder.addTarget(c.getSurface()); in testMandatoryStreamCombination()
428 CaptureRequest request = requestBuilder.build(); in testMandatoryStreamCombination()
DStillCaptureTest.java939 CaptureRequest.Builder requestBuilder = in touchForFocusTestByCamera() local
942 startPreview(requestBuilder, maxPreviewSz, listener); in touchForFocusTestByCamera()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCamera2Focuser.java215 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/
DCamera2SurfaceViewTestCase.java247 CaptureRequest.Builder requestBuilder = in createRequestForPreview() local
249 requestBuilder.addTarget(mPreviewSurface); in createRequestForPreview()
250 return requestBuilder; in createRequestForPreview()