/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | RobustnessTest.java | 756 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 …]
|
D | StillCaptureTest.java | 607 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 …]
|
D | SurfaceViewPreviewTest.java | 219 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 …]
|
D | FastBasicsTest.java | 84 CaptureRequest.Builder previewRequest = in camera2TestByCamera() local 93 prepareStillCaptureAndStartPreview(previewRequest, stillCaptureRequest, in camera2TestByCamera()
|
D | PerformanceTest.java | 1154 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()
|
D | CaptureRequestTest.java | 960 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/ |
D | Camera2SurfaceViewTestCase.java | 292 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/ |
D | native-camera-jni.cpp | 2755 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()
|