/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | RobustnessTest.java | 761 CaptureRequest.Builder previewRequest = in testBasicTriggerSequence() local 767 mCameraSession.setRepeatingRequest(previewRequest.build(), captureListener, in testBasicTriggerSequence() 772 cancelTriggersAndWait(previewRequest, captureListener, afMode); in testBasicTriggerSequence() 781 previewRequest.set(CaptureRequest.CONTROL_AF_TRIGGER, in testBasicTriggerSequence() 783 previewRequest.set(CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, in testBasicTriggerSequence() 786 CaptureRequest triggerRequest = previewRequest.build(); in testBasicTriggerSequence() 813 previewRequest.set(CaptureRequest.CONTROL_AF_TRIGGER, in testBasicTriggerSequence() 815 previewRequest.set(CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, in testBasicTriggerSequence() 818 triggerRequest = previewRequest.build(); in testBasicTriggerSequence() 900 CaptureRequest.Builder previewRequest = in testSimultaneousTriggers() local [all …]
|
D | StillCaptureTest.java | 640 CaptureRequest.Builder previewRequest = in focalLengthTestByCamera() local 659 prepareStillCaptureAndStartPreview(previewRequest, stillRequest, maxPreviewSz, in focalLengthTestByCamera() 664 previewRequest.set(CaptureRequest.LENS_FOCAL_LENGTH, focalLength); in focalLengthTestByCamera() 665 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in focalLengthTestByCamera() 671 previewRequest.get(CaptureRequest.LENS_FOCAL_LENGTH), in focalLengthTestByCamera() 703 CaptureRequest.Builder previewRequest = in previewPersistenceTestByCamera() local 707 prepareStillCaptureAndStartPreview(previewRequest, stillRequest, maxPreviewSz, in previewPersistenceTestByCamera() 777 CaptureRequest.Builder previewRequest, CaptureRequest.Builder stillRequest) in takePictureTestByCamera() argument 787 if (previewRequest == null) { in takePictureTestByCamera() 788 previewRequest = mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); in takePictureTestByCamera() [all …]
|
D | SurfaceViewPreviewTest.java | 220 CaptureRequest.Builder previewRequest = in preparePerformanceTestByCamera() local 241 previewRequest.addTarget(mPreviewSurface); in preparePerformanceTestByCamera() 243 previewRequest.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, maxFpsTarget); in preparePerformanceTestByCamera() 245 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in preparePerformanceTestByCamera() 252 previewRequest.set(CaptureRequest.CONTROL_AE_LOCK, true); in preparePerformanceTestByCamera() 253 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in preparePerformanceTestByCamera() 316 previewRequest.addTarget(mReaderSurface); in preparePerformanceTestByCamera() 318 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in preparePerformanceTestByCamera() 395 CaptureRequest.Builder previewRequest = in surfaceEqualityTestByCamera() local 397 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 | 968 CaptureRequest previewRequest = previewBuilder.build(); in dynamicBlackWhiteLevelTestByCamera() local 969 mSession.capture(previewRequest, resultListener, mHandler); in dynamicBlackWhiteLevelTestByCamera() 970 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() 595 CaptureRequest.Builder previewRequest, CaptureRequest.Builder stillRequest, in prepareStillCaptureAndStartPreview() argument 628 previewRequest.addTarget(mPreviewSurface); in prepareStillCaptureAndStartPreview() 635 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in prepareStillCaptureAndStartPreview() 761 protected void prepareCaptureAndStartPreview(CaptureRequest.Builder previewRequest, in prepareCaptureAndStartPreview() argument [all …]
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 2760 ACaptureRequest *previewRequest = nullptr; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative() local 2761 ret = testCase.getPreviewRequest(&previewRequest); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative() 2762 if ((ret != ACAMERA_OK) || (previewRequest == nullptr)) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative() 2767 ret = testCase.createCaptureSessionWithLog(/*isPreviewShared*/ false, previewRequest); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative() 3023 ACaptureRequest *previewRequest = nullptr; in nativeCameraDeviceLogicalPhysicalStreaming() local 3024 ret = testCase.getPreviewRequest(&previewRequest); in nativeCameraDeviceLogicalPhysicalStreaming() 3025 if ((ret != ACAMERA_OK) || (previewRequest == nullptr)) { in nativeCameraDeviceLogicalPhysicalStreaming()
|