/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | StillCaptureTest.java | 540 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 …]
|
D | RobustnessTest.java | 477 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 …]
|
D | SurfaceViewPreviewTest.java | 212 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 …]
|
D | FastBasicsTest.java | 81 CaptureRequest.Builder previewRequest = in camera2TestByCamera() local 90 prepareStillCaptureAndStartPreview(previewRequest, stillCaptureRequest, in camera2TestByCamera()
|
D | CaptureRequestTest.java | 893 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/ |
D | Camera2SurfaceViewTestCase.java | 269 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/ |
D | native-camera-jni.cpp | 2209 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()
|