Home
last modified time | relevance | path

Searched refs:outputConfigs (Results 1 – 9 of 9) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DLogicalCameraDeviceTest.java243 List<OutputConfiguration> outputConfigs = new ArrayList<>(); in testBasicLogicalPhysicalStreamCombination() local
251 outputConfigs.add(config); in testBasicLogicalPhysicalStreamCombination()
257 outputConfigs.add(new OutputConfiguration(yuvTargetLogical.getSurface())); in testBasicLogicalPhysicalStreamCombination()
261 mCamera, mHandler, outputConfigs, /*inputConfig*/ null, in testBasicLogicalPhysicalStreamCombination()
270 mSession = configureCameraSessionWithConfig(mCamera, outputConfigs, in testBasicLogicalPhysicalStreamCombination()
373 List<OutputConfiguration> outputConfigs = new ArrayList<>(); in testBasicPhysicalRequests() local
383 outputConfigs.add(config); in testBasicPhysicalRequests()
389 mCamera, mHandler, outputConfigs, /*inputConfig*/ null, in testBasicPhysicalRequests()
399 for (OutputConfiguration c : outputConfigs) { in testBasicPhysicalRequests()
404 mSession = configureCameraSessionWithConfig(mCamera, outputConfigs, in testBasicPhysicalRequests()
[all …]
DMultiViewTest.java296 OutputConfiguration[] outputConfigs = new OutputConfiguration[2]; in testSharedSurfaceBasicByCamera() local
310 outputConfigs[i] = new OutputConfiguration(surfaces[i]); in testSharedSurfaceBasicByCamera()
311 outputConfigs[i].enableSurfaceSharing(); in testSharedSurfaceBasicByCamera()
312 outputConfigurations.add(outputConfigs[i]); in testSharedSurfaceBasicByCamera()
323 outputConfigs[1].addSurface(surfaces[0]); in testSharedSurfaceBasicByCamera()
324 updateOutputConfiguration(cameraId, outputConfigs[1]); in testSharedSurfaceBasicByCamera()
328 outputConfigs[1].removeSurface(surfaces[0]); in testSharedSurfaceBasicByCamera()
332 outputConfigs[1].removeSurface(surfaces[1]); in testSharedSurfaceBasicByCamera()
339 outputConfigs[0].addSurface(surfaces[1]); in testSharedSurfaceBasicByCamera()
340 updateOutputConfiguration(cameraId, outputConfigs[0]); in testSharedSurfaceBasicByCamera()
[all …]
DRobustnessTest.java218 List<OutputConfiguration> outputConfigs, in setupConfigurationTargets() argument
247 outputConfigs.add(config); in setupConfigurationTargets()
259 outputConfigs.add(config); in setupConfigurationTargets()
271 outputConfigs.add(config); in setupConfigurationTargets()
283 outputConfigs.add(config); in setupConfigurationTargets()
299 outputConfigs.add(config); in setupConfigurationTargets()
312 outputConfigs.add(config); in setupConfigurationTargets()
381 List<OutputConfiguration> outputConfigs = new ArrayList<OutputConfiguration>(); in testMandatoryStreamCombination() local
390 yuvTargets, y8Targets, rawTargets, heicTargets, outputConfigs, MIN_RESULT_COUNT, in testMandatoryStreamCombination() local
398 for (OutputConfiguration c : outputConfigs) { in testMandatoryStreamCombination()
[all …]
DSurfaceViewPreviewTest.java836 List<OutputConfiguration> outputConfigs = new ArrayList<OutputConfiguration>(); in surfaceSetTestByCamera() local
843 outputConfigs.add(previewConfig); in surfaceSetTestByCamera()
844 outputConfigs.add(yuvConfig); in surfaceSetTestByCamera()
857 outputConfigs.clear(); in surfaceSetTestByCamera()
858 outputConfigs.add(previewConfig); in surfaceSetTestByCamera()
859 outputConfigs.add(yuvConfig); in surfaceSetTestByCamera()
861 for (OutputConfiguration config : outputConfigs) { in surfaceSetTestByCamera()
868 mSession = configureCameraSessionWithConfig(mCamera, outputConfigs, in surfaceSetTestByCamera()
DRecordingTest.java1684 List<OutputConfiguration> outputConfigs = new ArrayList<OutputConfiguration>(2); in startSharedRecording() local
1690 outputConfigs.add(sharedConfig); in startSharedRecording()
1693 mSession = tryConfigureCameraSessionWithConfig(mCamera, outputConfigs, in startSharedRecording()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java271 … protected void createSessionByConfigs(List<OutputConfiguration> outputConfigs) throws Exception { in createSessionByConfigs() argument
273 mCameraSession = CameraTestUtils.configureCameraSessionWithConfig(mCamera, outputConfigs, in createSessionByConfigs()
448 List<OutputConfiguration> outputConfigs = new ArrayList<OutputConfiguration>(); in checkImageReaderSessionConfiguration() local
449 outputConfigs.add(new OutputConfiguration(mReaderSurface)); in checkImageReaderSessionConfiguration()
451 checkSessionConfigurationSupported(mCamera, mHandler, outputConfigs, /*inputConfig*/ null, in checkImageReaderSessionConfiguration()
484 List<OutputConfiguration> outputConfigs, int template) throws Exception { in prepareCaptureRequestForConfigs() argument
485 createSessionByConfigs(outputConfigs); in prepareCaptureRequestForConfigs()
490 for (OutputConfiguration config : outputConfigs) { in prepareCaptureRequestForConfigs()
DCamera2MultiViewTestCase.java263 List<OutputConfiguration> outputConfigs, in startPreviewWithConfigs() argument
268 return camera.startPreviewWithConfigs(outputConfigs, listener); in startPreviewWithConfigs()
526 public void createSessionWithConfigs(List<OutputConfiguration> outputConfigs) in createSessionWithConfigs() argument
529 … mSession = configureCameraSessionWithConfig(mCamera, outputConfigs, mSessionListener, mHandler); in createSessionWithConfigs()
546 public int startPreviewWithConfigs(List<OutputConfiguration> outputConfigs, in startPreviewWithConfigs() argument
549 checkSessionConfigurationSupported(mCamera, mHandler, outputConfigs, in startPreviewWithConfigs()
552 createSessionWithConfigs(outputConfigs); in startPreviewWithConfigs()
557 for (OutputConfiguration config : outputConfigs) { in startPreviewWithConfigs()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java997 List<OutputConfiguration> outputConfigs =
1005 outputConfigs.add(config);
1010 SessionConfiguration.SESSION_REGULAR, outputConfigs,
1091 List<OutputConfiguration> outputConfigs = new ArrayList<OutputConfiguration>(1);
1097 outputConfigs.add(config);
1100 outputConfigs, sessionListener, mCameraHandler);
1495 List<OutputConfiguration> outputConfigs =
1503 outputConfigs.add(config);
1505 mCamera.createCaptureSessionByOutputConfigurations(outputConfigs,
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2744 Handler handler, List<OutputConfiguration> outputConfigs, in checkSessionConfigurationSupported() argument
2748 isSessionConfigSupported(camera, handler, outputConfigs, inputConfig, in checkSessionConfigurationSupported()
2758 Handler handler, List<OutputConfiguration> outputConfigs, in isSessionConfigSupported() argument
2763 SessionConfiguration sessionConfig = new SessionConfiguration(operatingMode, outputConfigs, in isSessionConfigSupported()