/cts/tests/tests/security/src/android/security/cts/ |
D | OutputConfigurationTest.java | 22 import android.hardware.camera2.params.OutputConfiguration; 45 OutputConfiguration outputConfig = new OutputConfiguration(surface); in testSharedSurfaceOutputConfigurationBasic() 51 OutputConfiguration parcelledOutput = OutputConfiguration.CREATOR.createFromParcel(p); in testSharedSurfaceOutputConfigurationBasic() 68 outputConfig = new OutputConfiguration( in testSharedSurfaceOutputConfigurationBasic() 73 parcelledOutput = OutputConfiguration.CREATOR.createFromParcel(p); in testSharedSurfaceOutputConfigurationBasic() 93 outputConfig = new OutputConfiguration( in testSharedSurfaceOutputConfigurationBasic() 98 parcelledOutput = OutputConfiguration.CREATOR.createFromParcel(p); in testSharedSurfaceOutputConfigurationBasic()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ReadoutTimestampTest.java | 35 import android.hardware.camera2.params.OutputConfiguration; 74 OutputConfiguration.TIMESTAMP_BASE_DEFAULT, in testReadoutTimestamp() 75 OutputConfiguration.TIMESTAMP_BASE_SENSOR, in testReadoutTimestamp() 76 OutputConfiguration.TIMESTAMP_BASE_MONOTONIC, in testReadoutTimestamp() 77 OutputConfiguration.TIMESTAMP_BASE_REALTIME, in testReadoutTimestamp() 78 OutputConfiguration.TIMESTAMP_BASE_CHOREOGRAPHER_SYNCED}; in testReadoutTimestamp() 122 List<OutputConfiguration> outputConfigs = new ArrayList<>(); in testReadoutTimestamp() 123 OutputConfiguration configuration = new OutputConfiguration(reader.getSurface()); in testReadoutTimestamp() 171 if (timestampBase == OutputConfiguration.TIMESTAMP_BASE_DEFAULT || in testReadoutTimestamp() 172 timestampBase == OutputConfiguration.TIMESTAMP_BASE_SENSOR || in testReadoutTimestamp() [all …]
|
D | MultiViewTest.java | 44 import android.hardware.camera2.params.OutputConfiguration; 314 OutputConfiguration[] outputConfigs = new OutputConfiguration[2]; in testSharedSurfaceBasicByCamera() 315 List<OutputConfiguration> outputConfigurations = new ArrayList<>(); in testSharedSurfaceBasicByCamera() 328 outputConfigs[i] = new OutputConfiguration(surfaces[i]); in testSharedSurfaceBasicByCamera() 466 OutputConfiguration outputConfig = new OutputConfiguration(previewSurface); in testSharedSurfaceImageReaderSwitch() 468 List<OutputConfiguration> outputConfigurations = new ArrayList<>(); in testSharedSurfaceImageReaderSwitch() 582 OutputConfiguration outputConfig = new OutputConfiguration(readerSurfaces[0]); in testSharedSurfaceYUVImageReaderSwitch() 584 List<OutputConfiguration> outputConfigurations = new ArrayList<>(); in testSharedSurfaceYUVImageReaderSwitch() 696 OutputConfiguration surfaceSharedOutput = new OutputConfiguration(surfaces[0]); in testSharedSurfaceLimitByCamera() 704 List<OutputConfiguration> outputConfigurations = new ArrayList<>(); in testSharedSurfaceLimitByCamera() [all …]
|
D | SurfaceViewPreviewTest.java | 35 import android.hardware.camera2.params.OutputConfiguration; 467 OutputConfiguration surfaceViewOutput = new OutputConfiguration(maxPreviewSize, in testDeferredSurfacesByCamera() 469 OutputConfiguration surfaceTextureOutput = new OutputConfiguration(maxPreviewSize, in testDeferredSurfacesByCamera() 472 List<OutputConfiguration> outputSurfaces = new ArrayList<>(); in testDeferredSurfacesByCamera() 480 OutputConfiguration jpegOutput = in testDeferredSurfacesByCamera() 481 new OutputConfiguration(OutputConfiguration.SURFACE_GROUP_ID_NONE, mReaderSurface); in testDeferredSurfacesByCamera() 488 OutputConfiguration bad = new OutputConfiguration(size, SurfaceHolder.class); in testDeferredSurfacesByCamera() 553 List<OutputConfiguration> deferredSurfaces = new ArrayList<>(); in testDeferredSurfacesByCamera() 604 OutputConfiguration badConfig = in testDeferredSurfacesByCamera() 605 new OutputConfiguration(maxPreviewSize, SurfaceTexture.class); in testDeferredSurfacesByCamera() [all …]
|
D | CameraDeviceSetupTest.java | 41 import android.hardware.camera2.params.OutputConfiguration; 230 List<OutputConfiguration> outputs = new ArrayList<>(); in testSessionCharacteristics() 231 outputs.add(new OutputConfiguration(imageReader.getSurface())); in testSessionCharacteristics() 300 private void checkSessionCharacteristicsForNoCallbackConfig(List<OutputConfiguration> outputs, in checkSessionCharacteristicsForNoCallbackConfig() 357 OutputConfiguration config = new OutputConfiguration(fmt, size); in testOutputConfigurationForCameraSetup() 361 OutputConfiguration configWithGroupId = new OutputConfiguration( in testOutputConfigurationForCameraSetup() 372 OutputConfiguration configWithUsageFlag = new OutputConfiguration( in testOutputConfigurationForCameraSetup() 381 OutputConfiguration configWithGroupIdAndUsage = new OutputConfiguration( in testOutputConfigurationForCameraSetup() 507 List<OutputConfiguration> outputConfigs = new ArrayList<>(); in testFeatureCombinationQueryConsistencyByCamera() 725 MaxStreamSizes maxSizes, List<OutputConfiguration> outputConfigs, Long dynamicProfile) { in setupConfigurations() [all …]
|
D | FeatureCombinationTest.java | 49 import android.hardware.camera2.params.OutputConfiguration; 152 List<OutputConfiguration> outputConfigs = new ArrayList<>(); in testIsSessionConfigurationSupported() 153 List<Pair<OutputConfiguration, Surface>> outputConfigs2Steps = new ArrayList<>(); in testIsSessionConfigurationSupported() 272 List<OutputConfiguration> outputConfigs, Long dynamicProfile, in verifyCombinationStreaming() 284 for (OutputConfiguration config : outputConfigs) { in verifyCombinationStreaming() 411 List<OutputConfiguration> outputConfigs = new ArrayList<>(); in testVPerfClassCombination() 534 List<ImageReader> yuvTargets, List<OutputConfiguration> outputConfigs, in setupConfigurationTargets() 535 @Nullable List<Pair<OutputConfiguration, Surface>> outputConfigs2Steps, in setupConfigurationTargets() argument 552 OutputConfiguration config = new OutputConfiguration(textureSurface); in setupConfigurationTargets() 553 OutputConfiguration configNoSurface = new OutputConfiguration(targetSize, in setupConfigurationTargets() [all …]
|
D | MultiResolutionImageReaderTest.java | 47 import android.hardware.camera2.params.OutputConfiguration; 290 List<OutputConfiguration> outputConfigs = new ArrayList<OutputConfiguration>(); in testMultiResolutionMandatoryStreamCombination() 410 Collection<OutputConfiguration> outputConfigs = in multiResolutionImageReaderFormatTestByCamera() 411 OutputConfiguration.createInstancesForMultiResolutionOutput( in multiResolutionImageReaderFormatTestByCamera() 413 ArrayList<OutputConfiguration> outputConfigsList = new ArrayList<OutputConfiguration>( in multiResolutionImageReaderFormatTestByCamera() 418 List<OutputConfiguration> outputConfigs2Steps = in multiResolutionImageReaderFormatTestByCamera() 419 OutputConfiguration.createInstancesForMultiResolutionOutput( in multiResolutionImageReaderFormatTestByCamera() 423 OutputConfiguration.setSurfacesForMultiResolutionOutput( in multiResolutionImageReaderFormatTestByCamera() 431 OutputConfiguration outputConfig2Step = outputConfigs2Steps.get(i); in multiResolutionImageReaderFormatTestByCamera() 432 OutputConfiguration outputConfig = outputConfigsList.get(i); in multiResolutionImageReaderFormatTestByCamera()
|
D | LogicalCameraDeviceTest.java | 58 import android.hardware.camera2.params.OutputConfiguration; 149 List<OutputConfiguration> outputs = new ArrayList<>(); in testInvalidPhysicalCameraIdInOutputConfiguration() 150 OutputConfiguration outputConfig = new OutputConfiguration( in testInvalidPhysicalCameraIdInOutputConfiguration() 152 OutputConfiguration outputConfigCopy = in testInvalidPhysicalCameraIdInOutputConfiguration() 153 new OutputConfiguration(imageReader.getSurface()); in testInvalidPhysicalCameraIdInOutputConfiguration() 267 List<OutputConfiguration> outputConfigs = new ArrayList<>(); in testBasicLogicalPhysicalStreamCombination() 273 … OutputConfiguration config = new OutputConfiguration(yuvTargetPhysical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 281 outputConfigs.add(new OutputConfiguration(yuvTargetLogical.getSurface())); in testBasicLogicalPhysicalStreamCombination() 410 List<OutputConfiguration> outputConfigs = new ArrayList<>(); in testBasicPhysicalRequests() 418 OutputConfiguration config = new OutputConfiguration(yuvTarget.getSurface()); in testBasicPhysicalRequests() [all …]
|
D | CameraExtensionSessionTest.java | 67 import android.hardware.camera2.params.OutputConfiguration; 218 OutputConfiguration outputConfig = new OutputConfiguration( in testBasicExtensionLifecycle() 220 List<OutputConfiguration> outputConfigs = new ArrayList<>(); in testBasicExtensionLifecycle() 268 OutputConfiguration textureOutput = new OutputConfiguration(repeatingSurface); in testCloseCaptureSession() 269 List<OutputConfiguration> outputs = new ArrayList<>(); in testCloseCaptureSession() 334 OutputConfiguration textureOutput = new OutputConfiguration(surface); in testCloseExtensionSession() 335 List<OutputConfiguration> outputs = new ArrayList<>(); in testCloseExtensionSession() 394 OutputConfiguration privateOutput = new OutputConfiguration( in testGetDevice() 396 List<OutputConfiguration> outputConfigs = new ArrayList<>(); in testGetDevice() 456 List<OutputConfiguration> outputConfigs = new ArrayList<>(); in testRepeatingCapture() [all …]
|
D | SurfaceViewExtensionPreviewTest.java | 31 import android.hardware.camera2.params.OutputConfiguration; 72 List<OutputConfiguration> outputConfigs = new ArrayList<>(); in testExtensionPreview() 73 outputConfigs.add(new OutputConfiguration(mPreviewSurface)); in testExtensionPreview()
|
D | ConcurrentCameraTest.java | 32 import android.hardware.camera2.params.OutputConfiguration; 76 public List<OutputConfiguration> outputConfigs = new ArrayList<OutputConfiguration>(); 244 List<OutputConfiguration> outputConfigs = new ArrayList<>(); in testMandatoryConcurrentStreamCombination() 250 for (OutputConfiguration c : outputConfigs) { in testMandatoryConcurrentStreamCombination() 285 for (OutputConfiguration c : testSample.outputConfigs) { in testMandatoryConcurrentStreamCombination()
|
D | HeifWriterTest.java | 37 import android.hardware.camera2.params.OutputConfiguration; 114 OutputConfiguration outConfig = null; in testHeif() 156 outConfig = new OutputConfiguration(latestSurface); in testHeif() 157 List<OutputConfiguration> configs = in testHeif() 158 new ArrayList<OutputConfiguration>(); in testHeif() 164 configs.add(new OutputConfiguration(previewSurface)); in testHeif()
|
D | MultiResolutionReprocessCaptureTest.java | 41 import android.hardware.camera2.params.OutputConfiguration; 328 List<OutputConfiguration> outputConfigs = new ArrayList<OutputConfiguration>(); in testMultiResolutionMandatoryStreamCombination() 372 OutputConfiguration.createInstancesForMultiResolutionOutput(inputReader)); in testMultiResolutionMandatoryStreamCombination() 641 Collection<OutputConfiguration> outConfigs = in setupReprocessableSession() 642 OutputConfiguration.createInstancesForMultiResolutionOutput( in setupReprocessableSession() 644 ArrayList<OutputConfiguration> outputConfigsList = new ArrayList<OutputConfiguration>( in setupReprocessableSession() 648 Collection<OutputConfiguration> secondOutputConfigs = in setupReprocessableSession() 649 OutputConfiguration.createInstancesForMultiResolutionOutput( in setupReprocessableSession()
|
D | ZoomCaptureTest.java | 27 import android.hardware.camera2.params.OutputConfiguration; 193 ArrayList<OutputConfiguration> outputConfigs = new ArrayList<>(); in bufferFormatZoomTestByCamera() 194 OutputConfiguration config = new OutputConfiguration(mReader.getSurface()); in bufferFormatZoomTestByCamera()
|
D | ImageReaderTest.java | 60 import android.hardware.camera2.params.OutputConfiguration; 647 int[] timeBases = {OutputConfiguration.TIMESTAMP_BASE_SENSOR, in testFlexibleYuvWithTimestampBase() 648 OutputConfiguration.TIMESTAMP_BASE_MONOTONIC, in testFlexibleYuvWithTimestampBase() 649 OutputConfiguration.TIMESTAMP_BASE_REALTIME, in testFlexibleYuvWithTimestampBase() 650 OutputConfiguration.TIMESTAMP_BASE_CHOREOGRAPHER_SYNCED}; in testFlexibleYuvWithTimestampBase() 1714 public int mTimestampBase = OutputConfiguration.TIMESTAMP_BASE_DEFAULT; 1751 != OutputConfiguration.TIMESTAMP_BASE_DEFAULT); in bufferFormatTestByCamera() 1787 ArrayList<OutputConfiguration> outputConfigs = new ArrayList<>(); in bufferFormatTestByCamera() 1788 OutputConfiguration config = new OutputConfiguration(mReader.getSurface()); in bufferFormatTestByCamera() 1790 config.getTimestampBase() == OutputConfiguration.TIMESTAMP_BASE_DEFAULT); in bufferFormatTestByCamera() [all …]
|
D | CameraDeviceTest.java | 44 import android.hardware.camera2.params.OutputConfiguration; 794 List<OutputConfiguration> outputs = new ArrayList<>(); in testCreateCustomSessionByCamera() 795 outputs.add(new OutputConfiguration(imageReader.getSurface())); in testCreateCustomSessionByCamera() 844 ArrayList<OutputConfiguration> outConfigs = new ArrayList<OutputConfiguration> (); in testSessionConfiguration() 845 outConfigs.add(new OutputConfiguration(new Size(1, 1), SurfaceTexture.class)); in testSessionConfiguration() 846 outConfigs.add(new OutputConfiguration(new Size(2, 2), SurfaceTexture.class)); in testSessionConfiguration() 1015 List<OutputConfiguration> outputs = new ArrayList<>(); in testSessionParametersStateLeakByCamera() 1016 outputs.add(new OutputConfiguration(imageReader.getSurface())); in testSessionParametersStateLeakByCamera() 1147 List<OutputConfiguration> outputs = new ArrayList<>(); in testCreateSessionWithParametersByCamera() 1189 outputs.add(new OutputConfiguration(imageReader.getSurface())); in testCreateSessionWithParametersByCamera() [all …]
|
D | OfflineSessionTest.java | 41 import android.hardware.camera2.params.OutputConfiguration; 809 OutputConfiguration outConfig; in camera2UnsupportedOfflineOutputTest() 811 outConfig = new OutputConfiguration(1 /*surfaceGroupId*/, mPreviewSurface); in camera2UnsupportedOfflineOutputTest() 813 outConfig = new OutputConfiguration(mPreviewSurface); in camera2UnsupportedOfflineOutputTest() 817 ArrayList<OutputConfiguration> outputList = new ArrayList<OutputConfiguration>(); in camera2UnsupportedOfflineOutputTest()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2MultiViewTestCase.java | 53 import android.hardware.camera2.params.OutputConfiguration; 246 protected void createSessionWithConfigs(String cameraId, List<OutputConfiguration> configs) in createSessionWithConfigs() 261 List<OutputConfiguration> outputConfigs, in startPreviewWithConfigs() 281 protected void finalizeOutputConfigs(String cameraId, List<OutputConfiguration> configs, in finalizeOutputConfigs() 288 protected int updateRepeatingRequest(String cameraId, List<OutputConfiguration> configs, in updateRepeatingRequest() 295 protected void updateOutputConfiguration(String cameraId, OutputConfiguration config) in updateOutputConfiguration() 303 List<OutputConfiguration> configs) throws Exception { in isSessionConfigurationSupported() 337 List<OutputConfiguration> configs) throws Exception { in verifyCreateSessionWithConfigsFailure() 509 public void createSessionWithConfigs(List<OutputConfiguration> outputConfigs) in createSessionWithConfigs() 515 public void verifyCreateSessionWithConfigsFailure(List<OutputConfiguration> configs) in verifyCreateSessionWithConfigsFailure() [all …]
|
D | Camera2AndroidTestCase.java | 49 import android.hardware.camera2.params.OutputConfiguration; 330 … protected void createSessionByConfigs(List<OutputConfiguration> outputConfigs) throws Exception { in createSessionByConfigs() 343 protected void createSessionByConfigsAndColorSpace(List<OutputConfiguration> outputConfigs, in createSessionByConfigsAndColorSpace() 517 List<OutputConfiguration> outputConfigs = new ArrayList<OutputConfiguration>(); in checkImageReaderSessionConfiguration() 518 OutputConfiguration config = new OutputConfiguration(mReaderSurface); in checkImageReaderSessionConfiguration() 556 List<OutputConfiguration> outputConfigs, int template) throws Exception { in prepareCaptureRequestBuilderWithConfig() 560 for (OutputConfiguration config : outputConfigs) { in prepareCaptureRequestBuilderWithConfig() 569 List<OutputConfiguration> outputConfigs, int template) throws Exception { in prepareCaptureRequestForConfigs() 575 List<OutputConfiguration> outputConfigs, int template, ColorSpace.Named colorSpace) in prepareCaptureRequestForColorSpace()
|
D | Camera2AndroidTestRule.java | 33 import android.hardware.camera2.params.OutputConfiguration; 401 public void createSessionByConfigs(List<OutputConfiguration> outputConfigs) throws Exception { in createSessionByConfigs() 578 List<OutputConfiguration> outputConfigs = new ArrayList<OutputConfiguration>(); in checkImageReaderSessionConfiguration() 579 outputConfigs.add(new OutputConfiguration(mReaderSurface)); in checkImageReaderSessionConfiguration() 614 List<OutputConfiguration> outputConfigs, int template) throws Exception { in prepareCaptureRequestForConfigs() 620 for (OutputConfiguration config : outputConfigs) { in prepareCaptureRequestForConfigs()
|
D | Camera2ConcurrentAndroidTestCase.java | 35 import android.hardware.camera2.params.OutputConfiguration; 271 List<OutputConfiguration> outputConfigs) throws Exception { in createSessionByConfigs()
|
/cts/tests/tests/sensorprivacy/test-apps/utils/src/android/sensorprivacy/cts/testapp/utils/ |
D | Utils.kt | 9 import android.hardware.camera2.params.OutputConfiguration in <lambda>() 102 listOf(OutputConfiguration(imageReader.surface)), in openCam()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 52 import android.hardware.camera2.params.OutputConfiguration; 309 List<OutputConfiguration> outputConfigs, List<Surface> outputSurfaces, in configureTarget() 320 Collection<OutputConfiguration> configs = in configureTarget() 321 OutputConfiguration.createInstancesForMultiResolutionOutput(multiResReader); in configureTarget() 344 OutputConfiguration config = new OutputConfiguration(new Surface(target)); in configureTarget() 357 OutputConfiguration config = new OutputConfiguration(target.getSurface()); in configureTarget() 397 List<OutputConfiguration> outputConfigs, in setupConfigurationTargets() 409 List<OutputConfiguration> outputConfigs, in setupConfigurationTargets() 420 List<OutputConfiguration> outputConfigs, in setupConfigurationTargets() 1520 List<OutputConfiguration> outConfigurations = new ArrayList<>(outputSurfaces.size()); in buildConstrainedCameraSession() [all …]
|
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/ |
D | VirtualCameraCaptureTest.java | 67 import android.hardware.camera2.params.OutputConfiguration; 297 OutputConfiguration outputConfiguration = new OutputConfiguration(reader.getSurface()); in createSessionConfig()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 69 import android.hardware.camera2.params.OutputConfiguration; 277 private List<OutputConfiguration> mCaptureOutputConfigs = new ArrayList<>(); 1608 List<OutputConfiguration> outputConfigs = new ArrayList<>(numSurfaces); 1610 OutputConfiguration config = new OutputConfiguration( 1950 private List<OutputConfiguration> getCaptureOutputConfigurations( 1954 List<OutputConfiguration> outputConfigs = 1955 new ArrayList<OutputConfiguration>(numSurfaces); 1957 OutputConfiguration config = new OutputConfiguration( 2053 List<OutputConfiguration> captureOutputConfigurations = new ArrayList<>(); 2097 List<OutputConfiguration> sessionOutputConfigs = new ArrayList<>(); [all …]
|