Home
last modified time | relevance | path

Searched refs:previewRequest (Results 1 – 8 of 8) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DRobustnessTest.java756 CaptureRequest.Builder previewRequest = in testBasicTriggerSequence() local
762 mCameraSession.setRepeatingRequest(previewRequest.build(), captureListener, in testBasicTriggerSequence()
767 cancelTriggersAndWait(previewRequest, captureListener, afMode); in testBasicTriggerSequence()
776 previewRequest.set(CaptureRequest.CONTROL_AF_TRIGGER, in testBasicTriggerSequence()
778 previewRequest.set(CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, in testBasicTriggerSequence()
781 CaptureRequest triggerRequest = previewRequest.build(); in testBasicTriggerSequence()
808 previewRequest.set(CaptureRequest.CONTROL_AF_TRIGGER, in testBasicTriggerSequence()
810 previewRequest.set(CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, in testBasicTriggerSequence()
813 triggerRequest = previewRequest.build(); in testBasicTriggerSequence()
895 CaptureRequest.Builder previewRequest = in testSimultaneousTriggers() local
[all …]
DStillCaptureTest.java607 CaptureRequest.Builder previewRequest = in focalLengthTestByCamera() local
626 prepareStillCaptureAndStartPreview(previewRequest, stillRequest, maxPreviewSz, in focalLengthTestByCamera()
631 previewRequest.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLength); in focalLengthTestByCamera()
632 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in focalLengthTestByCamera()
638 previewRequest.get(CaptureRequest.LENS_FOCAL_LENGTH), in focalLengthTestByCamera()
670 CaptureRequest.Builder previewRequest = in previewPersistenceTestByCamera() local
674 prepareStillCaptureAndStartPreview(previewRequest, stillRequest, maxPreviewSz, in previewPersistenceTestByCamera()
744 CaptureRequest.Builder previewRequest, CaptureRequest.Builder stillRequest) in takePictureTestByCamera() argument
754 if (previewRequest == null) { in takePictureTestByCamera()
755 previewRequest = mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); in takePictureTestByCamera()
[all …]
DSurfaceViewPreviewTest.java219 CaptureRequest.Builder previewRequest = in preparePerformanceTestByCamera() local
237 previewRequest.addTarget(mPreviewSurface); in preparePerformanceTestByCamera()
239 previewRequest.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, maxFpsTarget); in preparePerformanceTestByCamera()
241 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in preparePerformanceTestByCamera()
248 previewRequest.set(CaptureRequest.CONTROL_AE_LOCK, true); in preparePerformanceTestByCamera()
249 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in preparePerformanceTestByCamera()
312 previewRequest.addTarget(mReaderSurface); in preparePerformanceTestByCamera()
314 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in preparePerformanceTestByCamera()
389 CaptureRequest.Builder previewRequest = in surfaceEqualityTestByCamera() local
391 previewRequest.addTarget(mPreviewSurface); in surfaceEqualityTestByCamera()
[all …]
DFastBasicsTest.java84 CaptureRequest.Builder previewRequest = in camera2TestByCamera() local
93 prepareStillCaptureAndStartPreview(previewRequest, stillCaptureRequest, in camera2TestByCamera()
DPerformanceTest.java1154 CaptureRequest.Builder previewRequest, CaptureRequest.Builder stillRequest, in prepareStillCaptureAndStartPreview() argument
1188 previewRequest.addTarget(mPreviewSurface); in prepareStillCaptureAndStartPreview()
1195 mCameraSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in prepareStillCaptureAndStartPreview()
1213 private void prepareCaptureAndStartPreview(CaptureRequest.Builder previewRequest, in prepareCaptureAndStartPreview() argument
1245 previewRequest.addTarget(mPreviewSurface); in prepareCaptureAndStartPreview()
1250 mCameraSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in prepareCaptureAndStartPreview()
DCaptureRequestTest.java960 CaptureRequest previewRequest = previewBuilder.build(); in dynamicBlackWhiteLevelTestByCamera() local
961 mSession.capture(previewRequest, resultListener, mHandler); in dynamicBlackWhiteLevelTestByCamera()
962 result = resultListener.getCaptureResultForRequest(previewRequest, in dynamicBlackWhiteLevelTestByCamera()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java292 protected void prepareStillCaptureAndStartPreview(CaptureRequest.Builder previewRequest, in prepareStillCaptureAndStartPreview() argument
296 prepareCaptureAndStartPreview(previewRequest, stillRequest, previewSz, stillSz, in prepareStillCaptureAndStartPreview()
312 protected void prepareStillCaptureAndStartPreview(CaptureRequest.Builder previewRequest, in prepareStillCaptureAndStartPreview() argument
316 prepareCaptureAndStartPreview(previewRequest, stillRequest, previewSz, stillSz, in prepareStillCaptureAndStartPreview()
334 protected void prepareRawCaptureAndStartPreview(CaptureRequest.Builder previewRequest, in prepareRawCaptureAndStartPreview() argument
338 prepareCaptureAndStartPreview(previewRequest, rawRequest, previewSz, rawSz, in prepareRawCaptureAndStartPreview()
587 CaptureRequest.Builder previewRequest, CaptureRequest.Builder stillRequest, in prepareStillCaptureAndStartPreview() argument
620 previewRequest.addTarget(mPreviewSurface); in prepareStillCaptureAndStartPreview()
627 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in prepareStillCaptureAndStartPreview()
753 protected void prepareCaptureAndStartPreview(CaptureRequest.Builder previewRequest, in prepareCaptureAndStartPreview() argument
[all …]
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp2755 ACaptureRequest *previewRequest = nullptr; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative() local
2756 ret = testCase.getPreviewRequest(&previewRequest); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
2757 if ((ret != ACAMERA_OK) || (previewRequest == nullptr)) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
2762 ret = testCase.createCaptureSessionWithLog(/*isPreviewShared*/ false, previewRequest); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
3018 ACaptureRequest *previewRequest = nullptr; in nativeCameraDeviceLogicalPhysicalStreaming() local
3019 ret = testCase.getPreviewRequest(&previewRequest); in nativeCameraDeviceLogicalPhysicalStreaming()
3020 if ((ret != ACAMERA_OK) || (previewRequest == nullptr)) { in nativeCameraDeviceLogicalPhysicalStreaming()