/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | SurfaceViewPreviewTest.java | 232 List<Surface> outputSurfaces = new ArrayList<Surface>(); in preparePerformanceTestByCamera() local 233 outputSurfaces.add(mPreviewSurface); in preparePerformanceTestByCamera() 234 outputSurfaces.add(mReaderSurface); in preparePerformanceTestByCamera() 239 mSession = configureCameraSession(mCamera, outputSurfaces, mockSessionListener, mHandler); in preparePerformanceTestByCamera() 384 List<Surface> outputSurfaces = new ArrayList<Surface>(); in surfaceEqualityTestByCamera() local 385 outputSurfaces.add(mPreviewSurface); in surfaceEqualityTestByCamera() 386 outputSurfaces.add(sharedOutputSurface1); in surfaceEqualityTestByCamera() 391 mSession = configureCameraSession(mCamera, outputSurfaces, sessionListener, mHandler); in surfaceEqualityTestByCamera() 420 outputSurfaces.clear(); in surfaceEqualityTestByCamera() 421 outputSurfaces.add(mPreviewSurface); in surfaceEqualityTestByCamera() [all …]
|
D | RecordingTest.java | 404 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 …]
|
D | ImageReaderTest.java | 512 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 …]
|
D | PerformanceTest.java | 1175 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 …]
|
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() 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()
|
D | ImageWriterTest.java | 221 List<Surface> outputSurfaces = new ArrayList<Surface>(); in readerWriterFormatTestByCamera() local 222 outputSurfaces.add(mReader.getSurface()); in readerWriterFormatTestByCamera() 223 CaptureRequest.Builder requestBuilder = prepareCaptureRequestForSurfaces(outputSurfaces, in readerWriterFormatTestByCamera()
|
D | DngCreatorTest.java | 691 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()
|
D | RobustnessTest.java | 563 ArrayList<Surface> outputSurfaces = new ArrayList<>(); in testMandatoryReprocessableStreamCombination() local 595 outputSurfaces.ensureCapacity(outputConfigs.size()); in testMandatoryReprocessableStreamCombination() 597 outputSurfaces.add(config.getSurface()); in testMandatoryReprocessableStreamCombination() 620 outputSurfaces.add(inputReader.getSurface()); in testMandatoryReprocessableStreamCombination() 622 checkSessionConfigurationWithSurfaces(mCamera, mHandler, outputSurfaces, in testMandatoryReprocessableStreamCombination() 630 inputConfig, outputSurfaces, sessionListener, mHandler); in testMandatoryReprocessableStreamCombination()
|
D | AllocationTest.java | 354 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()
|
D | StillCaptureTest.java | 1113 List<Surface> outputSurfaces = new ArrayList<Surface>(); in fullRawCaptureTestByCamera() local 1114 outputSurfaces.add(rawReader.getSurface()); in fullRawCaptureTestByCamera() 1115 outputSurfaces.add(jpegReader.getSurface()); in fullRawCaptureTestByCamera() 1116 outputSurfaces.add(mPreviewSurface); in fullRawCaptureTestByCamera() 1118 mSession = configureCameraSession(mCamera, outputSurfaces, in fullRawCaptureTestByCamera()
|
D | CameraDeviceTest.java | 1347 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()
|
D | ReprocessCaptureTest.java | 1305 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/ |
D | Camera2SurfaceViewTestCase.java | 227 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() 616 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareStillCaptureAndStartPreview() local 617 outputSurfaces.add(mPreviewSurface); in prepareStillCaptureAndStartPreview() 621 outputSurfaces.add(readers[i].getSurface()); in prepareStillCaptureAndStartPreview() 625 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in prepareStillCaptureAndStartPreview() 798 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareCaptureAndStartPreview() local 799 outputSurfaces.add(mPreviewSurface); in prepareCaptureAndStartPreview() 800 outputSurfaces.add(mReaderSurface); in prepareCaptureAndStartPreview() [all …]
|
D | Camera2AndroidTestCase.java | 259 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()
|
D | Camera2MultiViewTestCase.java | 255 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/ |
D | CameraTestUtils.java | 770 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/ |
D | ItsService.java | 1640 List<Surface> outputSurfaces = new ArrayList<Surface>(); 1643 outputSurfaces.add(mOutputImageReaders[i].getSurface()); 1654 outputSurfaces.add(mInputImageReader.getSurface()); 1658 mCamera.createReprocessableCaptureSession(inputConfig, outputSurfaces, sessionListener,
|