/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | SurfaceViewPreviewTest.java | 236 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() 357 List<Surface> outputSurfaces = new ArrayList<Surface>(); in surfaceEqualityTestByCamera() local 358 outputSurfaces.add(mPreviewSurface); in surfaceEqualityTestByCamera() 359 outputSurfaces.add(sharedOutputSurface1); in surfaceEqualityTestByCamera() 364 mSession = configureCameraSession(mCamera, outputSurfaces, sessionListener, mHandler); in surfaceEqualityTestByCamera() 393 outputSurfaces.clear(); in surfaceEqualityTestByCamera() 394 outputSurfaces.add(mPreviewSurface); in surfaceEqualityTestByCamera() [all …]
|
D | RecordingTest.java | 580 List<Surface> outputSurfaces = new ArrayList<Surface>(2); in testBasic10BitRecording() local 584 outputSurfaces.add(mPreviewSurface); in testBasic10BitRecording() 585 outputSurfaces.add(recordingSurface); in testBasic10BitRecording() 601 new ArrayList<>(outputSurfaces.size()); in testBasic10BitRecording() 602 for (Surface s : outputSurfaces) { in testBasic10BitRecording() 760 List<Surface> outputSurfaces = new ArrayList<Surface>(2); in testAbandonedHighSpeedRequest() local 764 outputSurfaces.add(mPreviewSurface); in testAbandonedHighSpeedRequest() 765 outputSurfaces.add(mRecordingSurface); in testAbandonedHighSpeedRequest() 768 mSession = configureCameraSession(mCamera, outputSurfaces, /*highSpeed*/true, in testAbandonedHighSpeedRequest() 795 outputSurfaces = new ArrayList<Surface>(); in testAbandonedHighSpeedRequest() [all …]
|
D | OfflineSessionTest.java | 596 ArrayList<Surface> outputSurfaces = new ArrayList<Surface>(); in camera2OfflineSessionTest() local 597 outputSurfaces.add(mPreviewSurface); in camera2OfflineSessionTest() 598 outputSurfaces.add(mReaderSurface); in camera2OfflineSessionTest() 602 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in camera2OfflineSessionTest() 699 outputSurfaces.remove(mReaderSurface); in camera2OfflineSessionTest() 707 outputSurfaces.add(yuvCallbackReader.getSurface()); in camera2OfflineSessionTest() 711 outputSurfaces.add(jpegReader.getSurface()); in camera2OfflineSessionTest() 716 outputSurfaces.add(privateReader.getSurface()); in camera2OfflineSessionTest() 722 inputConfig, outputSurfaces, mSessionListener, mHandler); in camera2OfflineSessionTest() 725 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, in camera2OfflineSessionTest()
|
D | DngCreatorTest.java | 988 ArrayList<Surface> outputSurfaces = new ArrayList<Surface>(); in captureReprocessedRawShot() local 989 outputSurfaces.add(inputReader.getSurface()); in captureReprocessedRawShot() 990 outputSurfaces.add(reprocessOutputReader.getSurface()); in captureReprocessedRawShot() 1000 outputSurfaces.add(previewReader.getSurface()); in captureReprocessedRawShot() 1003 createReprocessableSession(inputConfig, outputSurfaces); in captureReprocessedRawShot() 1133 final List<Surface> outputSurfaces = new ArrayList<Surface>(); in captureRawShots() local 1136 outputSurfaces.add(captureSurface); in captureRawShots() 1145 for (Surface surface : outputSurfaces) { in captureRawShots() 1157 outputSurfaces.add(previewReader.getSurface()); in captureRawShots() 1160 createSession(outputSurfaces); in captureRawShots()
|
D | CaptureResultTest.java | 114 List<Surface> outputSurfaces = new ArrayList<Surface>(1); in testCameraCaptureResultAllKeys() local 115 outputSurfaces.add(mReaderSurface); in testCameraCaptureResultAllKeys() 116 createSession(outputSurfaces); in testCameraCaptureResultAllKeys() 177 List<Surface> outputSurfaces = new ArrayList<Surface>(1); in testPartialResult() local 178 outputSurfaces.add(mReaderSurface); in testPartialResult() 179 createSession(outputSurfaces); in testPartialResult() 305 List<Surface> outputSurfaces = new ArrayList<>(Arrays.asList( in testResultTimestamps() local 311 mCamera, outputSurfaces, mHandler); in testResultTimestamps()
|
D | PerformanceTest.java | 1783 List<Surface> outputSurfaces = new ArrayList<Surface>(); 1784 outputSurfaces.add(mPreviewSurface); 1788 outputSurfaces.add(readers[i].getSurface()); 1814 configureAndSetCameraSession(outputSurfaces, useSessionKeys, previewRequest); 1906 List<Surface> outputSurfaces = new ArrayList<Surface>(); 1907 outputSurfaces.add(mPreviewSurface); 1908 outputSurfaces.add(mTestRule.getReaderSurface()); 1921 configureAndSetCameraSession(outputSurfaces, useSessionKeys, previewRequest); 2015 List<Surface> outputSurfaces = new ArrayList<>(); 2016 outputSurfaces.add(mTestRule.getReaderSurface()); [all …]
|
D | ImageReaderTest.java | 1118 List<Surface> outputSurfaces = new ArrayList<Surface>(); in testAllOutputYUVResolutions() local 1119 outputSurfaces.add(yuvSurface); in testAllOutputYUVResolutions() 1120 outputSurfaces.add(jpegSurface); in testAllOutputYUVResolutions() 1121 createSession(outputSurfaces); in testAllOutputYUVResolutions() 1172 for (Surface s : outputSurfaces) { in testAllOutputYUVResolutions() 1581 List<Surface> outputSurfaces = new ArrayList<Surface>(); in bufferFormatWithYuvTestByCamera() local 1582 outputSurfaces.add(yuvSurface); in bufferFormatWithYuvTestByCamera() 1583 outputSurfaces.add(captureSurface); in bufferFormatWithYuvTestByCamera() 1584 CaptureRequest.Builder request = prepareCaptureRequestForSurfaces(outputSurfaces, in bufferFormatWithYuvTestByCamera() 1869 List<Surface> outputSurfaces = new ArrayList<Surface>(); in bufferFormatLongProcessingTimeTestByCamera() local [all …]
|
D | MultiResolutionImageReaderTest.java | 291 List<Surface> outputSurfaces = new ArrayList<Surface>(); in testMultiResolutionMandatoryStreamCombination() local 295 targets, outputConfigs, outputSurfaces, MIN_RESULT_COUNT, in testMultiResolutionMandatoryStreamCombination() local 304 for (Surface s : outputSurfaces) { in testMultiResolutionMandatoryStreamCombination()
|
D | ConcurrentCameraTest.java | 77 public List<Surface> outputSurfaces = new ArrayList<Surface>(); field in ConcurrentCameraTest.TestSample 247 outputConfigs, testSample.outputSurfaces, MIN_RESULT_COUNT, in testMandatoryConcurrentStreamCombination()
|
D | ImageWriterTest.java | 473 List<Surface> outputSurfaces = new ArrayList<Surface>(); in readerWriterFormatTestByCamera() local 474 outputSurfaces.add(mReader.getSurface()); in readerWriterFormatTestByCamera() 475 CaptureRequest.Builder requestBuilder = prepareCaptureRequestForSurfaces(outputSurfaces, in readerWriterFormatTestByCamera()
|
D | RobustnessTest.java | 411 List<Surface> outputSurfaces = new ArrayList<Surface>(); in testMandatoryOutputCombinationWithPresetKeys() local 416 targets, outputConfigs, outputSurfaces, uhOutputSurfaces, MIN_RESULT_COUNT, in testMandatoryOutputCombinationWithPresetKeys() local 432 for (Surface s : outputSurfaces) { in testMandatoryOutputCombinationWithPresetKeys() 566 List<Surface> outputSurfaces = new ArrayList<Surface>(); in testMandatoryStreamCombination() local 571 targets, outputConfigs, outputSurfaces, uhOutputSurfaces, MIN_RESULT_COUNT, in testMandatoryStreamCombination() local 582 for (Surface s : outputSurfaces) { in testMandatoryStreamCombination() 736 List<Surface> outputSurfaces = new ArrayList<Surface>(); in testMandatory10BitStreamCombination() local 741 targets, outputConfigs, outputSurfaces, uhOutputSurfaces, MIN_RESULT_COUNT, in testMandatory10BitStreamCombination() local 757 List<Surface> constrainedOutputs = new ArrayList<>(outputSurfaces); in testMandatory10BitStreamCombination() 759 while (!outputSurfaces.isEmpty()) { in testMandatory10BitStreamCombination() [all …]
|
D | MultiResolutionReprocessCaptureTest.java | 329 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()
|
D | StillCaptureTest.java | 1230 List<Surface> outputSurfaces = new ArrayList<Surface>(); in fullRawCaptureTestByCamera() local 1231 outputSurfaces.add(rawReader.getSurface()); in fullRawCaptureTestByCamera() 1232 outputSurfaces.add(jpegReader.getSurface()); in fullRawCaptureTestByCamera() 1233 outputSurfaces.add(mPreviewSurface); in fullRawCaptureTestByCamera() 1235 mSession = configureCameraSession(mCamera, outputSurfaces, in fullRawCaptureTestByCamera()
|
D | CameraDeviceTest.java | 1379 ArrayList<Surface> outputSurfaces = new ArrayList<Surface>( in prepareTestByCamera() local 1381 mCamera.createCaptureSession(outputSurfaces, mSessionMockListener, mHandler); in prepareTestByCamera() 1420 outputSurfaces = new ArrayList<>( in prepareTestByCamera() 1422 mCamera.createCaptureSession(outputSurfaces, mSessionMockListener, mHandler); in prepareTestByCamera() 1457 List<Surface> outputSurfaces = new ArrayList<>( in prepareTestForSharedSurfacesByCamera() local 1890 List<Surface> outputSurfaces = new ArrayList<>(Arrays.asList(mReaderSurface)); in prepareCapture() local 1891 mCamera.createCaptureSession(outputSurfaces, mSessionMockListener, mHandler); in prepareCapture()
|
D | ReprocessCaptureTest.java | 1385 Surface[] outputSurfaces = new Surface[isReprocessCaptures.length]; in doMixedReprocessBurstCapture() local 1387 outputSurfaces[i] = getReprocessOutputImageReader().getSurface(); in doMixedReprocessBurstCapture() 1390 TotalCaptureResult[] finalResults = submitMixedCaptureBurstRequest(outputSurfaces, results); in doMixedReprocessBurstCapture()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 216 List<Surface> outputSurfaces = new ArrayList<Surface>(/*capacity*/1); in configurePreviewOutput() local 217 outputSurfaces.add(mPreviewSurface); in configurePreviewOutput() 219 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in configurePreviewOutput() 605 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareStillCaptureAndStartPreview() local 606 outputSurfaces.add(mPreviewSurface); in prepareStillCaptureAndStartPreview() 610 outputSurfaces.add(readers[i].getSurface()); in prepareStillCaptureAndStartPreview() 614 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in prepareStillCaptureAndStartPreview() 787 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareCaptureAndStartPreview() local 788 outputSurfaces.add(mPreviewSurface); in prepareCaptureAndStartPreview() 789 outputSurfaces.add(mReaderSurface); in prepareCaptureAndStartPreview() [all …]
|
D | Camera2AndroidTestCase.java | 305 protected void createSession(List<Surface> outputSurfaces) throws Exception { in createSession() argument 307 mCameraSession = CameraTestUtils.configureCameraSession(mCamera, outputSurfaces, in createSession() 318 List<Surface> outputSurfaces) throws Exception { in createReprocessableSession() argument 321 mCamera, inputConfig, outputSurfaces, mCameraSessionListener, mHandler); in createReprocessableSession() 532 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareCaptureRequest() local 535 outputSurfaces.add(surface); in prepareCaptureRequest() 536 return prepareCaptureRequestForSurfaces(outputSurfaces, template) in prepareCaptureRequest()
|
D | Camera2MultiViewTestCase.java | 253 String cameraId, List<Surface> outputSurfaces, CaptureCallback listener) in startPreview() argument 257 camera.startPreview(outputSurfaces, listener); in startPreview() 491 public void startPreview(List<Surface> outputSurfaces, CaptureCallback listener) in startPreview() argument 494 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in startPreview() 495 if (outputSurfaces.isEmpty()) { in startPreview() 503 for (Surface surface : outputSurfaces) { in startPreview()
|
D | Camera2AndroidTestRule.java | 389 public void createSession(List<Surface> outputSurfaces) throws Exception { in createSession() argument 391 mCameraSession = CameraTestUtils.configureCameraSession(mCamera, outputSurfaces, in createSession() 590 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareCaptureRequest() local 593 outputSurfaces.add(surface); in prepareCaptureRequest() 594 return prepareCaptureRequestForSurfaces(outputSurfaces, template) in prepareCaptureRequest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | CameraMuteToggleActivity.java | 377 List<Surface> outputSurfaces = new ArrayList<Surface>(/*capacity*/3); in startPreview() local 378 outputSurfaces.add(mPreviewSurface); in startPreview() 379 outputSurfaces.add(mJpegImageReader.getSurface()); in startPreview() 380 mCameraDevice.createCaptureSession(outputSurfaces, mSessionListener, mCameraHandler); in startPreview()
|
D | ItsService.java | 4161 List<Surface> outputSurfaces = new ArrayList<Surface>(); 4164 outputSurfaces.add(mOutputImageReaders[i].getSurface()); 4175 outputSurfaces.add(mInputImageReader.getSurface()); 4179 mCamera.createReprocessableCaptureSession(inputConfig, outputSurfaces, sessionListener,
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 309 List<OutputConfiguration> outputConfigs, List<Surface> outputSurfaces, in configureTarget() argument 323 outputSurfaces.add(multiResReader.getSurface()); in configureTarget() 351 outputSurfaces.add(config.getSurface()); in configureTarget() 364 outputSurfaces.add(config.getSurface()); in configureTarget() 398 List<Surface> outputSurfaces, int numBuffers, in setupConfigurationTargets() argument 402 setupConfigurationTargets(streamsInfo, targets, outputConfigs, outputSurfaces, uhSurfaces, in setupConfigurationTargets() 410 List<Surface> outputSurfaces, List<Surface> uhSurfaces, int numBuffers, in setupConfigurationTargets() argument 413 setupConfigurationTargets(streamsInfo, targets, outputConfigs, outputSurfaces, uhSurfaces, in setupConfigurationTargets() 421 List<Surface> outputSurfaces, List<Surface> uhSurfaces, int numBuffers, in setupConfigurationTargets() argument 442 chosenSurfaces = outputSurfaces; in setupConfigurationTargets() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/ |
D | CameraBokehActivity.java | 903 List<Surface> outputSurfaces = new ArrayList<Surface>(/*capacity*/3); in startPreview() local 904 outputSurfaces.add(mPreviewSurface); in startPreview() 905 outputSurfaces.add(mYuvImageReader.getSurface()); in startPreview() 906 outputSurfaces.add(mJpegImageReader.getSurface()); in startPreview() 907 mCameraDevice.createCaptureSession(outputSurfaces, mSessionListener, mCameraHandler); in startPreview()
|