/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | StaticMetadataTest.java | 71 StreamConfigurationMap configs = mStaticInfo.getValueFromKeyNonNull(key); in testHwSupportedLevel() 72 Rect activeRect = mStaticInfo.getActiveArraySizeChecked(); in testHwSupportedLevel() 74 List<Integer> availableCaps = mStaticInfo.getAvailableCapabilitiesChecked(); in testHwSupportedLevel() 81 if (mStaticInfo.isHardwareLevelAtLeast( in testHwSupportedLevel() 89 if (mStaticInfo.isHardwareLevelAtLeastFull()) { in testHwSupportedLevel() 101 mStaticInfo.isPerFrameControlSupported()); in testHwSupportedLevel() 104 if (mStaticInfo.isHardwareLevelLegacy()) { in testHwSupportedLevel() 115 if (mStaticInfo.isColorOutputSupported()) { in testHwSupportedLevel() 117 Size[] jpegSizes = mStaticInfo.getJpegOutputSizesChecked(); in testHwSupportedLevel() 144 int maxNumStreamsRaw = mStaticInfo.getMaxNumOutputStreamsRawChecked(); in testMaxNumOutputStreams() [all …]
|
D | CameraDeviceTest.java | 289 if (mStaticInfo.isHardwareLevelLegacy() && in testCameraDeviceCreateCaptureBuilder() 294 if (!mStaticInfo.isColorOutputSupported() && in testCameraDeviceCreateCaptureBuilder() 300 if (mStaticInfo.areKeysAvailable(CaptureRequest.SENSOR_EXPOSURE_TIME)) { in testCameraDeviceCreateCaptureBuilder() 304 if (mStaticInfo.areKeysAvailable(CaptureRequest.SENSOR_SENSITIVITY)) { in testCameraDeviceCreateCaptureBuilder() 634 if (!mStaticInfo.isColorOutputSupported()) { in testPrepare() 657 if (mStaticInfo.isHardwareLevelLegacy()) { in testPrepareForSharedSurfaces() 661 if (!mStaticInfo.isColorOutputSupported()) { in testPrepareForSharedSurfaces() 683 if (!mStaticInfo.isColorOutputSupported()) { in testCreateSessions() 705 if (!mStaticInfo.isColorOutputSupported()) { in testCreateCustomSession() 898 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { in prepareTestByCamera() [all …]
|
D | StillCaptureTest.java | 90 if (!mStaticInfo.isColorOutputSupported()) { in testJpegExif() 118 if (!mStaticInfo.isColorOutputSupported()) { in testTakePicture() 145 if (!mStaticInfo.isColorOutputSupported()) { in testTakePictureZsl() 171 if (!mStaticInfo.isCapabilitySupported( in testBasicRawCapture() 195 if (!mStaticInfo.isCapabilitySupported( in testBasicRawZslCapture() 226 if (!mStaticInfo.isCapabilitySupported( in testFullRawCapture() 254 if (!mStaticInfo.isCapabilitySupported( in testFullRawZSLCapture() 284 int maxAfRegions = mStaticInfo.getAfMaxRegionsChecked(); in testTouchForFocus() 285 if (!(mStaticInfo.hasFocuser() && maxAfRegions > 0)) { in testTouchForFocus() 289 if (!mStaticInfo.isColorOutputSupported()) { in testTouchForFocus() [all …]
|
D | CaptureRequestTest.java | 147 if (!mStaticInfo.isCapabilitySupported( in testBlackLevelLock() 200 if (!mStaticInfo.isDynamicBlackLevelSupported()) { in testDynamicBlackWhiteLevel() 228 if (!mStaticInfo.isManualLensShadingMapSupported()) { in testLensShadingMap() 235 mStaticInfo.getAvailableLensShadingMapModesChecked())); in testLensShadingMap() 251 mStaticInfo.getAvailableLensShadingModesChecked())); in testLensShadingMap() 306 if (!mStaticInfo.isCapabilitySupported( in testAntiBandingModes() 311 int[] modes = mStaticInfo.getAeAvailableAntiBandingModesChecked(); in testAntiBandingModes() 340 if (!mStaticInfo.isColorOutputSupported()) { in testAeModeAndLock() 352 int[] aeModes = mStaticInfo.getAeAvailableModesChecked(); in testAeModeAndLock() 372 if (!mStaticInfo.isColorOutputSupported()) { in testFlashControl() [all …]
|
D | CaptureResultTest.java | 101 if (mStaticInfo.isColorOutputSupported()) { in testCameraCaptureResultAllKeys() 162 int partialResultCount = mStaticInfo.getPartialResultCount(); in testPartialResult() 168 if (mStaticInfo.isColorOutputSupported()) { in testPartialResult() 279 if (!mStaticInfo.isColorOutputSupported()) { in testResultTimestamps() 487 if (!mStaticInfo.isCapabilitySupported( in getWaiverKeysForCamera() 495 if (!mStaticInfo.isCapabilitySupported( in getWaiverKeysForCamera() 504 int[] outputFormats = mStaticInfo.getAvailableFormats( in getWaiverKeysForCamera() 518 if (mStaticInfo.getAeMaxRegionsChecked() == 0) { in getWaiverKeysForCamera() 521 if (mStaticInfo.getAwbMaxRegionsChecked() == 0) { in getWaiverKeysForCamera() 524 if (mStaticInfo.getAfMaxRegionsChecked() == 0) { in getWaiverKeysForCamera() [all …]
|
D | BurstCaptureTest.java | 52 if (!mStaticInfo.isColorOutputSupported()) { in testYuvBurst() 55 if (!mStaticInfo.isAeLockSupported() || !mStaticInfo.isAwbLockSupported()) { in testYuvBurst() 61 if (mStaticInfo.isHardwareLevelLegacy()) { in testYuvBurst() 90 final int maxPipelineDepth = mStaticInfo.getCharacteristics().get( in yuvBurstTestByCamera() 92 final int maxSyncLatency = mStaticInfo.getCharacteristics().get( in yuvBurstTestByCamera() 96 StreamConfigurationMap config = mStaticInfo.getCharacteristics().get( in yuvBurstTestByCamera() 108 final boolean checkSensorSettings = mStaticInfo.isCapabilitySupported( in yuvBurstTestByCamera() 168 if (mStaticInfo.hasFocuser()) { in yuvBurstTestByCamera()
|
D | SurfaceViewPreviewTest.java | 88 if (!mStaticInfo.isColorOutputSupported()) { in testCameraPreview() 112 if (!mStaticInfo.isColorOutputSupported()) { in testBasicTestPatternPreview() 132 if (!mStaticInfo.isColorOutputSupported()) { in testPreviewFpsRange() 157 if (!mStaticInfo.isColorOutputSupported()) { in testSurfaceSet() 181 if (!mStaticInfo.isColorOutputSupported()) { in testPreparePerformance() 229 Range<Integer> maxFpsTarget = mStaticInfo.getAeMaxTargetFpsRange(); in preparePerformanceTestByCamera() 237 if (mStaticInfo.isAeLockSupported()) { in preparePerformanceTestByCamera() 241 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { in preparePerformanceTestByCamera() 276 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { in preparePerformanceTestByCamera() 314 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { in preparePerformanceTestByCamera() [all …]
|
D | ImageReaderTest.java | 225 if (!mStaticInfo.isCapabilitySupported( in testLongProcessingRepeatingRaw() 243 if (!mStaticInfo.isCapabilitySupported( in testLongProcessingRepeatingFlexibleYuv() 286 if (!mStaticInfo.isColorOutputSupported()) { in testYuvAndJpeg() 307 if (!mStaticInfo.isColorOutputSupported()) { in testImageReaderYuvAndRaw() 331 if (!mStaticInfo.isColorOutputSupported()) { in testAllOutputYUVResolutions() 337 int warmupCaptureNumber = (mStaticInfo.isHardwareLevelLegacy()) ? in testAllOutputYUVResolutions() 345 StreamConfigurationMap config = mStaticInfo.getValueFromKeyNonNull(key); in testAllOutputYUVResolutions() 354 Size[] jpegSizes = mStaticInfo.getAvailableSizesForFormatChecked(ImageFormat.JPEG, in testAllOutputYUVResolutions() 364 mStaticInfo.getAvailableSizesForFormatChecked(format, in testAllOutputYUVResolutions() 502 if (mStaticInfo.isHardwareLevelLegacy()) { in testAllOutputYUVResolutions() [all …]
|
D | RecordingTest.java | 119 if (!mStaticInfo.isColorOutputSupported()) { in doBasicRecording() 125 if (!mStaticInfo.isVideoStabilizationSupported() && useVideoStab) { in doBasicRecording() 216 if (!mStaticInfo.isColorOutputSupported()) { in testSupportedVideoSizes() 317 if (!mStaticInfo.isColorOutputSupported()) { in testRecordingFramerateLowToHigh() 363 if (mStaticInfo.isHardwareLevelLegacy()) { in testVideoPreviewSurfaceSharing() 367 if (!mStaticInfo.isColorOutputSupported()) { in testVideoPreviewSurfaceSharing() 454 if (!mStaticInfo.isColorOutputSupported()) { in slowMotionRecording() 459 if (!mStaticInfo.isHighSpeedVideoSupported()) { in slowMotionRecording() 464 mStaticInfo.getValueFromKeyNonNull( in slowMotionRecording() 528 if (!mStaticInfo.isConstrainedHighSpeedVideoSupported()) { in constrainedHighSpeedRecording() [all …]
|
D | RobustnessTest.java | 85 int format = mStaticInfo.isColorOutputSupported() ? in testBadSurfaceDimensions() 258 MaxStreamSizes maxSizes = new MaxStreamSizes(mStaticInfo, id, getContext()); in testMandatoryOutputCombinations() 261 mStaticInfo.getCharacteristics().get( in testMandatoryOutputCombinations() 269 if (mStaticInfo.isColorOutputSupported()) { in testMandatoryOutputCombinations() 277 if (!mStaticInfo.isHardwareLevelLegacy()) { in testMandatoryOutputCombinations() 281 if (mStaticInfo.isColorOutputSupported()) { in testMandatoryOutputCombinations() 289 if (mStaticInfo.isCapabilitySupported( in testMandatoryOutputCombinations() 296 if (mStaticInfo.isHardwareLevelAtLeastFull()) { in testMandatoryOutputCombinations() 302 if (mStaticInfo.isCapabilitySupported( in testMandatoryOutputCombinations() 309 if (mStaticInfo.isHardwareLevelAtLeast( in testMandatoryOutputCombinations() [all …]
|
D | ReprocessCaptureTest.java | 197 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testRecreateReprocessingSessions() 200 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testRecreateReprocessingSessions() 351 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessAbort() 354 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testReprocessAbort() 380 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessTimestamps() 383 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testReprocessTimestamps() 410 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessJpegExif() 414 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testReprocessJpegExif() 440 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessRequestKeys() 443 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testReprocessRequestKeys() [all …]
|
D | DngCreatorTest.java | 143 if (!mStaticInfo.isCapabilitySupported( in testSingleImageBasic() 150 Size activeArraySize = mStaticInfo.getRawDimensChecked(); in testSingleImageBasic() 159 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); in testSingleImageBasic() 220 if (!mStaticInfo.isCapabilitySupported( in testSingleImageThumbnail() 227 Size activeArraySize = mStaticInfo.getRawDimensChecked(); in testSingleImageThumbnail() 230 mStaticInfo.getAvailableSizesForFormatChecked(ImageFormat.YUV_420_888, in testSingleImageThumbnail() 253 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); in testSingleImageThumbnail() 512 if (!mStaticInfo.isCapabilitySupported( in captureRawJpegImagePair() 519 Size activeArraySize = mStaticInfo.getRawDimensChecked(); in captureRawJpegImagePair() 522 Size[] targetJpegSizes = mStaticInfo.getAvailableSizesForFormatChecked( in captureRawJpegImagePair() [all …]
|
D | BurstCaptureRawTest.java | 81 Size[] rawSizes = mStaticInfo.getRawOutputSizesChecked(); in testRawSensorSize() 85 Size rawSize = mStaticInfo.getRawDimensChecked(); in testRawSensorSize() 440 if (!mStaticInfo.isHardwareLevelAtLeastFull()) { in checkCapability() 446 StreamConfigurationMap config = mStaticInfo.getValueFromKeyNonNull( in checkCapability() 496 Size rawSize = mStaticInfo.getRawDimensChecked(); in initCaptureSetupForPreviewAndRaw() 544 Range<Long> exposureRangeNs = new Range<Long>(mStaticInfo.getExposureMinimumOrDefault(), in createBurstRequest() 545 mStaticInfo.getExposureMaximumOrDefault()); in createBurstRequest() 547 Range<Integer> isoRange = new Range<Integer>(mStaticInfo.getSensitivityMinimumOrDefault(), in createBurstRequest() 548 mStaticInfo.getSensitivityMaximumOrDefault()); in createBurstRequest()
|
D | PerformanceTest.java | 134 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(id)); in testCameraLaunch() 135 if (mStaticInfo.isColorOutputSupported()) { in testCameraLaunch() 139 mStaticInfo.isDepthOutputSupported()); in testCameraLaunch() 247 if (!mStaticInfo.isColorOutputSupported()) { in testSingleCapture() 253 boolean partialsExpected = mStaticInfo.getPartialResultCount() > 1; in testSingleCapture() 415 if (!mStaticInfo.isColorOutputSupported()) { in testMultipleCapture() 437 StreamConfigurationMap config = mStaticInfo.getCharacteristics().get( in testMultipleCapture() 456 if (mStaticInfo.isAeLockSupported()) { in testMultipleCapture() 461 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { in testMultipleCapture() 781 int maxCaptureStallFrames = mStaticInfo.getMaxCaptureStallOrDefault(); in reprocessingCaptureStallTestByCamera() [all …]
|
D | FastBasicsTest.java | 67 if (!mStaticInfo.isColorOutputSupported()) { in testCamera2()
|
D | ImageWriterTest.java | 96 if (!mStaticInfo.isColorOutputSupported()) { in testYuvImageWriterReaderOperation()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 97 protected StaticMetadata mStaticInfo; field in Camera2SurfaceViewTestCase 434 int maxLatency = mStaticInfo.getSyncMaxLatency(); in captureRequestsSynchronized() 482 int maxLatency = mStaticInfo.getSyncMaxLatency(); in waitForSettingsApplied() 509 if (!mStaticInfo.isHardwareLevelAtLeastLimited()) { in waitForAeStable() 539 if (!mStaticInfo.isHardwareLevelAtLeastLimited()) { in waitForAeLocked() 586 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(cameraId), in openDevice() 588 if (mStaticInfo.isColorOutputSupported()) { in openDevice() 598 mStaticInfo.getAvailableMinFrameDurationsForFormatChecked(ImageFormat.YUV_420_888); in openDevice() 612 mStaticInfo = null; in closeDevice() 775 if (mStaticInfo.isCapabilitySupported( in getMaxPreviewSizeForFpsRange() [all …]
|
D | Camera2AndroidTestCase.java | 73 protected StaticMetadata mStaticInfo; field in Camera2AndroidTestCase 193 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(cameraId), in openDevice() 195 if (mStaticInfo.isColorOutputSupported()) { in openDevice() 254 mStaticInfo = null; in closeDevice()
|
D | Camera2MultiViewTestCase.java | 379 private StaticMetadata mStaticInfo; field in Camera2MultiViewTestCase.CameraHolder 388 return mStaticInfo; in getStaticInfo() 399 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(mCameraId), in open() 401 if (mStaticInfo.isColorOutputSupported()) { in open() 421 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 | 45 private StaticMetadata mStaticInfo; field in EnableZslTest
|