/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | StaticMetadataTest.java | 78 StreamConfigurationMap configs = mStaticInfo.getValueFromKeyNonNull(key); in testHwSupportedLevel() 79 Rect activeRect = mStaticInfo.getActiveArraySizeChecked(); in testHwSupportedLevel() 81 List<Integer> availableCaps = mStaticInfo.getAvailableCapabilitiesChecked(); in testHwSupportedLevel() 88 if (mStaticInfo.isHardwareLevelAtLeast( in testHwSupportedLevel() 96 if (mStaticInfo.isHardwareLevelAtLeastFull()) { in testHwSupportedLevel() 108 mStaticInfo.isPerFrameControlSupported()); in testHwSupportedLevel() 111 if (mStaticInfo.isHardwareLevelLegacy()) { in testHwSupportedLevel() 122 if (mStaticInfo.isColorOutputSupported()) { in testHwSupportedLevel() 124 Size[] jpegSizes = mStaticInfo.getJpegOutputSizesChecked(); in testHwSupportedLevel() 152 int maxNumStreamsRaw = mStaticInfo.getMaxNumOutputStreamsRawChecked(); in testMaxNumOutputStreams() [all …]
|
D | CameraDeviceTest.java | 302 if (mStaticInfo.isHardwareLevelLegacy() && in testCameraDeviceCreateCaptureBuilder() 307 if (!mStaticInfo.isColorOutputSupported() && in testCameraDeviceCreateCaptureBuilder() 313 if (mStaticInfo.areKeysAvailable(CaptureRequest.SENSOR_EXPOSURE_TIME)) { in testCameraDeviceCreateCaptureBuilder() 317 if (mStaticInfo.areKeysAvailable(CaptureRequest.SENSOR_SENSITIVITY)) { in testCameraDeviceCreateCaptureBuilder() 1028 if (mStaticInfo.isCapabilitySupported( in testSessionParametersStateLeakByCamera() 1032 if (mStaticInfo.isCapabilitySupported( in testSessionParametersStateLeakByCamera() 1034 || mStaticInfo.isCapabilitySupported( in testSessionParametersStateLeakByCamera() 1333 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { in prepareTestByCamera() 1357 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { in prepareTestByCamera() 1378 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { in prepareTestByCamera() [all …]
|
D | CaptureRequestTest.java | 350 mStaticInfo.getAvailableLensShadingModesChecked())); in testLensShadingMap() 410 int[] modes = mStaticInfo.getAeAvailableAntiBandingModesChecked(); in testAntiBandingModes() 452 int[] aeModes = mStaticInfo.getAeAvailableModesChecked(); in testAeModeAndLock() 492 for (int aeMode : mStaticInfo.getAeAvailableModesChecked()) { in testFlashControl() 629 List<Range<Integer>> fpsRanges = getTargetFpsRangesUpTo30(mStaticInfo); in testEdgeModeControl() 651 List<Range<Integer>> fpsRanges = getTargetFpsRangesGreaterThan30(mStaticInfo); in testEdgeModeControlFastFps() 702 List<Range<Integer>> fpsRanges = getTargetFpsRangesUpTo30(mStaticInfo); in testNoiseReductionModeControl() 724 List<Range<Integer>> fpsRanges = getTargetFpsRangesGreaterThan30(mStaticInfo); in testNoiseReductionModeControlFastFps() 911 List<Range<Integer>> fpsRanges = getTargetFpsRangesUpTo30(mStaticInfo); in testExtendedSceneModes() 935 mStaticInfo.isCapabilitySupported( in dynamicBlackWhiteLevelTestByCamera() [all …]
|
D | StillCaptureTest.java | 636 float[] focalLengths = mStaticInfo.getAvailableFocalLengthsChecked(); in focalLengthTestByCamera() 691 mStaticInfo, mCollector, mDebugFileNameBase, ImageFormat.JPEG); in focalLengthTestByCamera() 783 boolean hasFocuser = mStaticInfo.hasFocuser(); in takePictureTestByCamera() 800 if (mStaticInfo.hasFlash()) { in takePictureTestByCamera() 816 mStaticInfo.getCharacteristics(), mHandler); in takePictureTestByCamera() 852 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { in takePictureTestByCamera() 859 boolean canSetAwbLock = mStaticInfo.isAwbLockSupported(); in takePictureTestByCamera() 982 mStaticInfo.getCharacteristics(), mHandler); in touchForFocusTestByCamera() 1026 Image image = imageListener.getImage((mStaticInfo.isHardwareLevelLegacy()) ? in previewStillCombinationTestByCamera() 1047 Size size = mStaticInfo.getRawDimensChecked(); in rawCaptureTestByCamera() [all …]
|
D | ZoomCaptureTest.java | 102 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked(format, in bufferFormatZoomTestByCamera() 108 List<Float> candidateZoomRatios = CameraTestUtils.getCandidateZoomRatios(mStaticInfo); in bufferFormatZoomTestByCamera() 110 if (mStaticInfo.isLogicalMultiCamera()) { in bufferFormatZoomTestByCamera() 111 physicalCameraIds = mStaticInfo.getCharacteristics().getPhysicalCameraIds(); in bufferFormatZoomTestByCamera() 153 if (mStaticInfo.isActivePhysicalCameraIdSupported()) { in bufferFormatZoomTestByCamera()
|
D | RobustnessTest.java | 104 int format = mStaticInfo.isColorOutputSupported() ? in testBadSurfaceDimensions() 217 MandatoryStreamCombination[] combinations = mStaticInfo.getCharacteristics().get(ck); in testMandatoryOutputCombinations() 231 testMandatoryStreamCombination(id, mStaticInfo, in testMandatoryOutputCombinations() 235 testMandatoryStreamCombination(id, mStaticInfo, in testMandatoryOutputCombinations() 243 if (mStaticInfo.isLogicalMultiCamera()) { in testMandatoryOutputCombinations() 245 mStaticInfo.getCharacteristics().getPhysicalCameraIds(); in testMandatoryOutputCombinations() 496 CameraCharacteristics chars = mStaticInfo.getCharacteristics(); in testMandatoryReprocessConfigurations() 542 if (mStaticInfo.isMonochromeWithY8()) { in testMandatoryReprocessableStreamCombination() 556 if (mStaticInfo.isHeicSupported()) { in testMandatoryReprocessableStreamCombination() 755 int[] availableAfModes = mStaticInfo.getAfAvailableModesChecked(); in testBasicTriggerSequence() [all …]
|
D | ImageReaderTest.java | 519 int warmupCaptureNumber = (mStaticInfo.isHardwareLevelLegacy()) ? in testAllOutputYUVResolutions() 527 StreamConfigurationMap config = mStaticInfo.getValueFromKeyNonNull(key); in testAllOutputYUVResolutions() 536 Size[] jpegSizes = mStaticInfo.getAvailableSizesForFormatChecked(ImageFormat.JPEG, in testAllOutputYUVResolutions() 547 mStaticInfo.getAvailableSizesForFormatChecked(format, in testAllOutputYUVResolutions() 693 if (mStaticInfo.isHardwareLevelLegacy()) { in testAllOutputYUVResolutions() 915 Size[] targetCaptureSizes = mStaticInfo.getAvailableSizesForFormatChecked(format, in bufferFormatWithYuvTestByCamera() 1000 final int FORMAT = mStaticInfo.isColorOutputSupported() ? in invalidAccessTestAfterClose() 1003 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked(FORMAT, in invalidAccessTestAfterClose() 1028 final int FORMAT = mStaticInfo.isColorOutputSupported() ? in discardFreeBuffersTestByCamera() 1031 final Size SIZE = mStaticInfo.getAvailableSizesForFormatChecked(FORMAT, in discardFreeBuffersTestByCamera() [all …]
|
D | RecordingTest.java | 408 mStaticInfo.getValueFromKeyNonNull( in testAbandonedHighSpeedRequest() 640 mStaticInfo.getAeAvailableTargetFpsRangesChecked()); in doRecordingWithDifferentPreviewSizes() 660 if (mStaticInfo.isHardwareLevelLegacy() && in doRecordingWithDifferentPreviewSizes() 735 if (mStaticInfo.isExternalCamera()) { in videoPreviewSurfaceSharingTestByCamera() 737 mStaticInfo.getAeAvailableTargetFpsRangesChecked(); in videoPreviewSurfaceSharingTestByCamera() 823 mStaticInfo.getValueFromKeyNonNull( in slowMotionRecording() 894 mStaticInfo.getValueFromKeyNonNull( in constrainedHighSpeedRecording() 1129 mStaticInfo.getAeAvailableTargetFpsRangesChecked()); in basicRecordingTestByCamera() 1152 if (mStaticInfo.isHardwareLevelLegacy() && in basicRecordingTestByCamera() 1315 if (mStaticInfo.isExternalCamera()) { in recordingSizeTestByCamera() [all …]
|
D | HeifWriterTest.java | 107 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked( in testHeif() 382 if (mStaticInfo.isCapabilitySupported( in validateCaptureResult() 391 mStaticInfo.getExposureMinimumOrDefault(), in validateCaptureResult() 392 mStaticInfo.getExposureMaximumOrDefault() in validateCaptureResult() 398 mStaticInfo.getSensitivityMinimumOrDefault(), in validateCaptureResult() 399 mStaticInfo.getSensitivityMaximumOrDefault() in validateCaptureResult()
|
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() 670 Range<Integer>[] fpsRanges = getDescendingTargetFpsRanges(mStaticInfo); in previewFpsRangeTestByCamera() 671 boolean antiBandingOffIsSupported = mStaticInfo.isAntiBandingOffModeSupported(); in previewFpsRangeTestByCamera() 679 if (mStaticInfo.isHardwareLevelLegacy()) { in previewFpsRangeTestByCamera() 717 List<Integer> capabilities = mStaticInfo.getAvailableCapabilitiesChecked(); in verifyPreviewTargetFpsRange() 773 int[] testPatternModes = mStaticInfo.getAvailableTestPatternModesChecked(); in previewTestPatternTestByCamera() [all …]
|
D | ReprocessCaptureTest.java | 246 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testRecreateReprocessingSessions() 249 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testRecreateReprocessingSessions() 471 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessAbort() 474 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testReprocessAbort() 501 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessTimestamps() 504 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testReprocessTimestamps() 532 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessJpegExif() 536 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testReprocessJpegExif() 563 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessRequestKeys() 566 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testReprocessRequestKeys() [all …]
|
D | LogicalCameraDeviceTest.java | 197 mStaticInfo.isHardwareLevelAtLeastLimited()); in testBasicPhysicalStreaming() 239 mStaticInfo.isHardwareLevelAtLeastLimited()); in testBasicLogicalPhysicalStreamCombination() 367 mStaticInfo.isHardwareLevelAtLeastLimited()); in testBasicPhysicalRequests() 384 mStaticInfo.getCharacteristics().getAvailablePhysicalCameraRequestKeys(); in testBasicPhysicalRequests() 549 if (mStaticInfo.isLogicalMultiCamera()) { in testInvalidPhysicalCameraRequests() 927 mStaticInfo.getCharacteristics().getPhysicalCameraIds(); in findCommonPreviewSize() 964 StreamConfigurationMap config = mStaticInfo.getCharacteristics().get( in findCommonPreviewSize() 1010 Rect activeArraySize = mStaticInfo.getActiveArraySizeChecked(); in validatePhysicalCamerasFov() 1011 SizeF sensorSize = mStaticInfo.getValueFromKeyNonNull( in validatePhysicalCamerasFov() 1027 SizeF physicalSensorSize = mStaticInfo.getValueFromKeyNonNull( in validatePhysicalCamerasFov() [all …]
|
D | BurstCaptureTest.java | 146 final int maxPipelineDepth = mStaticInfo.getCharacteristics().get( in burstTestByCamera() 148 final int maxSyncLatency = mStaticInfo.getCharacteristics().get( in burstTestByCamera() 152 StreamConfigurationMap config = mStaticInfo.getCharacteristics().get( in burstTestByCamera() 164 final boolean checkSensorSettings = mStaticInfo.isCapabilitySupported( in burstTestByCamera() 235 if (mStaticInfo.hasFocuser()) { in burstTestByCamera()
|
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 | 179 Size activeArraySize = mStaticInfo.getRawDimensChecked(); in testSingleImageBasic() 188 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); in testSingleImageBasic() 256 Size activeArraySize = mStaticInfo.getRawDimensChecked(/*maxResolution*/true); in testSingleImageBasicMaximumResolution() 280 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); in testSingleImageBasicMaximumResolution() 349 Size activeArraySize = mStaticInfo.getRawDimensChecked(); in testSingleImageThumbnail() 352 mStaticInfo.getAvailableSizesForFormatChecked(ImageFormat.YUV_420_888, in testSingleImageThumbnail() 375 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); in testSingleImageThumbnail() 716 Size activeArraySize = mStaticInfo.getRawDimensChecked(); in captureRawJpegImagePair() 719 Size[] targetJpegSizes = mStaticInfo.getAvailableSizesForFormatChecked( in captureRawJpegImagePair() 742 data.characteristics = mStaticInfo.getCharacteristics(); in captureRawJpegImagePair() [all …]
|
D | ConcurrentCameraTest.java | 125 TestSample testSample = new TestSample(deviceSample.getKey(), info.mStaticInfo, in testMandatoryConcurrentStreamCombination() 215 if (info.mStaticInfo.isMonochromeWithY8()) { in getGeneratedEntriesFor()
|
D | FastBasicsTest.java | 114 if (mStaticInfo.isEnableZslSupported()) { in camera2TestByCamera()
|
D | CaptureResultTest.java | 101 if (mStaticInfo.isColorOutputSupported()) { in testCameraCaptureResultAllKeys() 127 validateCaptureResult(mCollector, captureListener, mStaticInfo, mAllStaticInfo, in testCameraCaptureResultAllKeys() 165 if (mStaticInfo.isColorOutputSupported()) { in testPartialResult() 317 if (mStaticInfo.isEnableZslSupported()) { in testResultTimestamps()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 106 protected StaticMetadata mStaticInfo; field in Camera2SurfaceViewTestCase 477 int maxLatency = mStaticInfo.getSyncMaxLatency(); in waitForSettingsApplied() 502 mStaticInfo, WAIT_FOR_RESULT_TIMEOUT_MS, NUM_RESULTS_WAIT_TIMEOUT); in waitForAeStable() 524 if (!mStaticInfo.isHardwareLevelAtLeastLimited()) { in waitForAeLocked() 637 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(cameraId), in openDevice() 639 if (mStaticInfo.isColorOutputSupported()) { in openDevice() 649 mStaticInfo.getAvailableMinFrameDurationsForFormatChecked(ImageFormat.YUV_420_888); in openDevice() 663 mStaticInfo = null; in closeDevice() 826 if (mStaticInfo.isCapabilitySupported( in getMaxPreviewSizeForFpsRange() 843 if (mStaticInfo.isCapabilitySupported( in getMaxPreviewSizeForFpsRange() [all …]
|
D | Camera2AndroidTestRule.java | 83 private StaticMetadata mStaticInfo; field in Camera2AndroidTestRule 118 return mStaticInfo; in getStaticInfo() 126 mStaticInfo = staticInfo; in setStaticInfo() 359 mStaticInfo = mAllStaticInfo.get(cameraId); in openDevice() 360 if (mStaticInfo.isColorOutputSupported()) { in openDevice() 431 mStaticInfo = null; in closeDevice()
|
D | Camera2MultiViewTestCase.java | 399 private StaticMetadata mStaticInfo; field in Camera2MultiViewTestCase.CameraHolder 409 return mStaticInfo; in getStaticInfo() 444 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(mCameraId), in open() 446 if (mStaticInfo.isColorOutputSupported()) { in open() 466 mStaticInfo = null; in close()
|
D | Camera2AndroidTestCase.java | 85 protected StaticMetadata mStaticInfo; field in Camera2AndroidTestCase 234 mStaticInfo = mAllStaticInfo.get(cameraId); in openDevice() 235 if (mStaticInfo.isColorOutputSupported()) { in openDevice() 319 mStaticInfo = null; in closeDevice()
|
D | Camera2ConcurrentAndroidTestCase.java | 63 public StaticMetadata mStaticInfo; field in Camera2ConcurrentAndroidTestCase.CameraTestInfo 72 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()
|
/cts/tests/camera/api25test/src/android/camera/cts/api25test/ |
D | EnableZslTest.java | 48 private StaticMetadata mStaticInfo; field in EnableZslTest
|