Home
last modified time | relevance | path

Searched refs:outputSurfaces (Results 1 – 17 of 17) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DSurfaceViewPreviewTest.java228 List<Surface> outputSurfaces = new ArrayList<Surface>(); in preparePerformanceTestByCamera() local
229 outputSurfaces.add(mPreviewSurface); in preparePerformanceTestByCamera()
230 outputSurfaces.add(mReaderSurface); in preparePerformanceTestByCamera()
235 mSession = configureCameraSession(mCamera, outputSurfaces, mockSessionListener, mHandler); in preparePerformanceTestByCamera()
378 List<Surface> outputSurfaces = new ArrayList<Surface>(); in surfaceEqualityTestByCamera() local
379 outputSurfaces.add(mPreviewSurface); in surfaceEqualityTestByCamera()
380 outputSurfaces.add(sharedOutputSurface1); in surfaceEqualityTestByCamera()
385 mSession = configureCameraSession(mCamera, outputSurfaces, sessionListener, mHandler); in surfaceEqualityTestByCamera()
414 outputSurfaces.clear(); in surfaceEqualityTestByCamera()
415 outputSurfaces.add(mPreviewSurface); in surfaceEqualityTestByCamera()
[all …]
DRecordingTest.java404 List<Surface> outputSurfaces = new ArrayList<Surface>(2); in testAbandonedHighSpeedRequest() local
408 outputSurfaces.add(mPreviewSurface); in testAbandonedHighSpeedRequest()
409 outputSurfaces.add(mRecordingSurface); in testAbandonedHighSpeedRequest()
412 mSession = configureCameraSession(mCamera, outputSurfaces, /*highSpeed*/true, in testAbandonedHighSpeedRequest()
439 outputSurfaces = new ArrayList<Surface>(); in testAbandonedHighSpeedRequest()
440 outputSurfaces.add(previewSurface); in testAbandonedHighSpeedRequest()
445 mSession = configureCameraSession(mCamera, outputSurfaces, /*highSpeed*/true, in testAbandonedHighSpeedRequest()
865 List<Surface> outputSurfaces = new ArrayList<Surface>(1); in startConstrainedPreview() local
867 outputSurfaces.add(mPreviewSurface); in startConstrainedPreview()
877 outputSurfaces, /*inputConfig*/ null, SessionConfiguration.SESSION_HIGH_SPEED, in startConstrainedPreview()
[all …]
DImageReaderTest.java512 List<Surface> outputSurfaces = new ArrayList<Surface>(); in testAllOutputYUVResolutions() local
513 outputSurfaces.add(yuvSurface); in testAllOutputYUVResolutions()
514 outputSurfaces.add(jpegSurface); in testAllOutputYUVResolutions()
515 createSession(outputSurfaces); in testAllOutputYUVResolutions()
566 for (Surface s : outputSurfaces) { in testAllOutputYUVResolutions()
885 List<Surface> outputSurfaces = new ArrayList<Surface>(); in bufferFormatWithYuvTestByCamera() local
886 outputSurfaces.add(yuvSurface); in bufferFormatWithYuvTestByCamera()
887 outputSurfaces.add(captureSurface); in bufferFormatWithYuvTestByCamera()
888 CaptureRequest.Builder request = prepareCaptureRequestForSurfaces(outputSurfaces, in bufferFormatWithYuvTestByCamera()
1080 List<Surface> outputSurfaces = new ArrayList<Surface>(); in bufferFormatLongProcessingTimeTestByCamera() local
[all …]
DPerformanceTest.java1175 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareStillCaptureAndStartPreview() local
1176 outputSurfaces.add(mPreviewSurface); in prepareStillCaptureAndStartPreview()
1180 outputSurfaces.add(readers[i].getSurface()); in prepareStillCaptureAndStartPreview()
1184 mCameraSession = CameraTestUtils.configureCameraSession(mCamera, outputSurfaces, in prepareStillCaptureAndStartPreview()
1233 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareCaptureAndStartPreview() local
1234 outputSurfaces.add(mPreviewSurface); in prepareCaptureAndStartPreview()
1235 outputSurfaces.add(mReaderSurface); in prepareCaptureAndStartPreview()
1241 mCameraSession = CameraTestUtils.configureCameraSession(mCamera, outputSurfaces, in prepareCaptureAndStartPreview()
1335 List<Surface> outputSurfaces = new ArrayList<>(); in configureReaderAndPreviewOutputs() local
1337 outputSurfaces.add(mPreviewSurface); in configureReaderAndPreviewOutputs()
[all …]
DImageWriterTest.java221 List<Surface> outputSurfaces = new ArrayList<Surface>(); in readerWriterFormatTestByCamera() local
222 outputSurfaces.add(mReader.getSurface()); in readerWriterFormatTestByCamera()
223 CaptureRequest.Builder requestBuilder = prepareCaptureRequestForSurfaces(outputSurfaces, in readerWriterFormatTestByCamera()
DCaptureResultTest.java114 List<Surface> outputSurfaces = new ArrayList<Surface>(1); in testCameraCaptureResultAllKeys() local
115 outputSurfaces.add(mReaderSurface); in testCameraCaptureResultAllKeys()
116 createSession(outputSurfaces); in testCameraCaptureResultAllKeys()
176 List<Surface> outputSurfaces = new ArrayList<Surface>(1); in testPartialResult() local
177 outputSurfaces.add(mReaderSurface); in testPartialResult()
178 createSession(outputSurfaces); in testPartialResult()
297 List<Surface> outputSurfaces = new ArrayList<>(Arrays.asList( in testResultTimestamps() local
303 mCamera, outputSurfaces, mHandler); in testResultTimestamps()
DDngCreatorTest.java691 final List<Surface> outputSurfaces = new ArrayList<Surface>(); in captureRawShots() local
694 outputSurfaces.add(captureSurface); in captureRawShots()
701 for (Surface surface : outputSurfaces) { in captureRawShots()
713 outputSurfaces.add(previewReader.getSurface()); in captureRawShots()
716 createSession(outputSurfaces); in captureRawShots()
DAllocationTest.java354 List<Surface> outputSurfaces = new ArrayList<Surface>(/*capacity*/1); in configureAndCreateRequestForSurface() local
356 outputSurfaces.add(cameraTarget); in configureAndCreateRequestForSurface()
359 mCamera.createCaptureSession(outputSurfaces, mSessionListener, mHandler); in configureAndCreateRequestForSurface()
DRobustnessTest.java558 ArrayList<Surface> outputSurfaces = new ArrayList<>(); in testMandatoryReprocessableStreamCombination() local
590 outputSurfaces.ensureCapacity(outputConfigs.size()); in testMandatoryReprocessableStreamCombination()
592 outputSurfaces.add(config.getSurface()); in testMandatoryReprocessableStreamCombination()
615 outputSurfaces.add(inputReader.getSurface()); in testMandatoryReprocessableStreamCombination()
617 checkSessionConfigurationWithSurfaces(mCamera, mHandler, outputSurfaces, in testMandatoryReprocessableStreamCombination()
625 inputConfig, outputSurfaces, sessionListener, mHandler); in testMandatoryReprocessableStreamCombination()
DStillCaptureTest.java1077 List<Surface> outputSurfaces = new ArrayList<Surface>(); in fullRawCaptureTestByCamera() local
1078 outputSurfaces.add(rawReader.getSurface()); in fullRawCaptureTestByCamera()
1079 outputSurfaces.add(jpegReader.getSurface()); in fullRawCaptureTestByCamera()
1080 outputSurfaces.add(mPreviewSurface); in fullRawCaptureTestByCamera()
1082 mSession = configureCameraSession(mCamera, outputSurfaces, in fullRawCaptureTestByCamera()
DCameraDeviceTest.java1347 ArrayList<Surface> outputSurfaces = new ArrayList<Surface>( in prepareTestByCamera() local
1349 mCamera.createCaptureSession(outputSurfaces, mSessionMockListener, mHandler); in prepareTestByCamera()
1388 outputSurfaces = new ArrayList<>( in prepareTestByCamera()
1390 mCamera.createCaptureSession(outputSurfaces, mSessionMockListener, mHandler); in prepareTestByCamera()
1425 List<Surface> outputSurfaces = new ArrayList<>( in prepareTestForSharedSurfacesByCamera() local
1857 List<Surface> outputSurfaces = new ArrayList<>(Arrays.asList(mReaderSurface)); in prepareCapture() local
1858 mCamera.createCaptureSession(outputSurfaces, mSessionMockListener, mHandler); in prepareCapture()
DReprocessCaptureTest.java1305 Surface[] outputSurfaces = new Surface[isReprocessCaptures.length]; in doMixedReprocessBurstCapture() local
1307 outputSurfaces[i] = getReprocessOutputImageReader().getSurface(); in doMixedReprocessBurstCapture()
1310 TotalCaptureResult[] finalResults = submitMixedCaptureBurstRequest(outputSurfaces, results); in doMixedReprocessBurstCapture()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java227 List<Surface> outputSurfaces = new ArrayList<Surface>(/*capacity*/1); in configurePreviewOutput() local
228 outputSurfaces.add(mPreviewSurface); in configurePreviewOutput()
230 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in configurePreviewOutput()
608 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareStillCaptureAndStartPreview() local
609 outputSurfaces.add(mPreviewSurface); in prepareStillCaptureAndStartPreview()
613 outputSurfaces.add(readers[i].getSurface()); in prepareStillCaptureAndStartPreview()
617 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in prepareStillCaptureAndStartPreview()
790 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareCaptureAndStartPreview() local
791 outputSurfaces.add(mPreviewSurface); in prepareCaptureAndStartPreview()
792 outputSurfaces.add(mReaderSurface); in prepareCaptureAndStartPreview()
[all …]
DCamera2AndroidTestCase.java259 protected void createSession(List<Surface> outputSurfaces) throws Exception { in createSession() argument
261 mCameraSession = CameraTestUtils.configureCameraSession(mCamera, outputSurfaces, in createSession()
460 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareCaptureRequest() local
463 outputSurfaces.add(surface); in prepareCaptureRequest()
464 return prepareCaptureRequestForSurfaces(outputSurfaces, template) in prepareCaptureRequest()
DCamera2MultiViewTestCase.java255 String cameraId, List<Surface> outputSurfaces, CaptureCallback listener) in startPreview() argument
259 camera.startPreview(outputSurfaces, listener); in startPreview()
508 public void startPreview(List<Surface> outputSurfaces, CaptureCallback listener) in startPreview() argument
511 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in startPreview()
512 if (outputSurfaces.isEmpty()) { in startPreview()
520 for (Surface surface : outputSurfaces) { in startPreview()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java770 List<Surface> outputSurfaces, boolean isHighSpeed, in configureCameraSession() argument
775 camera.createConstrainedHighSpeedCaptureSession(outputSurfaces, in configureCameraSession()
778 camera.createCaptureSession(outputSurfaces, sessionListener, handler); in configureCameraSession()
802 List<Surface> outputSurfaces, CameraCaptureSession.StateCallback listener, in buildConstrainedCameraSession() argument
806 List<OutputConfiguration> outConfigurations = new ArrayList<>(outputSurfaces.size()); in buildConstrainedCameraSession()
807 for (Surface surface : outputSurfaces) { in buildConstrainedCameraSession()
885 List<Surface> outputSurfaces, BlockingSessionCallback listener, in configureCameraSessionWithParameters() argument
887 List<OutputConfiguration> outConfigurations = new ArrayList<>(outputSurfaces.size()); in configureCameraSessionWithParameters()
888 for (Surface surface : outputSurfaces) { in configureCameraSessionWithParameters()
915 List<Surface> outputSurfaces, in configureCameraSession() argument
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java1640 List<Surface> outputSurfaces = new ArrayList<Surface>();
1643 outputSurfaces.add(mOutputImageReaders[i].getSurface());
1654 outputSurfaces.add(mInputImageReader.getSurface());
1658 mCamera.createReprocessableCaptureSession(inputConfig, outputSurfaces, sessionListener,