Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DStillCaptureTest.java540 CaptureRequest.Builder previewRequest = in focalLengthTestByCamera() local
559 prepareStillCaptureAndStartPreview(previewRequest, stillRequest, maxPreviewSz, in focalLengthTestByCamera()
564 previewRequest.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLength); in focalLengthTestByCamera()
565 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in focalLengthTestByCamera()
571 previewRequest.get(CaptureRequest.LENS_FOCAL_LENGTH), in focalLengthTestByCamera()
603 CaptureRequest.Builder previewRequest = in previewPersistenceTestByCamera() local
607 prepareStillCaptureAndStartPreview(previewRequest, stillRequest, maxPreviewSz, in previewPersistenceTestByCamera()
677 CaptureRequest.Builder previewRequest, CaptureRequest.Builder stillRequest) in takePictureTestByCamera() argument
687 if (previewRequest == null) { in takePictureTestByCamera()
688 previewRequest = mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); in takePictureTestByCamera()
[all …]
DRobustnessTest.java477 CaptureRequest.Builder previewRequest = in testBasicTriggerSequence() local
483 mCameraSession.setRepeatingRequest(previewRequest.build(), captureListener, in testBasicTriggerSequence()
488 cancelTriggersAndWait(previewRequest, captureListener, afMode); in testBasicTriggerSequence()
497 previewRequest.set(CaptureRequest.CONTROL_AF_TRIGGER, in testBasicTriggerSequence()
499 previewRequest.set(CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, in testBasicTriggerSequence()
502 CaptureRequest triggerRequest = previewRequest.build(); in testBasicTriggerSequence()
529 previewRequest.set(CaptureRequest.CONTROL_AF_TRIGGER, in testBasicTriggerSequence()
531 previewRequest.set(CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, in testBasicTriggerSequence()
534 triggerRequest = previewRequest.build(); in testBasicTriggerSequence()
615 CaptureRequest.Builder previewRequest = in testSimultaneousTriggers() local
[all …]
DSurfaceViewPreviewTest.java212 CaptureRequest.Builder previewRequest = in preparePerformanceTestByCamera() local
230 previewRequest.addTarget(mPreviewSurface); in preparePerformanceTestByCamera()
232 previewRequest.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, maxFpsTarget); in preparePerformanceTestByCamera()
234 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in preparePerformanceTestByCamera()
241 previewRequest.set(CaptureRequest.CONTROL_AE_LOCK, true); in preparePerformanceTestByCamera()
242 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in preparePerformanceTestByCamera()
305 previewRequest.addTarget(mReaderSurface); in preparePerformanceTestByCamera()
307 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in preparePerformanceTestByCamera()
381 CaptureRequest.Builder previewRequest = in surfaceEqualityTestByCamera() local
383 previewRequest.addTarget(mPreviewSurface); in surfaceEqualityTestByCamera()
[all …]
DFastBasicsTest.java81 CaptureRequest.Builder previewRequest = in camera2TestByCamera() local
90 prepareStillCaptureAndStartPreview(previewRequest, stillCaptureRequest, in camera2TestByCamera()
DCaptureRequestTest.java893 CaptureRequest previewRequest = previewBuilder.build(); in dynamicBlackWhiteLevelTestByCamera() local
894 mSession.capture(previewRequest, resultListener, mHandler); in dynamicBlackWhiteLevelTestByCamera()
895 result = resultListener.getCaptureResultForRequest(previewRequest, in dynamicBlackWhiteLevelTestByCamera()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java269 protected void prepareStillCaptureAndStartPreview(CaptureRequest.Builder previewRequest, in prepareStillCaptureAndStartPreview() argument
273 prepareCaptureAndStartPreview(previewRequest, stillRequest, previewSz, stillSz, in prepareStillCaptureAndStartPreview()
288 protected void prepareStillCaptureAndStartPreview(CaptureRequest.Builder previewRequest, in prepareStillCaptureAndStartPreview() argument
292 prepareCaptureAndStartPreview(previewRequest, stillRequest, previewSz, stillSz, in prepareStillCaptureAndStartPreview()
310 protected void prepareRawCaptureAndStartPreview(CaptureRequest.Builder previewRequest, in prepareRawCaptureAndStartPreview() argument
314 prepareCaptureAndStartPreview(previewRequest, rawRequest, previewSz, rawSz, in prepareRawCaptureAndStartPreview()
706 protected void prepareCaptureAndStartPreview(CaptureRequest.Builder previewRequest, in prepareCaptureAndStartPreview() argument
710 prepareCaptureAndStartPreview(previewRequest, stillRequest, previewSz, captureSz, in prepareCaptureAndStartPreview()
727 protected void prepareCaptureAndStartPreview(CaptureRequest.Builder previewRequest, in prepareCaptureAndStartPreview() argument
754 previewRequest.addTarget(mPreviewSurface); in prepareCaptureAndStartPreview()
[all …]
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp2209 ACaptureRequest *previewRequest = nullptr; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative() local
2210 ret = testCase.getPreviewRequest(&previewRequest); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
2211 if ((ret != ACAMERA_OK) || (previewRequest == nullptr)) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
2216 ret = testCase.createCaptureSessionWithLog(/*isPreviewShared*/ false, previewRequest); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()