/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | StaticMetadataTest.java | 73 StreamConfigurationMap configs = mStaticInfo.getValueFromKeyNonNull(key); in testHwSupportedLevel() 74 Rect activeRect = mStaticInfo.getActiveArraySizeChecked(); in testHwSupportedLevel() 76 List<Integer> availableCaps = mStaticInfo.getAvailableCapabilitiesChecked(); in testHwSupportedLevel() 83 if (mStaticInfo.isHardwareLevelAtLeast( in testHwSupportedLevel() 91 if (mStaticInfo.isHardwareLevelAtLeastFull()) { in testHwSupportedLevel() 103 mStaticInfo.isPerFrameControlSupported()); in testHwSupportedLevel() 106 if (mStaticInfo.isHardwareLevelLegacy()) { in testHwSupportedLevel() 117 if (mStaticInfo.isColorOutputSupported()) { in testHwSupportedLevel() 119 Size[] jpegSizes = mStaticInfo.getJpegOutputSizesChecked(); in testHwSupportedLevel() 146 int maxNumStreamsRaw = mStaticInfo.getMaxNumOutputStreamsRawChecked(); in testMaxNumOutputStreams() [all …]
|
D | CameraDeviceTest.java | 299 if (mStaticInfo.isHardwareLevelLegacy() && in testCameraDeviceCreateCaptureBuilder() 304 if (!mStaticInfo.isColorOutputSupported() && in testCameraDeviceCreateCaptureBuilder() 310 if (mStaticInfo.areKeysAvailable(CaptureRequest.SENSOR_EXPOSURE_TIME)) { in testCameraDeviceCreateCaptureBuilder() 314 if (mStaticInfo.areKeysAvailable(CaptureRequest.SENSOR_SENSITIVITY)) { in testCameraDeviceCreateCaptureBuilder() 650 if (!mStaticInfo.isColorOutputSupported()) { in testPrepare() 673 if (mStaticInfo.isHardwareLevelLegacy()) { in testPrepareForSharedSurfaces() 677 if (!mStaticInfo.isColorOutputSupported()) { in testPrepareForSharedSurfaces() 699 if (!mStaticInfo.isColorOutputSupported()) { in testCreateSessions() 721 if (!mStaticInfo.isColorOutputSupported()) { in testCreateCustomSession() 885 if (!mStaticInfo.isColorOutputSupported()) { in testSessionParametersStateLeak() [all …]
|
D | CaptureRequestTest.java | 236 if (!mStaticInfo.isCapabilitySupported( in testBlackLevelLock() 289 if (!mStaticInfo.isDynamicBlackLevelSupported()) { in testDynamicBlackWhiteLevel() 317 if (!mStaticInfo.isManualLensShadingMapSupported()) { in testLensShadingMap() 324 mStaticInfo.getAvailableLensShadingMapModesChecked())); in testLensShadingMap() 340 mStaticInfo.getAvailableLensShadingModesChecked())); in testLensShadingMap() 395 if (!mStaticInfo.isCapabilitySupported( in testAntiBandingModes() 400 int[] modes = mStaticInfo.getAeAvailableAntiBandingModesChecked(); in testAntiBandingModes() 429 if (!mStaticInfo.isColorOutputSupported()) { in testAeModeAndLock() 441 int[] aeModes = mStaticInfo.getAeAvailableModesChecked(); in testAeModeAndLock() 461 if (!mStaticInfo.isColorOutputSupported()) { in testFlashControl() [all …]
|
D | StillCaptureTest.java | 94 if (!mStaticInfo.isColorOutputSupported()) { in testJpegExif() 122 if (!mStaticInfo.isColorOutputSupported()) { in testTakePicture() 149 if (!mStaticInfo.isColorOutputSupported()) { in testTakePictureZsl() 175 if (!mStaticInfo.isCapabilitySupported( in testBasicRawCapture() 199 if (!mStaticInfo.isCapabilitySupported( in testBasicRawZslCapture() 230 if (!mStaticInfo.isCapabilitySupported( in testFullRawCapture() 258 if (!mStaticInfo.isCapabilitySupported( in testFullRawZSLCapture() 288 int maxAfRegions = mStaticInfo.getAfMaxRegionsChecked(); in testTouchForFocus() 289 if (!(mStaticInfo.hasFocuser() && maxAfRegions > 0)) { in testTouchForFocus() 293 if (!mStaticInfo.isColorOutputSupported()) { in testTouchForFocus() [all …]
|
D | BurstCaptureTest.java | 54 if (!mStaticInfo.isColorOutputSupported()) { in testYuvBurst() 57 if (!mStaticInfo.isAeLockSupported() || !mStaticInfo.isAwbLockSupported()) { in testYuvBurst() 63 if (mStaticInfo.isHardwareLevelLegacy()) { in testYuvBurst() 92 final int maxPipelineDepth = mStaticInfo.getCharacteristics().get( in yuvBurstTestByCamera() 94 final int maxSyncLatency = mStaticInfo.getCharacteristics().get( in yuvBurstTestByCamera() 98 StreamConfigurationMap config = mStaticInfo.getCharacteristics().get( in yuvBurstTestByCamera() 110 final boolean checkSensorSettings = mStaticInfo.isCapabilitySupported( in yuvBurstTestByCamera() 170 if (mStaticInfo.hasFocuser()) { in yuvBurstTestByCamera()
|
D | LogicalCameraDeviceTest.java | 104 if (mStaticInfo.isHardwareLevelLegacy()) { in testInvalidPhysicalCameraIdInOutputConfiguration() 151 if (!mStaticInfo.isColorOutputSupported()) { in testBasicPhysicalStreaming() 156 if (!mStaticInfo.isLogicalMultiCamera()) { in testBasicPhysicalStreaming() 162 mStaticInfo.isHardwareLevelAtLeastLimited()); in testBasicPhysicalStreaming() 190 if (!mStaticInfo.isColorOutputSupported()) { in testBasicLogicalPhysicalStreamCombination() 195 if (!mStaticInfo.isLogicalMultiCamera()) { in testBasicLogicalPhysicalStreamCombination() 201 mStaticInfo.isHardwareLevelAtLeastLimited()); in testBasicLogicalPhysicalStreamCombination() 301 if (!mStaticInfo.isColorOutputSupported()) { in testBasicPhysicalRequests() 306 if (!mStaticInfo.isLogicalMultiCamera()) { in testBasicPhysicalRequests() 312 mStaticInfo.isHardwareLevelAtLeastLimited()); in testBasicPhysicalRequests() [all …]
|
D | RecordingTest.java | 123 if (!mStaticInfo.isColorOutputSupported()) { in doBasicRecording() 130 if (mStaticInfo.isExternalCamera()) { in doBasicRecording() 136 if (!mStaticInfo.isVideoStabilizationSupported() && useVideoStab) { in doBasicRecording() 227 if (!mStaticInfo.isColorOutputSupported()) { in testSupportedVideoSizes() 320 if (!mStaticInfo.isColorOutputSupported()) { in testAbandonedHighSpeedRequest() 325 if (!mStaticInfo.isConstrainedHighSpeedVideoSupported()) { in testAbandonedHighSpeedRequest() 332 mStaticInfo.getValueFromKeyNonNull( in testAbandonedHighSpeedRequest() 439 if (!mStaticInfo.isColorOutputSupported()) { in testRecordingFramerateLowToHigh() 444 if (mStaticInfo.isExternalCamera()) { in testRecordingFramerateLowToHigh() 490 if (mStaticInfo.isHardwareLevelLegacy()) { in testVideoPreviewSurfaceSharing() [all …]
|
D | SurfaceViewPreviewTest.java | 90 if (!mStaticInfo.isColorOutputSupported()) { in testCameraPreview() 114 if (!mStaticInfo.isColorOutputSupported()) { in testBasicTestPatternPreview() 134 if (!mStaticInfo.isColorOutputSupported()) { in testPreviewFpsRange() 159 if (!mStaticInfo.isColorOutputSupported()) { in testSurfaceSet() 183 if (!mStaticInfo.isColorOutputSupported()) { in testPreparePerformance() 231 Range<Integer> maxFpsTarget = mStaticInfo.getAeMaxTargetFpsRange(); in preparePerformanceTestByCamera() 239 if (mStaticInfo.isAeLockSupported()) { in preparePerformanceTestByCamera() 243 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { in preparePerformanceTestByCamera() 278 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { in preparePerformanceTestByCamera() 316 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { in preparePerformanceTestByCamera() [all …]
|
D | ImageReaderTest.java | 228 if (!mStaticInfo.isCapabilitySupported( in testLongProcessingRepeatingRaw() 246 if (!mStaticInfo.isCapabilitySupported( in testLongProcessingRepeatingFlexibleYuv() 289 if (!mStaticInfo.isColorOutputSupported()) { in testYuvAndJpeg() 310 if (!mStaticInfo.isColorOutputSupported()) { in testImageReaderYuvAndRaw() 334 if (!mStaticInfo.isColorOutputSupported()) { in testAllOutputYUVResolutions() 340 int warmupCaptureNumber = (mStaticInfo.isHardwareLevelLegacy()) ? in testAllOutputYUVResolutions() 348 StreamConfigurationMap config = mStaticInfo.getValueFromKeyNonNull(key); in testAllOutputYUVResolutions() 357 Size[] jpegSizes = mStaticInfo.getAvailableSizesForFormatChecked(ImageFormat.JPEG, in testAllOutputYUVResolutions() 367 mStaticInfo.getAvailableSizesForFormatChecked(format, in testAllOutputYUVResolutions() 505 if (mStaticInfo.isHardwareLevelLegacy()) { in testAllOutputYUVResolutions() [all …]
|
D | RobustnessTest.java | 92 int format = mStaticInfo.isColorOutputSupported() ? in testBadSurfaceDimensions() 266 MaxStreamSizes maxSizes = new MaxStreamSizes(mStaticInfo, id, getContext()); in testMandatoryOutputCombinations() 269 mStaticInfo.getCharacteristics().get( in testMandatoryOutputCombinations() 277 if (mStaticInfo.isColorOutputSupported()) { in testMandatoryOutputCombinations() 285 if (!mStaticInfo.isHardwareLevelLegacy()) { in testMandatoryOutputCombinations() 289 if (mStaticInfo.isColorOutputSupported()) { in testMandatoryOutputCombinations() 297 if (mStaticInfo.isCapabilitySupported( in testMandatoryOutputCombinations() 304 if (mStaticInfo.isHardwareLevelAtLeastFull()) { in testMandatoryOutputCombinations() 310 if (mStaticInfo.isCapabilitySupported( in testMandatoryOutputCombinations() 315 } else if (mStaticInfo.isLogicalMultiCamera()) { in testMandatoryOutputCombinations() [all …]
|
D | BurstCaptureRawTest.java | 83 Size[] rawSizes = mStaticInfo.getRawOutputSizesChecked(); in testRawSensorSize() 87 Size rawSize = mStaticInfo.getRawDimensChecked(); in testRawSensorSize() 442 if (!mStaticInfo.isHardwareLevelAtLeastFull()) { in checkCapability() 448 StreamConfigurationMap config = mStaticInfo.getValueFromKeyNonNull( in checkCapability() 498 Size rawSize = mStaticInfo.getRawDimensChecked(); in initCaptureSetupForPreviewAndRaw() 546 Range<Long> exposureRangeNs = new Range<Long>(mStaticInfo.getExposureMinimumOrDefault(), in createBurstRequest() 547 mStaticInfo.getExposureMaximumOrDefault()); in createBurstRequest() 549 Range<Integer> isoRange = new Range<Integer>(mStaticInfo.getSensitivityMinimumOrDefault(), in createBurstRequest() 550 mStaticInfo.getSensitivityMaximumOrDefault()); in createBurstRequest()
|
D | DngCreatorTest.java | 145 if (!mStaticInfo.isCapabilitySupported( in testSingleImageBasic() 152 Size activeArraySize = mStaticInfo.getRawDimensChecked(); in testSingleImageBasic() 161 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); in testSingleImageBasic() 222 if (!mStaticInfo.isCapabilitySupported( in testSingleImageThumbnail() 229 Size activeArraySize = mStaticInfo.getRawDimensChecked(); in testSingleImageThumbnail() 232 mStaticInfo.getAvailableSizesForFormatChecked(ImageFormat.YUV_420_888, in testSingleImageThumbnail() 255 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); in testSingleImageThumbnail() 514 if (!mStaticInfo.isCapabilitySupported( in captureRawJpegImagePair() 521 Size activeArraySize = mStaticInfo.getRawDimensChecked(); in captureRawJpegImagePair() 524 Size[] targetJpegSizes = mStaticInfo.getAvailableSizesForFormatChecked( in captureRawJpegImagePair() [all …]
|
D | ReprocessCaptureTest.java | 199 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testRecreateReprocessingSessions() 202 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testRecreateReprocessingSessions() 353 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessAbort() 356 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testReprocessAbort() 382 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessTimestamps() 385 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testReprocessTimestamps() 412 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessJpegExif() 416 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testReprocessJpegExif() 442 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessRequestKeys() 445 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testReprocessRequestKeys() [all …]
|
D | PerformanceTest.java | 136 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(id)); in testCameraLaunch() 137 if (mStaticInfo.isColorOutputSupported()) { in testCameraLaunch() 141 mStaticInfo.isDepthOutputSupported()); in testCameraLaunch() 282 if (!mStaticInfo.isColorOutputSupported()) { in testSingleCapture() 288 boolean partialsExpected = mStaticInfo.getPartialResultCount() > 1; in testSingleCapture() 450 if (!mStaticInfo.isColorOutputSupported()) { in testMultipleCapture() 472 StreamConfigurationMap config = mStaticInfo.getCharacteristics().get( in testMultipleCapture() 492 if (mStaticInfo.isAeLockSupported()) { in testMultipleCapture() 497 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { in testMultipleCapture() 817 int maxCaptureStallFrames = mStaticInfo.getMaxCaptureStallOrDefault(); in reprocessingCaptureStallTestByCamera() [all …]
|
D | FastBasicsTest.java | 67 if (!mStaticInfo.isColorOutputSupported()) { in testCamera2() 106 if (mStaticInfo.isEnableZslSupported()) { in camera2TestByCamera()
|
D | CaptureResultTest.java | 102 if (mStaticInfo.isColorOutputSupported()) { in testCameraCaptureResultAllKeys() 128 validateCaptureResult(mCollector, captureListener, mStaticInfo, mAllStaticInfo, in testCameraCaptureResultAllKeys() 160 int partialResultCount = mStaticInfo.getPartialResultCount(); in testPartialResult() 166 if (mStaticInfo.isColorOutputSupported()) { in testPartialResult() 277 if (!mStaticInfo.isColorOutputSupported()) { in testResultTimestamps() 311 if (mStaticInfo.isEnableZslSupported()) { in testResultTimestamps()
|
D | ImageWriterTest.java | 98 if (!mStaticInfo.isColorOutputSupported()) { in testYuvImageWriterReaderOperation()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 97 protected StaticMetadata mStaticInfo; field in Camera2SurfaceViewTestCase 442 int maxLatency = mStaticInfo.getSyncMaxLatency(); in captureRequestsSynchronized() 490 int maxLatency = mStaticInfo.getSyncMaxLatency(); in waitForSettingsApplied() 517 if (!mStaticInfo.isHardwareLevelAtLeastLimited()) { in waitForAeStable() 547 if (!mStaticInfo.isHardwareLevelAtLeastLimited()) { in waitForAeLocked() 594 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(cameraId), in openDevice() 596 if (mStaticInfo.isColorOutputSupported()) { in openDevice() 606 mStaticInfo.getAvailableMinFrameDurationsForFormatChecked(ImageFormat.YUV_420_888); in openDevice() 620 mStaticInfo = null; in closeDevice() 783 if (mStaticInfo.isCapabilitySupported( in getMaxPreviewSizeForFpsRange() [all …]
|
D | Camera2AndroidTestCase.java | 77 protected StaticMetadata mStaticInfo; field in Camera2AndroidTestCase 213 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(cameraId), in openDevice() 215 if (mStaticInfo.isColorOutputSupported()) { in openDevice() 286 mStaticInfo = null; in closeDevice()
|
D | Camera2MultiViewTestCase.java | 416 private StaticMetadata mStaticInfo; field in Camera2MultiViewTestCase.CameraHolder 425 return mStaticInfo; in getStaticInfo() 436 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(mCameraId), in open() 438 if (mStaticInfo.isColorOutputSupported()) { in open() 458 mStaticInfo = null; in close()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | Camera2Focuser.java | 56 private final StaticMetadata mStaticInfo; field in Camera2Focuser 119 mStaticInfo = new StaticMetadata(staticInfo, in Camera2Focuser() 123 if (!mStaticInfo.hasFocuser()) { in Camera2Focuser()
|
/cts/tests/camera/api25test/src/android/camera/cts/api25test/ |
D | EnableZslTest.java | 48 private StaticMetadata mStaticInfo; field in EnableZslTest
|