/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | LogicalCameraDeviceTest.java | 244 List<OutputConfiguration> outputConfigs = new ArrayList<>(); in testBasicLogicalPhysicalStreamCombination() local 252 outputConfigs.add(config); in testBasicLogicalPhysicalStreamCombination() 258 outputConfigs.add(new OutputConfiguration(yuvTargetLogical.getSurface())); in testBasicLogicalPhysicalStreamCombination() 262 mCamera, mHandler, outputConfigs, /*inputConfig*/ null, in testBasicLogicalPhysicalStreamCombination() 271 mSession = configureCameraSessionWithConfig(mCamera, outputConfigs, in testBasicLogicalPhysicalStreamCombination() 374 List<OutputConfiguration> outputConfigs = new ArrayList<>(); in testBasicPhysicalRequests() local 384 outputConfigs.add(config); in testBasicPhysicalRequests() 390 mCamera, mHandler, outputConfigs, /*inputConfig*/ null, in testBasicPhysicalRequests() 400 for (OutputConfiguration c : outputConfigs) { in testBasicPhysicalRequests() 405 mSession = configureCameraSessionWithConfig(mCamera, outputConfigs, in testBasicPhysicalRequests() [all …]
|
D | MultiViewTest.java | 296 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 …]
|
D | RobustnessTest.java | 223 List<OutputConfiguration> outputConfigs, in setupConfigurationTargets() argument 252 outputConfigs.add(config); in setupConfigurationTargets() 264 outputConfigs.add(config); in setupConfigurationTargets() 276 outputConfigs.add(config); in setupConfigurationTargets() 288 outputConfigs.add(config); in setupConfigurationTargets() 304 outputConfigs.add(config); in setupConfigurationTargets() 317 outputConfigs.add(config); in setupConfigurationTargets() 386 List<OutputConfiguration> outputConfigs = new ArrayList<OutputConfiguration>(); in testMandatoryStreamCombination() local 395 yuvTargets, y8Targets, rawTargets, heicTargets, outputConfigs, MIN_RESULT_COUNT, in testMandatoryStreamCombination() local 403 for (OutputConfiguration c : outputConfigs) { in testMandatoryStreamCombination() [all …]
|
D | SurfaceViewPreviewTest.java | 842 List<OutputConfiguration> outputConfigs = new ArrayList<OutputConfiguration>(); in surfaceSetTestByCamera() local 849 outputConfigs.add(previewConfig); in surfaceSetTestByCamera() 850 outputConfigs.add(yuvConfig); in surfaceSetTestByCamera() 863 outputConfigs.clear(); in surfaceSetTestByCamera() 864 outputConfigs.add(previewConfig); in surfaceSetTestByCamera() 865 outputConfigs.add(yuvConfig); in surfaceSetTestByCamera() 867 for (OutputConfiguration config : outputConfigs) { in surfaceSetTestByCamera() 874 mSession = configureCameraSessionWithConfig(mCamera, outputConfigs, in surfaceSetTestByCamera()
|
D | RecordingTest.java | 1684 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/ |
D | Camera2AndroidTestCase.java | 271 … 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()
|
D | Camera2MultiViewTestCase.java | 263 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/ |
D | ItsService.java | 997 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/ |
D | CameraTestUtils.java | 2744 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()
|