Home
last modified time | relevance | path

Searched refs:mPreviewSurface (Results 1 – 10 of 10) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DNativeCameraDeviceTest.java61 testCameraDeviceSessionOpenAndCloseNative(mPreviewSurface)); in testCameraDeviceSessionOpenAndClose()
69 testCameraDeviceSimplePreviewNative(mPreviewSurface)); in testCameraDeviceSimplePreview()
77 testCameraDevicePreviewWithSessionParametersNative(mPreviewSurface)); in testCameraDevicePreviewWithSessionParameters()
89 testCameraDeviceSharedOutputUpdate(mPreviewSurface, outputSurface)); in testCameraDeviceSharedOutputUpdate()
101 testCameraDeviceLogicalPhysicalStreamingNative(mPreviewSurface)); in testCameraDeviceLogicalPhysicalStreaming()
113 testCameraDeviceLogicalPhysicalSettingsNative(mPreviewSurface)); in testCameraDeviceLogicalPhysicalSettings()
DSurfaceViewPreviewTest.java229 outputSurfaces.add(mPreviewSurface); in preparePerformanceTestByCamera()
237 previewRequest.addTarget(mPreviewSurface); in preparePerformanceTestByCamera()
379 outputSurfaces.add(mPreviewSurface); in surfaceEqualityTestByCamera()
391 previewRequest.addTarget(mPreviewSurface); in surfaceEqualityTestByCamera()
415 outputSurfaces.add(mPreviewSurface); in surfaceEqualityTestByCamera()
424 previewRequest.addTarget(mPreviewSurface); in surfaceEqualityTestByCamera()
569 surfaceViewOutput.addSurface(mPreviewSurface); in testDeferredSurfacesByCamera()
580 surfaceViewOutput.addSurface(mPreviewSurface); in testDeferredSurfacesByCamera()
611 request.addTarget(mPreviewSurface); in testDeferredSurfacesByCamera()
837 OutputConfiguration previewConfig = new OutputConfiguration(mPreviewSurface); in surfaceSetTestByCamera()
[all …]
DPerformanceTest.java107 private Surface mPreviewSurface; field in PerformanceTest
1038 zslBuilder.addTarget(mPreviewSurface); in startZslStreaming()
1103 outSurfaces.add(mPreviewSurface); in prepareReprocessCapture()
1126 if (mPreviewSurface == null || mReaderSurface == null) { in blockingStartPreview()
1133 previewBuilder.addTarget(mPreviewSurface); in blockingStartPreview()
1176 outputSurfaces.add(mPreviewSurface); in prepareStillCaptureAndStartPreview()
1188 previewRequest.addTarget(mPreviewSurface); in prepareStillCaptureAndStartPreview()
1189 stillRequest.addTarget(mPreviewSurface); in prepareStillCaptureAndStartPreview()
1234 outputSurfaces.add(mPreviewSurface); in prepareCaptureAndStartPreview()
1245 previewRequest.addTarget(mPreviewSurface); in prepareCaptureAndStartPreview()
[all …]
DRecordingTest.java406 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in testAbandonedHighSpeedRequest()
408 outputSurfaces.add(mPreviewSurface); in testAbandonedHighSpeedRequest()
418 requestBuilder.addTarget(mPreviewSurface); in testAbandonedHighSpeedRequest()
866 assertTrue("Preview surface should be valid", mPreviewSurface.isValid()); in startConstrainedPreview()
867 outputSurfaces.add(mPreviewSurface); in startConstrainedPreview()
874 requestBuilder.addTarget(mPreviewSurface); in startConstrainedPreview()
893 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in startSlowMotionRecording()
894 outputSurfaces.add(mPreviewSurface); in startSlowMotionRecording()
908 requestBuilder.addTarget(mPreviewSurface); in startSlowMotionRecording()
934 recordingRequestBuilder.addTarget(mPreviewSurface); in startSlowMotionRecording()
[all …]
DNativeStillCaptureTest.java47 testStillCaptureNative(mDebugFileNameBase, mPreviewSurface)); in testStillCapture()
DReprocessCaptureTest.java650 mPreviewSurface = null; in testReprocessMixedBurst()
655 setupReprocessableSession(mPreviewSurface, /*numImageWriterImages*/numBurst); in testReprocessMixedBurst()
658 startPreview(mPreviewSurface); in testReprocessMixedBurst()
719 mPreviewSurface = null; in testReprocessBurst()
724 setupReprocessableSession(mPreviewSurface, numBurst); in testReprocessBurst()
727 startPreview(mPreviewSurface); in testReprocessBurst()
777 mPreviewSurface = null; in testReprocess()
782 setupReprocessableSession(mPreviewSurface, /*numImageWriterImages*/1); in testReprocess()
785 startPreview(mPreviewSurface); in testReprocess()
DStillCaptureTest.java779 focuser = new Camera2Focuser(mCamera, mSession, mPreviewSurface, afListener, in takePictureTestByCamera()
945 Camera2Focuser focuser = new Camera2Focuser(mCamera, mSession, mPreviewSurface, afListener, in touchForFocusTestByCamera()
1080 outputSurfaces.add(mPreviewSurface); in fullRawCaptureTestByCamera()
1086 previewBuilder.addTarget(mPreviewSurface); in fullRawCaptureTestByCamera()
1087 multiBuilder.addTarget(mPreviewSurface); in fullRawCaptureTestByCamera()
DBurstCaptureRawTest.java668 previewBuilder.removeTarget(mPreviewSurface); in stopPreviewAndClearSurface()
669 rawBurstBuilder.removeTarget(mPreviewSurface); in stopPreviewAndClearSurface()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java104 protected Surface mPreviewSurface; field in Camera2SurfaceViewTestCase
228 outputSurfaces.add(mPreviewSurface); in configurePreviewOutput()
232 request.addTarget(mPreviewSurface); in configurePreviewOutput()
242 if (mPreviewSurface == null) { in createRequestForPreview()
249 requestBuilder.addTarget(mPreviewSurface); in createRequestForPreview()
609 outputSurfaces.add(mPreviewSurface); in prepareStillCaptureAndStartPreview()
620 previewRequest.addTarget(mPreviewSurface); in prepareStillCaptureAndStartPreview()
621 stillRequest.addTarget(mPreviewSurface); in prepareStillCaptureAndStartPreview()
680 if (size.equals(mPreviewSize) && mPreviewSurface != null) { in updatePreviewSurface()
701 mPreviewSurface = holder.getSurface(); in updatePreviewSurface()
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockVideoProvider.java49 private Surface mPreviewSurface = null; field in MockVideoProvider
65 mPreviewSurface = surface; in onSetPreviewSurface()
211 return mPreviewSurface; in getPreviewSurface()