/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | StaticMetadataTest.java | 88 StreamConfigurationMap configs = mStaticInfo.getValueFromKeyNonNull(key); in testHwSupportedLevel() 89 Rect activeRect = mStaticInfo.getActiveArraySizeChecked(); in testHwSupportedLevel() 91 List<Integer> availableCaps = mStaticInfo.getAvailableCapabilitiesChecked(); in testHwSupportedLevel() 98 if (mStaticInfo.isHardwareLevelAtLeast( in testHwSupportedLevel() 106 if (mStaticInfo.isHardwareLevelAtLeastFull()) { in testHwSupportedLevel() 118 mStaticInfo.isPerFrameControlSupported()); in testHwSupportedLevel() 121 if (mStaticInfo.isHardwareLevelLegacy()) { in testHwSupportedLevel() 132 if (mStaticInfo.isColorOutputSupported()) { in testHwSupportedLevel() 134 Size[] jpegSizes = mStaticInfo.getJpegOutputSizesChecked(); in testHwSupportedLevel() 162 int maxNumStreamsRaw = mStaticInfo.getMaxNumOutputStreamsRawChecked(); in testMaxNumOutputStreams() [all …]
|
D | CameraDeviceTest.java | 301 if (mStaticInfo.isHardwareLevelLegacy() && in testCameraDeviceCreateCaptureBuilder() 306 if (!mStaticInfo.isColorOutputSupported() && in testCameraDeviceCreateCaptureBuilder() 312 if (mStaticInfo.areKeysAvailable(CaptureRequest.SENSOR_EXPOSURE_TIME)) { in testCameraDeviceCreateCaptureBuilder() 316 if (mStaticInfo.areKeysAvailable(CaptureRequest.SENSOR_SENSITIVITY)) { in testCameraDeviceCreateCaptureBuilder() 320 if (mStaticInfo.areKeysAvailable(CaptureRequest.CONTROL_SETTINGS_OVERRIDE)) { in testCameraDeviceCreateCaptureBuilder() 1042 if (mStaticInfo.isCapabilitySupported( in testSessionParametersStateLeakByCamera() 1046 if (mStaticInfo.isCapabilitySupported( in testSessionParametersStateLeakByCamera() 1048 || mStaticInfo.isCapabilitySupported( in testSessionParametersStateLeakByCamera() 1131 boolean reprocessSupported = mStaticInfo.isCapabilitySupported( in testCreateSessionWithParametersByCamera() 1133 reprocessSupported |= mStaticInfo.isCapabilitySupported( in testCreateSessionWithParametersByCamera() [all …]
|
D | ZoomCaptureTest.java | 123 boolean supports10BitOutput = mStaticInfo.isCapabilitySupported( in test10bitLogicalZoomCapture() 130 if (!mStaticInfo.isColorOutputSupported()) { in test10bitLogicalZoomCapture() 135 if (!mStaticInfo.isLogicalMultiCamera()) { in test10bitLogicalZoomCapture() 140 Range<Float> zoomRatioRange = mStaticInfo.getZoomRatioRangeChecked(); in test10bitLogicalZoomCapture() 168 bufferFormatZoomTestByCamera(format, CameraTestUtils.getCandidateZoomRatios(mStaticInfo), in bufferFormatZoomTestByCamera() 174 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked(format, in bufferFormatZoomTestByCamera() 181 if (mStaticInfo.isLogicalMultiCamera()) { in bufferFormatZoomTestByCamera() 182 physicalCameraIds = mStaticInfo.getCharacteristics().getPhysicalCameraIds(); in bufferFormatZoomTestByCamera() 229 while (listener.hasMoreResults() && mStaticInfo.isActivePhysicalCameraIdSupported()) { in bufferFormatZoomTestByCamera()
|
D | CaptureRequestTest.java | 375 mStaticInfo.getAvailableLensShadingModesChecked())); in testLensShadingMap() 436 int[] modes = mStaticInfo.getAeAvailableAntiBandingModesChecked(); in testAntiBandingModes() 479 int[] aeModes = mStaticInfo.getAeAvailableModesChecked(); in testAeModeAndLock() 520 for (int aeMode : mStaticInfo.getAeAvailableModesChecked()) { in testFlashControl() 659 List<Range<Integer>> fpsRanges = getTargetFpsRangesUpTo30(mStaticInfo); in testEdgeModeControl() 681 List<Range<Integer>> fpsRanges = getTargetFpsRangesGreaterThan30(mStaticInfo); in testEdgeModeControlFastFps() 733 List<Range<Integer>> fpsRanges = getTargetFpsRangesUpTo30(mStaticInfo); in testNoiseReductionModeControl() 755 List<Range<Integer>> fpsRanges = getTargetFpsRangesGreaterThan30(mStaticInfo); in testNoiseReductionModeControlFastFps() 969 List<Range<Integer>> fpsRanges = getTargetFpsRangesUpTo30(mStaticInfo); in testExtendedSceneModes() 1078 mStaticInfo.isCapabilitySupported( in dynamicBlackWhiteLevelTestByCamera() [all …]
|
D | StillCaptureTest.java | 733 float[] focalLengths = mStaticInfo.getAvailableFocalLengthsChecked(); in focalLengthTestByCamera() 772 result, mStaticInfo, mAllStaticInfo); in focalLengthTestByCamera() 805 mStaticInfo, mAllStaticInfo, mCollector, mDebugFileNameBase, ImageFormat.JPEG); in focalLengthTestByCamera() 897 boolean hasFocuser = mStaticInfo.hasFocuser(); in takePictureTestByCamera() 914 if (mStaticInfo.hasFlash()) { in takePictureTestByCamera() 930 mStaticInfo.getCharacteristics(), mHandler); in takePictureTestByCamera() 966 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { in takePictureTestByCamera() 973 boolean canSetAwbLock = mStaticInfo.isAwbLockSupported(); in takePictureTestByCamera() 1096 mStaticInfo.getCharacteristics(), mHandler); in touchForFocusTestByCamera() 1140 Image image = imageListener.getImage((mStaticInfo.isHardwareLevelLegacy()) ? in previewStillCombinationTestByCamera() [all …]
|
D | RobustnessTest.java | 136 int format = mStaticInfo.isColorOutputSupported() ? in testBadSurfaceDimensions() 230 MandatoryStreamCombination[] combinations = mStaticInfo.getCharacteristics().get(ck); in testMandatoryOutputCombinations() 244 testMandatoryStreamCombination(id, mStaticInfo, in testMandatoryOutputCombinations() 248 testMandatoryStreamCombination(id, mStaticInfo, in testMandatoryOutputCombinations() 256 if (mStaticInfo.isLogicalMultiCamera()) { in testMandatoryOutputCombinations() 258 mStaticInfo.getCharacteristics().getPhysicalCameraIds(); in testMandatoryOutputCombinations() 681 CameraCharacteristics chars = mStaticInfo.getCharacteristics(); in testMandatory10BitStreamCombinations() 698 DynamicRangeProfiles profiles = mStaticInfo.getCharacteristics().get( in testMandatory10BitStreamCombinations() 862 CameraCharacteristics chars = mStaticInfo.getCharacteristics(); in testMandatoryReprocessConfigurations() 908 if (mStaticInfo.isMonochromeWithY8()) { in testMandatoryReprocessableStreamCombination() [all …]
|
D | SurfaceViewPreviewTest.java | 233 mStaticInfo.getAvailableMinFrameDurationsForFormatChecked(ImageFormat.YUV_420_888); in preparePerformanceTestByCamera() 246 Range<Integer> maxFpsTarget = mStaticInfo.getAeMaxTargetFpsRange(); in preparePerformanceTestByCamera() 254 if (mStaticInfo.isAeLockSupported()) { in preparePerformanceTestByCamera() 258 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { in preparePerformanceTestByCamera() 299 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { in preparePerformanceTestByCamera() 658 Range<Integer>[] fpsRanges = getDescendingTargetFpsRanges(mStaticInfo); in previewFpsRangeTestByCamera() 659 boolean antiBandingOffIsSupported = mStaticInfo.isAntiBandingOffModeSupported(); in previewFpsRangeTestByCamera() 667 if (mStaticInfo.isHardwareLevelLegacy()) { in previewFpsRangeTestByCamera() 705 List<Integer> capabilities = mStaticInfo.getAvailableCapabilitiesChecked(); in verifyPreviewTargetFpsRange() 761 int[] testPatternModes = mStaticInfo.getAvailableTestPatternModesChecked(); in previewTestPatternTestByCamera() [all …]
|
D | HeifWriterTest.java | 107 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked( in testHeif() 387 if (mStaticInfo.isCapabilitySupported( in validateCaptureResult() 396 mStaticInfo.getExposureMinimumOrDefault(), in validateCaptureResult() 397 mStaticInfo.getExposureMaximumOrDefault() in validateCaptureResult() 403 mStaticInfo.getSensitivityMinimumOrDefault(), in validateCaptureResult() 404 mStaticInfo.getSensitivityMaximumOrDefault() in validateCaptureResult()
|
D | FeatureCombinationTest.java | 128 MaxStreamSizes maxStreamSizes = new MaxStreamSizes(mStaticInfo, in testIsSessionConfigurationSupported() 144 Set<Long> dynamicRangeProfiles = mStaticInfo.getAvailableDynamicRangeProfilesChecked(); in testIsSessionConfigurationSupported() 146 mStaticInfo.getAvailableVideoStabilizationModesChecked(); in testIsSessionConfigurationSupported() 147 Range<Integer>[] fpsRanges = mStaticInfo.getAeAvailableTargetFpsRangesChecked(); in testIsSessionConfigurationSupported() 148 boolean hasReadoutTimestamp = mStaticInfo.isReadoutTimestampSupported(); in testIsSessionConfigurationSupported() 298 mStaticInfo.getCharacteristics(); in verifyCombinationStreaming() 499 Set<Long> dynamicRangeProfiles = mStaticInfo.getAvailableDynamicRangeProfilesChecked(); in testVPerfClassRequirements() 505 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); in testVPerfClassRequirements() 518 MaxStreamSizes maxStreamSizes = new MaxStreamSizes(mStaticInfo, mCamera.getId(), in testVPerfClassRequirements() 620 mStaticInfo.getAvailableMinFrameDurationsForFormatChecked(format); in setupConfigurationTargets()
|
D | ReprocessCaptureTest.java | 244 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testRecreateReprocessingSessions() 247 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testRecreateReprocessingSessions() 469 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessAbort() 472 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testReprocessAbort() 499 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessTimestamps() 502 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testReprocessTimestamps() 530 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessJpegExif() 534 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testReprocessJpegExif() 561 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessRequestKeys() 564 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testReprocessRequestKeys() [all …]
|
D | RecordingTest.java | 736 mStaticInfo.getValueFromKeyNonNull( in testAbandonedHighSpeedRequest() 976 mStaticInfo.getAeAvailableTargetFpsRangesChecked()); in doRecordingWithDifferentPreviewSizes() 996 if (mStaticInfo.isHardwareLevelLegacy() && in doRecordingWithDifferentPreviewSizes() 1071 if (mStaticInfo.isExternalCamera()) { in videoPreviewSurfaceSharingTestByCamera() 1073 mStaticInfo.getAeAvailableTargetFpsRangesChecked(); in videoPreviewSurfaceSharingTestByCamera() 1159 mStaticInfo.getValueFromKeyNonNull( in slowMotionRecording() 1230 mStaticInfo.getValueFromKeyNonNull( in constrainedHighSpeedRecording() 1519 mStaticInfo.getAeAvailableTargetFpsRangesChecked()); in basicRecordingTestByCamera() 1542 if (mStaticInfo.isHardwareLevelLegacy() && in basicRecordingTestByCamera() 1705 if (mStaticInfo.isExternalCamera()) { in recordingSizeTestByCamera() [all …]
|
D | BurstCaptureTest.java | 147 final int maxPipelineDepth = mStaticInfo.getCharacteristics().get( in burstTestByCamera() 149 final int maxSyncLatency = mStaticInfo.getCharacteristics().get( in burstTestByCamera() 153 StreamConfigurationMap config = mStaticInfo.getCharacteristics().get( in burstTestByCamera() 165 final boolean checkSensorSettings = mStaticInfo.isCapabilitySupported( in burstTestByCamera() 236 if (mStaticInfo.hasFocuser()) { in burstTestByCamera()
|
D | LogicalCameraDeviceTest.java | 207 mStaticInfo.isHardwareLevelAtLeastLimited()); in testBasicPhysicalStreaming() 251 mStaticInfo.isHardwareLevelAtLeastLimited()); in testBasicLogicalPhysicalStreamCombination() 386 mStaticInfo.isHardwareLevelAtLeastLimited()); in testBasicPhysicalRequests() 404 mStaticInfo.getCharacteristics().getAvailablePhysicalCameraRequestKeys(); in testBasicPhysicalRequests() 572 if (mStaticInfo.isLogicalMultiCamera()) { in testInvalidPhysicalCameraRequests() 955 mStaticInfo.getCharacteristics().getPhysicalCameraIds(); in findCommonPreviewSize() 995 StreamConfigurationMap config = mStaticInfo.getCharacteristics().get( in findCommonPreviewSize() 1041 Rect activeArraySize = mStaticInfo.getActiveArraySizeChecked(); in validatePhysicalCamerasFov() 1042 SizeF sensorSize = mStaticInfo.getValueFromKeyNonNull( in validatePhysicalCamerasFov() 1044 Size logicalPixelArraySize = mStaticInfo.getValueFromKeyNonNull( in validatePhysicalCamerasFov() [all …]
|
D | BurstCaptureRawTest.java | 87 Size[] rawSizes = mStaticInfo.getRawOutputSizesChecked(); in testRawSensorSize() 91 Size rawSize = mStaticInfo.getRawDimensChecked(); in testRawSensorSize() 507 Size rawSize = mStaticInfo.getRawDimensChecked(); in initCaptureSetupForPreviewAndRaw() 555 Range<Long> exposureRangeNs = new Range<Long>(mStaticInfo.getExposureMinimumOrDefault(), in createBurstRequest() 556 mStaticInfo.getExposureMaximumOrDefault()); in createBurstRequest() 558 Range<Integer> isoRange = new Range<Integer>(mStaticInfo.getSensitivityMinimumOrDefault(), in createBurstRequest() 559 mStaticInfo.getSensitivityMaximumOrDefault()); in createBurstRequest()
|
D | DngCreatorTest.java | 168 Size activeArraySize = mStaticInfo.getRawDimensChecked(); in testSingleImageBasic() 177 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); in testSingleImageBasic() 246 Size activeArraySize = mStaticInfo.getRawDimensChecked(/*maxResolution*/true); in testSingleImageBasicMaximumResolution() 270 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); in testSingleImageBasicMaximumResolution() 340 Size activeArraySize = mStaticInfo.getRawDimensChecked(); in testSingleImageThumbnail() 343 mStaticInfo.getAvailableSizesForFormatChecked(ImageFormat.YUV_420_888, in testSingleImageThumbnail() 366 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); in testSingleImageThumbnail() 707 Size activeArraySize = mStaticInfo.getRawDimensChecked(); in captureRawJpegImagePair() 710 Size[] targetJpegSizes = mStaticInfo.getAvailableSizesForFormatChecked( in captureRawJpegImagePair() 733 data.characteristics = mStaticInfo.getCharacteristics(); in captureRawJpegImagePair() [all …]
|
D | ImageReaderTest.java | 259 if (!mStaticInfo.isCapabilitySupported(CameraCharacteristics. in testP010() 264 mStaticInfo.getAvailableDynamicRangeProfilesChecked(); in testP010() 1064 int warmupCaptureNumber = (mStaticInfo.isHardwareLevelLegacy()) ? in testAllOutputYUVResolutions() 1072 StreamConfigurationMap config = mStaticInfo.getValueFromKeyNonNull(key); in testAllOutputYUVResolutions() 1081 Size[] jpegSizes = mStaticInfo.getAvailableSizesForFormatChecked(ImageFormat.JPEG, in testAllOutputYUVResolutions() 1092 mStaticInfo.getAvailableSizesForFormatChecked(format, in testAllOutputYUVResolutions() 1238 if (mStaticInfo.isHardwareLevelLegacy()) { in testAllOutputYUVResolutions() 1542 mStaticInfo.getAvailableSizesForFormatChecked(format, in bufferFormatWithYuvTestByCamera() 1630 final int FORMAT = mStaticInfo.isColorOutputSupported() ? in invalidAccessTestAfterClose() 1633 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked(FORMAT, in invalidAccessTestAfterClose() [all …]
|
D | ReadoutTimestampTest.java | 99 Integer sensorReadoutTimestamp = mStaticInfo.getCharacteristics().get( in testReadoutTimestamp() 111 Integer timestampSource = mStaticInfo.getCharacteristics().get( in testReadoutTimestamp() 192 boolean hasReadSensorSettings = mStaticInfo.isCapabilitySupported( in testReadoutTimestamp()
|
D | CameraDeviceSetupTest.java | 434 && !mStaticInfo.isCapabilitySupported(CameraCharacteristics in testCameraDeviceSetupTemplatesByCamera() 438 && !mStaticInfo.isCapabilitySupported(CameraCharacteristics in testCameraDeviceSetupTemplatesByCamera() 442 && mStaticInfo.isHardwareLevelLegacy()) { in testCameraDeviceSetupTemplatesByCamera() 445 && mStaticInfo.isDepthOutputSupported() in testCameraDeviceSetupTemplatesByCamera() 446 && !mStaticInfo.isColorOutputSupported()) { in testCameraDeviceSetupTemplatesByCamera()
|
D | ConcurrentCameraTest.java | 125 TestSample testSample = new TestSample(deviceSample.getKey(), info.mStaticInfo, in testMandatoryConcurrentStreamCombination() 215 if (info.mStaticInfo.isMonochromeWithY8()) { in getGeneratedEntriesFor()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 106 protected StaticMetadata mStaticInfo; field in Camera2SurfaceViewTestCase 478 int maxLatency = mStaticInfo.getSyncMaxLatency(); in waitForSettingsApplied() 503 mStaticInfo, WAIT_FOR_RESULT_TIMEOUT_MS, NUM_RESULTS_WAIT_TIMEOUT); in waitForAeStable() 525 if (!mStaticInfo.isHardwareLevelAtLeastLimited()) { in waitForAeLocked() 638 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(cameraId), in openDevice() 640 if (mStaticInfo.isColorOutputSupported()) { in openDevice() 650 mStaticInfo.getAvailableMinFrameDurationsForFormatChecked(ImageFormat.YUV_420_888); in openDevice() 664 mStaticInfo = null; in closeDevice() 827 if (mStaticInfo.isCapabilitySupported( in getMaxPreviewSizeForFpsRange() 844 if (mStaticInfo.isCapabilitySupported( in getMaxPreviewSizeForFpsRange() [all …]
|
D | Camera2AndroidTestRule.java | 84 private StaticMetadata mStaticInfo; field in Camera2AndroidTestRule 125 return mStaticInfo; in getStaticInfo() 133 mStaticInfo = staticInfo; in setStaticInfo() 370 mStaticInfo = mAllStaticInfo.get(cameraId); in openDevice() 371 if (mStaticInfo.isColorOutputSupported()) { in openDevice() 442 mStaticInfo = null; in closeDevice()
|
D | Camera2MultiViewTestCase.java | 419 private StaticMetadata mStaticInfo; field in Camera2MultiViewTestCase.CameraHolder 429 return mStaticInfo; in getStaticInfo() 464 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(mCameraId), in open() 466 if (mStaticInfo.isColorOutputSupported()) { in open() 486 mStaticInfo = null; in close()
|
D | Camera2AndroidTestCase.java | 94 protected StaticMetadata mStaticInfo; field in Camera2AndroidTestCase 286 mStaticInfo = mAllStaticInfo.get(cameraId); in openDevice() 287 if (mStaticInfo.isColorOutputSupported()) { in openDevice() 385 mStaticInfo = null; in closeDevice()
|
D | Camera2ConcurrentAndroidTestCase.java | 69 public StaticMetadata mStaticInfo; field in Camera2ConcurrentAndroidTestCase.CameraTestInfo 78 mStaticInfo = staticInfo; in CameraTestInfo()
|
/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()
|