/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | SurfaceViewPreviewTest.java | 221 List<Surface> outputSurfaces = new ArrayList<Surface>(); in preparePerformanceTestByCamera() local 222 outputSurfaces.add(mPreviewSurface); in preparePerformanceTestByCamera() 223 outputSurfaces.add(mReaderSurface); in preparePerformanceTestByCamera() 228 mSession = configureCameraSession(mCamera, outputSurfaces, mockSessionListener, mHandler); in preparePerformanceTestByCamera() 370 List<Surface> outputSurfaces = new ArrayList<Surface>(); in surfaceEqualityTestByCamera() local 371 outputSurfaces.add(mPreviewSurface); in surfaceEqualityTestByCamera() 372 outputSurfaces.add(sharedOutputSurface1); in surfaceEqualityTestByCamera() 377 mSession = configureCameraSession(mCamera, outputSurfaces, sessionListener, mHandler); in surfaceEqualityTestByCamera() 406 outputSurfaces.clear(); in surfaceEqualityTestByCamera() 407 outputSurfaces.add(mPreviewSurface); in surfaceEqualityTestByCamera() [all …]
|
D | RecordingTest.java | 356 List<Surface> outputSurfaces = new ArrayList<Surface>(2); in testAbandonedHighSpeedRequest() local 360 outputSurfaces.add(mPreviewSurface); in testAbandonedHighSpeedRequest() 361 outputSurfaces.add(mRecordingSurface); in testAbandonedHighSpeedRequest() 364 mSession = configureCameraSession(mCamera, outputSurfaces, /*highSpeed*/true, in testAbandonedHighSpeedRequest() 391 outputSurfaces = new ArrayList<Surface>(); in testAbandonedHighSpeedRequest() 392 outputSurfaces.add(previewSurface); in testAbandonedHighSpeedRequest() 397 mSession = configureCameraSession(mCamera, outputSurfaces, /*highSpeed*/true, in testAbandonedHighSpeedRequest() 811 List<Surface> outputSurfaces = new ArrayList<Surface>(1); in startConstrainedPreview() local 813 outputSurfaces.add(mPreviewSurface); in startConstrainedPreview() 815 mSession = configureCameraSession(mCamera, outputSurfaces, /*isHighSpeed*/ true, in startConstrainedPreview() [all …]
|
D | ImageReaderTest.java | 393 List<Surface> outputSurfaces = new ArrayList<Surface>(); in testAllOutputYUVResolutions() local 394 outputSurfaces.add(yuvSurface); in testAllOutputYUVResolutions() 395 outputSurfaces.add(jpegSurface); in testAllOutputYUVResolutions() 396 createSession(outputSurfaces); in testAllOutputYUVResolutions() 439 for (Surface s : outputSurfaces) { in testAllOutputYUVResolutions() 710 List<Surface> outputSurfaces = new ArrayList<Surface>(); in bufferFormatWithYuvTestByCamera() local 711 outputSurfaces.add(yuvSurface); in bufferFormatWithYuvTestByCamera() 712 outputSurfaces.add(captureSurface); in bufferFormatWithYuvTestByCamera() 713 CaptureRequest.Builder request = prepareCaptureRequestForSurfaces(outputSurfaces, in bufferFormatWithYuvTestByCamera() 878 List<Surface> outputSurfaces = new ArrayList<Surface>(); in bufferFormatLongProcessingTimeTestByCamera() local [all …]
|
D | ImageWriterTest.java | 182 List<Surface> outputSurfaces = new ArrayList<Surface>(); in readerWriterFormatTestByCamera() local 183 outputSurfaces.add(mReader.getSurface()); in readerWriterFormatTestByCamera() 184 CaptureRequest.Builder requestBuilder = prepareCaptureRequestForSurfaces(outputSurfaces, in readerWriterFormatTestByCamera()
|
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() 298 List<Surface> outputSurfaces = new ArrayList<>(Arrays.asList( in testResultTimestamps() local 304 mCamera, outputSurfaces, mHandler); in testResultTimestamps()
|
D | DngCreatorTest.java | 695 final List<Surface> outputSurfaces = new ArrayList<Surface>(); in captureRawShots() local 698 outputSurfaces.add(captureSurface); in captureRawShots() 705 for (Surface surface : outputSurfaces) { in captureRawShots() 717 outputSurfaces.add(previewReader.getSurface()); in captureRawShots() 720 createSession(outputSurfaces); in captureRawShots()
|
D | StillCaptureTest.java | 994 List<Surface> outputSurfaces = new ArrayList<Surface>(); in fullRawCaptureTestByCamera() local 995 outputSurfaces.add(rawReader.getSurface()); in fullRawCaptureTestByCamera() 996 outputSurfaces.add(jpegReader.getSurface()); in fullRawCaptureTestByCamera() 997 outputSurfaces.add(mPreviewSurface); in fullRawCaptureTestByCamera() 999 mSession = configureCameraSession(mCamera, outputSurfaces, in fullRawCaptureTestByCamera()
|
D | AllocationTest.java | 356 List<Surface> outputSurfaces = new ArrayList<Surface>(/*capacity*/1); in configureAndCreateRequestForSurface() local 358 outputSurfaces.add(cameraTarget); in configureAndCreateRequestForSurface() 361 mCamera.createCaptureSession(outputSurfaces, mSessionListener, mHandler); in configureAndCreateRequestForSurface()
|
D | PerformanceTest.java | 1052 List<Surface> outputSurfaces = new ArrayList<>(); in configureReaderAndPreviewOutputs() local 1054 outputSurfaces.add(mPreviewSurface); in configureReaderAndPreviewOutputs() 1056 outputSurfaces.add(mReaderSurface); in configureReaderAndPreviewOutputs() 1057 mSession = CameraTestUtils.configureCameraSession(mCamera, outputSurfaces, in configureReaderAndPreviewOutputs()
|
D | CameraDeviceTest.java | 1334 ArrayList<Surface> outputSurfaces = new ArrayList<Surface>( in prepareTestByCamera() local 1336 mCamera.createCaptureSession(outputSurfaces, mSessionMockListener, mHandler); in prepareTestByCamera() 1375 outputSurfaces = new ArrayList<>( in prepareTestByCamera() 1377 mCamera.createCaptureSession(outputSurfaces, mSessionMockListener, mHandler); in prepareTestByCamera() 1412 List<Surface> outputSurfaces = new ArrayList<>( in prepareTestForSharedSurfacesByCamera() local 1841 List<Surface> outputSurfaces = new ArrayList<>(Arrays.asList(mReaderSurface)); in prepareCapture() local 1842 mCamera.createCaptureSession(outputSurfaces, mSessionMockListener, mHandler); in prepareCapture()
|
D | RobustnessTest.java | 1605 List<Surface> outputSurfaces = new ArrayList<>(); in testReprocessStreamCombination() local 1627 maxSizes, privTargets, jpegTargets, yuvTargets, rawTargets, outputSurfaces, in testReprocessStreamCombination() local 1646 outputSurfaces.add(inputReader.getSurface()); in testReprocessStreamCombination() 1651 inputConfig, outputSurfaces, sessionListener, mHandler); in testReprocessStreamCombination() 1936 List<Surface> outputSurfaces, int numBuffers) { in setupConfigurationTargets() argument 1944 outputSurfaces.add(outputConfig.getSurface()); in setupConfigurationTargets()
|
D | ReprocessCaptureTest.java | 1233 Surface[] outputSurfaces = new Surface[isReprocessCaptures.length]; in doMixedReprocessBurstCapture() local 1235 outputSurfaces[i] = getReprocessOutputImageReader().getSurface(); in doMixedReprocessBurstCapture() 1238 TotalCaptureResult[] finalResults = submitMixedCaptureBurstRequest(outputSurfaces, results); in doMixedReprocessBurstCapture()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2AndroidTestCase.java | 233 protected void createSession(List<Surface> outputSurfaces) throws Exception { in createSession() argument 235 mCameraSession = CameraTestUtils.configureCameraSession(mCamera, outputSurfaces, in createSession() 374 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareCaptureRequest() local 377 outputSurfaces.add(surface); in prepareCaptureRequest() 378 return prepareCaptureRequestForSurfaces(outputSurfaces, CameraDevice.TEMPLATE_PREVIEW) in prepareCaptureRequest()
|
D | Camera2SurfaceViewTestCase.java | 204 List<Surface> outputSurfaces = new ArrayList<Surface>(/*capacity*/1); in configurePreviewOutput() local 205 outputSurfaces.add(mPreviewSurface); in configurePreviewOutput() 207 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in configurePreviewOutput() 743 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareCaptureAndStartPreview() local 744 outputSurfaces.add(mPreviewSurface); in prepareCaptureAndStartPreview() 745 outputSurfaces.add(mReaderSurface); in prepareCaptureAndStartPreview() 751 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in prepareCaptureAndStartPreview()
|
D | Camera2MultiViewTestCase.java | 251 String cameraId, List<Surface> outputSurfaces, CaptureCallback listener) in startPreview() argument 255 camera.startPreview(outputSurfaces, listener); in startPreview() 462 public void startPreview(List<Surface> outputSurfaces, CaptureCallback listener) in startPreview() argument 465 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in startPreview() 466 if (outputSurfaces.isEmpty()) { in startPreview() 474 for (Surface surface : outputSurfaces) { in startPreview()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 762 List<Surface> outputSurfaces, boolean isHighSpeed, in configureCameraSession() argument 767 camera.createConstrainedHighSpeedCaptureSession(outputSurfaces, in configureCameraSession() 770 camera.createCaptureSession(outputSurfaces, sessionListener, handler); in configureCameraSession() 793 List<Surface> outputSurfaces, boolean isHighSpeed, in buildConstrainedCameraSession() argument 801 List<OutputConfiguration> outConfigurations = new ArrayList<>(outputSurfaces.size()); in buildConstrainedCameraSession() 802 for (Surface surface : outputSurfaces) { in buildConstrainedCameraSession() 879 List<Surface> outputSurfaces, in configureCameraSession() argument 883 return configureCameraSession(camera, outputSurfaces, /*isHighSpeed*/false, in configureCameraSession() 888 InputConfiguration inputConfiguration, List<Surface> outputSurfaces, in configureReprocessableCameraSession() argument 892 camera.createReprocessableCaptureSession(inputConfiguration, outputSurfaces, in configureReprocessableCameraSession() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 1014 List<Surface> outputSurfaces = new ArrayList<Surface>(1); 1015 outputSurfaces.add(mOutputImageReaders[0].getSurface()); 1017 mCamera.createCaptureSession(outputSurfaces, sessionListener, mCameraHandler); 1530 List<Surface> outputSurfaces = new ArrayList<Surface>(); 1533 outputSurfaces.add(mOutputImageReaders[i].getSurface()); 1544 outputSurfaces.add(mInputImageReader.getSurface()); 1548 mCamera.createReprocessableCaptureSession(inputConfig, outputSurfaces, sessionListener,
|