Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DSurfaceViewPreviewTest.java236 List<Surface> outputSurfaces = new ArrayList<Surface>(); in preparePerformanceTestByCamera() local
237 outputSurfaces.add(mPreviewSurface); in preparePerformanceTestByCamera()
238 outputSurfaces.add(mReaderSurface); in preparePerformanceTestByCamera()
243 mSession = configureCameraSession(mCamera, outputSurfaces, mockSessionListener, mHandler); in preparePerformanceTestByCamera()
356 List<Surface> outputSurfaces = new ArrayList<Surface>(); in surfaceEqualityTestByCamera() local
357 outputSurfaces.add(mPreviewSurface); in surfaceEqualityTestByCamera()
358 outputSurfaces.add(sharedOutputSurface1); in surfaceEqualityTestByCamera()
363 mSession = configureCameraSession(mCamera, outputSurfaces, sessionListener, mHandler); in surfaceEqualityTestByCamera()
392 outputSurfaces.clear(); in surfaceEqualityTestByCamera()
393 outputSurfaces.add(mPreviewSurface); in surfaceEqualityTestByCamera()
[all …]
DRecordingTest.java432 List<Surface> outputSurfaces = new ArrayList<Surface>(2); in testAbandonedHighSpeedRequest() local
436 outputSurfaces.add(mPreviewSurface); in testAbandonedHighSpeedRequest()
437 outputSurfaces.add(mRecordingSurface); in testAbandonedHighSpeedRequest()
440 mSession = configureCameraSession(mCamera, outputSurfaces, /*highSpeed*/true, in testAbandonedHighSpeedRequest()
467 outputSurfaces = new ArrayList<Surface>(); in testAbandonedHighSpeedRequest()
468 outputSurfaces.add(previewSurface); in testAbandonedHighSpeedRequest()
473 mSession = configureCameraSession(mCamera, outputSurfaces, /*highSpeed*/true, in testAbandonedHighSpeedRequest()
1015 List<Surface> outputSurfaces = new ArrayList<Surface>(1); in startConstrainedPreview() local
1017 outputSurfaces.add(mPreviewSurface); in startConstrainedPreview()
1027 outputSurfaces, /*inputConfig*/ null, SessionConfiguration.SESSION_HIGH_SPEED, in startConstrainedPreview()
[all …]
DImageReaderTest.java573 List<Surface> outputSurfaces = new ArrayList<Surface>(); in testAllOutputYUVResolutions() local
574 outputSurfaces.add(yuvSurface); in testAllOutputYUVResolutions()
575 outputSurfaces.add(jpegSurface); in testAllOutputYUVResolutions()
576 createSession(outputSurfaces); in testAllOutputYUVResolutions()
627 for (Surface s : outputSurfaces) { in testAllOutputYUVResolutions()
951 List<Surface> outputSurfaces = new ArrayList<Surface>(); in bufferFormatWithYuvTestByCamera() local
952 outputSurfaces.add(yuvSurface); in bufferFormatWithYuvTestByCamera()
953 outputSurfaces.add(captureSurface); in bufferFormatWithYuvTestByCamera()
954 CaptureRequest.Builder request = prepareCaptureRequestForSurfaces(outputSurfaces, in bufferFormatWithYuvTestByCamera()
1203 List<Surface> outputSurfaces = new ArrayList<Surface>(); in bufferFormatLongProcessingTimeTestByCamera() local
[all …]
DDngCreatorTest.java997 ArrayList<Surface> outputSurfaces = new ArrayList<Surface>(); in captureReprocessedRawShot() local
998 outputSurfaces.add(inputReader.getSurface()); in captureReprocessedRawShot()
999 outputSurfaces.add(reprocessOutputReader.getSurface()); in captureReprocessedRawShot()
1009 outputSurfaces.add(previewReader.getSurface()); in captureReprocessedRawShot()
1012 createReprocessableSession(inputConfig, outputSurfaces); in captureReprocessedRawShot()
1142 final List<Surface> outputSurfaces = new ArrayList<Surface>(); in captureRawShots() local
1145 outputSurfaces.add(captureSurface); in captureRawShots()
1152 for (Surface surface : outputSurfaces) { in captureRawShots()
1164 outputSurfaces.add(previewReader.getSurface()); in captureRawShots()
1167 createSession(outputSurfaces); in captureRawShots()
DImageWriterTest.java267 List<Surface> outputSurfaces = new ArrayList<Surface>(); in readerWriterFormatTestByCamera() local
268 outputSurfaces.add(mReader.getSurface()); in readerWriterFormatTestByCamera()
269 CaptureRequest.Builder requestBuilder = prepareCaptureRequestForSurfaces(outputSurfaces, in readerWriterFormatTestByCamera()
DCaptureResultTest.java113 List<Surface> outputSurfaces = new ArrayList<Surface>(1); in testCameraCaptureResultAllKeys() local
114 outputSurfaces.add(mReaderSurface); in testCameraCaptureResultAllKeys()
115 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()
304 List<Surface> outputSurfaces = new ArrayList<>(Arrays.asList( in testResultTimestamps() local
310 mCamera, outputSurfaces, mHandler); in testResultTimestamps()
DMultiResolutionImageReaderTest.java286 List<Surface> outputSurfaces = new ArrayList<Surface>(); in testMultiResolutionMandatoryStreamCombination() local
290 targets, outputConfigs, outputSurfaces, MIN_RESULT_COUNT, in testMultiResolutionMandatoryStreamCombination() local
299 for (Surface s : outputSurfaces) { in testMultiResolutionMandatoryStreamCombination()
DConcurrentCameraTest.java77 public List<Surface> outputSurfaces = new ArrayList<Surface>(); field in ConcurrentCameraTest.TestSample
247 outputConfigs, testSample.outputSurfaces, MIN_RESULT_COUNT, in testMandatoryConcurrentStreamCombination()
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()
DMultiResolutionReprocessCaptureTest.java329 List<Surface> outputSurfaces = new ArrayList<Surface>(); in testMultiResolutionMandatoryStreamCombination() local
346 targets, outputConfigs, outputSurfaces, NUM_REPROCESS_CAPTURES_PER_CONFIG, in testMultiResolutionMandatoryStreamCombination()
373 outputSurfaces.add(inputReader.getSurface()); in testMultiResolutionMandatoryStreamCombination()
DStillCaptureTest.java1116 List<Surface> outputSurfaces = new ArrayList<Surface>(); in fullRawCaptureTestByCamera() local
1117 outputSurfaces.add(rawReader.getSurface()); in fullRawCaptureTestByCamera()
1118 outputSurfaces.add(jpegReader.getSurface()); in fullRawCaptureTestByCamera()
1119 outputSurfaces.add(mPreviewSurface); in fullRawCaptureTestByCamera()
1121 mSession = configureCameraSession(mCamera, outputSurfaces, in fullRawCaptureTestByCamera()
DCameraDeviceTest.java1369 ArrayList<Surface> outputSurfaces = new ArrayList<Surface>( in prepareTestByCamera() local
1371 mCamera.createCaptureSession(outputSurfaces, mSessionMockListener, mHandler); in prepareTestByCamera()
1410 outputSurfaces = new ArrayList<>( in prepareTestByCamera()
1412 mCamera.createCaptureSession(outputSurfaces, mSessionMockListener, mHandler); in prepareTestByCamera()
1447 List<Surface> outputSurfaces = new ArrayList<>( in prepareTestForSharedSurfacesByCamera() local
1879 List<Surface> outputSurfaces = new ArrayList<>(Arrays.asList(mReaderSurface)); in prepareCapture() local
1880 mCamera.createCaptureSession(outputSurfaces, mSessionMockListener, mHandler); in prepareCapture()
DReprocessCaptureTest.java1384 Surface[] outputSurfaces = new Surface[isReprocessCaptures.length]; in doMixedReprocessBurstCapture() local
1386 outputSurfaces[i] = getReprocessOutputImageReader().getSurface(); in doMixedReprocessBurstCapture()
1389 TotalCaptureResult[] finalResults = submitMixedCaptureBurstRequest(outputSurfaces, results); in doMixedReprocessBurstCapture()
DRobustnessTest.java368 List<Surface> outputSurfaces = new ArrayList<Surface>(); in testMandatoryStreamCombination() local
373 targets, outputConfigs, outputSurfaces, uhOutputSurfaces, MIN_RESULT_COUNT, in testMandatoryStreamCombination() local
384 for (Surface s : outputSurfaces) { in testMandatoryStreamCombination()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java215 List<Surface> outputSurfaces = new ArrayList<Surface>(/*capacity*/1); in configurePreviewOutput() local
216 outputSurfaces.add(mPreviewSurface); in configurePreviewOutput()
218 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in configurePreviewOutput()
604 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareStillCaptureAndStartPreview() local
605 outputSurfaces.add(mPreviewSurface); in prepareStillCaptureAndStartPreview()
609 outputSurfaces.add(readers[i].getSurface()); in prepareStillCaptureAndStartPreview()
613 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in prepareStillCaptureAndStartPreview()
786 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareCaptureAndStartPreview() local
787 outputSurfaces.add(mPreviewSurface); in prepareCaptureAndStartPreview()
788 outputSurfaces.add(mReaderSurface); in prepareCaptureAndStartPreview()
[all …]
DCamera2AndroidTestCase.java253 protected void createSession(List<Surface> outputSurfaces) throws Exception { in createSession() argument
255 mCameraSession = CameraTestUtils.configureCameraSession(mCamera, outputSurfaces, in createSession()
266 List<Surface> outputSurfaces) throws Exception { in createReprocessableSession() argument
269 mCamera, inputConfig, outputSurfaces, mCameraSessionListener, mHandler); in createReprocessableSession()
475 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareCaptureRequest() local
478 outputSurfaces.add(surface); in prepareCaptureRequest()
479 return prepareCaptureRequestForSurfaces(outputSurfaces, template) in prepareCaptureRequest()
DCamera2MultiViewTestCase.java242 String cameraId, List<Surface> outputSurfaces, CaptureCallback listener) in startPreview() argument
246 camera.startPreview(outputSurfaces, listener); in startPreview()
471 public void startPreview(List<Surface> outputSurfaces, CaptureCallback listener) in startPreview() argument
474 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in startPreview()
475 if (outputSurfaces.isEmpty()) { in startPreview()
483 for (Surface surface : outputSurfaces) { in startPreview()
DCamera2AndroidTestRule.java378 public void createSession(List<Surface> outputSurfaces) throws Exception { in createSession() argument
380 mCameraSession = CameraTestUtils.configureCameraSession(mCamera, outputSurfaces, in createSession()
579 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareCaptureRequest() local
582 outputSurfaces.add(surface); in prepareCaptureRequest()
583 return prepareCaptureRequestForSurfaces(outputSurfaces, template) in prepareCaptureRequest()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java281 List<OutputConfiguration> outputConfigs, List<Surface> outputSurfaces, in configureTarget() argument
294 outputSurfaces.add(multiResReader.getSurface()); in configureTarget()
320 outputSurfaces.add(config.getSurface()); in configureTarget()
331 outputSurfaces.add(config.getSurface()); in configureTarget()
362 List<Surface> outputSurfaces, int numBuffers, in setupConfigurationTargets() argument
366 setupConfigurationTargets(streamsInfo, targets, outputConfigs, outputSurfaces, uhSurfaces, in setupConfigurationTargets()
374 List<Surface> outputSurfaces, List<Surface> uhSurfaces, int numBuffers, in setupConfigurationTargets() argument
384 chosenSurfaces = outputSurfaces; in setupConfigurationTargets()
1243 List<Surface> outputSurfaces, boolean isHighSpeed, in configureCameraSession() argument
1248 camera.createConstrainedHighSpeedCaptureSession(outputSurfaces, in configureCameraSession()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java780 List<Surface> outputSurfaces = new ArrayList<Surface>(/*capacity*/3); in startPreview() local
781 outputSurfaces.add(mPreviewSurface); in startPreview()
782 outputSurfaces.add(mYuvImageReader.getSurface()); in startPreview()
783 outputSurfaces.add(mJpegImageReader.getSurface()); in startPreview()
784 mCameraDevice.createCaptureSession(outputSurfaces, mSessionListener, mCameraHandler); in startPreview()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java1809 List<Surface> outputSurfaces = new ArrayList<Surface>();
1812 outputSurfaces.add(mOutputImageReaders[i].getSurface());
1823 outputSurfaces.add(mInputImageReader.getSurface());
1827 mCamera.createReprocessableCaptureSession(inputConfig, outputSurfaces, sessionListener,