/cts/tests/tests/hardware/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.isHardwareLevelFull()) { in testHwSupportedLevel() 93 mStaticInfo.isPerFrameControlSupported()); in testHwSupportedLevel() 96 if (mStaticInfo.isHardwareLevelLegacy()) { in testHwSupportedLevel() 107 if (mStaticInfo.isColorOutputSupported()) { in testHwSupportedLevel() 109 Size[] jpegSizes = mStaticInfo.getJpegOutputSizesChecked(); in testHwSupportedLevel() 126 int maxNumStreamsRaw = mStaticInfo.getMaxNumOutputStreamsRawChecked(); in testMaxNumOutputStreams() 127 int maxNumStreamsProc = mStaticInfo.getMaxNumOutputStreamsProcessedChecked(); in testMaxNumOutputStreams() [all …]
|
D | CameraDeviceTest.java | 282 if (mStaticInfo.isHardwareLevelLegacy() && in testCameraDeviceCreateCaptureBuilder() 287 if (!mStaticInfo.isColorOutputSupported() && in testCameraDeviceCreateCaptureBuilder() 293 if (mStaticInfo.areKeysAvailable(CaptureRequest.SENSOR_EXPOSURE_TIME)) { in testCameraDeviceCreateCaptureBuilder() 297 if (mStaticInfo.areKeysAvailable(CaptureRequest.SENSOR_SENSITIVITY)) { in testCameraDeviceCreateCaptureBuilder() 606 if (!mStaticInfo.isColorOutputSupported()) { in testPrepare() 628 if (!mStaticInfo.isColorOutputSupported()) { in testCreateSessions() 754 if (mStaticInfo.isHardwareLevelLimitedOrBetter()) { in prepareTestByCamera() 778 if (mStaticInfo.isHardwareLevelLimitedOrBetter()) { in prepareTestByCamera() 799 if (mStaticInfo.isHardwareLevelLimitedOrBetter()) { in prepareTestByCamera() 820 if (mStaticInfo.isHardwareLevelLimitedOrBetter()) { in prepareTestByCamera() [all …]
|
D | CaptureRequestTest.java | 142 if (!mStaticInfo.isCapabilitySupported( in testBlackLevelLock() 197 if (!mStaticInfo.isManualLensShadingMapSupported()) { in testLensShadingMap() 204 mStaticInfo.getAvailableLensShadingMapModesChecked())); in testLensShadingMap() 220 mStaticInfo.getAvailableLensShadingModesChecked())); in testLensShadingMap() 275 if (!mStaticInfo.isCapabilitySupported( in testAntiBandingModes() 280 int[] modes = mStaticInfo.getAeAvailableAntiBandingModesChecked(); in testAntiBandingModes() 309 if (!mStaticInfo.isColorOutputSupported()) { in testAeModeAndLock() 321 int[] aeModes = mStaticInfo.getAeAvailableModesChecked(); in testAeModeAndLock() 341 if (!mStaticInfo.isColorOutputSupported()) { in testFlashControl() 360 for (int aeMode : mStaticInfo.getAeAvailableModesChecked()) { in testFlashControl() [all …]
|
D | StillCaptureTest.java | 86 if (!mStaticInfo.isColorOutputSupported()) { in testJpegExif() 114 if (!mStaticInfo.isColorOutputSupported()) { in testTakePicture() 135 if (!mStaticInfo.isCapabilitySupported( in testBasicRawCapture() 164 if (!mStaticInfo.isCapabilitySupported( in testFullRawCapture() 191 int maxAfRegions = mStaticInfo.getAfMaxRegionsChecked(); in testTouchForFocus() 192 if (!(mStaticInfo.hasFocuser() && maxAfRegions > 0)) { in testTouchForFocus() 196 if (!mStaticInfo.isColorOutputSupported()) { in testTouchForFocus() 220 if (!mStaticInfo.isColorOutputSupported()) { in testStillPreviewCombination() 248 if (mStaticInfo.isHardwareLevelLegacy()) { in testAeCompensation() 252 if (!mStaticInfo.isColorOutputSupported()) { in testAeCompensation() [all …]
|
D | BurstCaptureTest.java | 53 if (!mStaticInfo.isColorOutputSupported()) { in testYuvBurst() 56 if (!mStaticInfo.isAeLockSupported() || !mStaticInfo.isAwbLockSupported()) { in testYuvBurst() 62 if (mStaticInfo.isHardwareLevelLegacy()) { in testYuvBurst() 91 final int maxPipelineDepth = mStaticInfo.getCharacteristics().get( in yuvBurstTestByCamera() 93 final int maxSyncLatency = mStaticInfo.getCharacteristics().get( in yuvBurstTestByCamera() 97 StreamConfigurationMap config = mStaticInfo.getCharacteristics().get( in yuvBurstTestByCamera() 104 mStaticInfo.getAeAvailableTargetFpsRangesChecked()); in yuvBurstTestByCamera() 105 Range<Integer> targetRange = mStaticInfo.getAeMaxTargetFpsRange(); in yuvBurstTestByCamera() 134 final boolean checkSensorSettings = mStaticInfo.isCapabilitySupported( in yuvBurstTestByCamera() 194 if (mStaticInfo.hasFocuser()) { in yuvBurstTestByCamera()
|
D | SurfaceViewPreviewTest.java | 80 if (!mStaticInfo.isColorOutputSupported()) { in testCameraPreview() 104 if (!mStaticInfo.isColorOutputSupported()) { in testBasicTestPatternPreview() 124 if (!mStaticInfo.isColorOutputSupported()) { in testPreviewFpsRange() 148 if (!mStaticInfo.isColorOutputSupported()) { in testPreparePerformance() 197 Range<Integer> maxFpsTarget = mStaticInfo.getAeMaxTargetFpsRange(); in preparePerformanceTestByCamera() 205 if (mStaticInfo.isAeLockSupported()) { in preparePerformanceTestByCamera() 209 if (mStaticInfo.isHardwareLevelLimitedOrBetter()) { in preparePerformanceTestByCamera() 244 if (mStaticInfo.isHardwareLevelLimitedOrBetter()) { in preparePerformanceTestByCamera() 282 if (mStaticInfo.isHardwareLevelLimitedOrBetter()) { in preparePerformanceTestByCamera() 335 Range<Integer>[] fpsRanges = mStaticInfo.getAeAvailableTargetFpsRangesChecked(); in previewFpsRangeTestByCamera() [all …]
|
D | CaptureResultTest.java | 100 if (mStaticInfo.isColorOutputSupported()) { in testCameraCaptureResultAllKeys() 161 int partialResultCount = mStaticInfo.getPartialResultCount(); in testPartialResult() 167 if (mStaticInfo.isColorOutputSupported()) { in testPartialResult() 278 if (!mStaticInfo.isColorOutputSupported()) { in testResultTimestamps() 476 if (!mStaticInfo.isCapabilitySupported( in getWaiverKeysForCamera() 484 if (!mStaticInfo.isCapabilitySupported( in getWaiverKeysForCamera() 492 if (mStaticInfo.getAeMaxRegionsChecked() == 0) { in getWaiverKeysForCamera() 495 if (mStaticInfo.getAwbMaxRegionsChecked() == 0) { in getWaiverKeysForCamera() 498 if (mStaticInfo.getAfMaxRegionsChecked() == 0) { in getWaiverKeysForCamera() 502 if (mStaticInfo.isHardwareLevelFull()) { in getWaiverKeysForCamera() [all …]
|
D | ImageReaderTest.java | 240 if (!mStaticInfo.isColorOutputSupported()) { in testYuvAndJpeg() 261 if (!mStaticInfo.isColorOutputSupported()) { in testImageReaderYuvAndRaw() 283 if (!mStaticInfo.isColorOutputSupported()) { in testAllOutputYUVResolutions() 289 int warmupCaptureNumber = (mStaticInfo.isHardwareLevelLegacy()) ? in testAllOutputYUVResolutions() 297 StreamConfigurationMap config = mStaticInfo.getValueFromKeyNonNull(key); in testAllOutputYUVResolutions() 306 Size[] jpegSizes = mStaticInfo.getAvailableSizesForFormatChecked(ImageFormat.JPEG, in testAllOutputYUVResolutions() 315 mStaticInfo.getAvailableSizesForFormatChecked(format, in testAllOutputYUVResolutions() 590 Size[] targetCaptureSizes = mStaticInfo.getAvailableSizesForFormatChecked(format, in bufferFormatWithYuvTestByCamera() 662 final int FORMAT = mStaticInfo.isColorOutputSupported() ? in invalidAccessTestAfterClose() 665 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked(FORMAT, in invalidAccessTestAfterClose() [all …]
|
D | RobustnessTest.java | 85 int format = mStaticInfo.isColorOutputSupported() ? in testBadSurfaceDimensions() 222 MaxStreamSizes maxSizes = new MaxStreamSizes(mStaticInfo, id, getContext()); in testMandatoryOutputCombinations() 225 mStaticInfo.getCharacteristics().get( in testMandatoryOutputCombinations() 233 if (mStaticInfo.isColorOutputSupported()) { in testMandatoryOutputCombinations() 241 if (!mStaticInfo.isHardwareLevelLegacy()) { in testMandatoryOutputCombinations() 245 if (mStaticInfo.isColorOutputSupported()) { in testMandatoryOutputCombinations() 253 if (mStaticInfo.isCapabilitySupported( in testMandatoryOutputCombinations() 260 if (mStaticInfo.isHardwareLevelFull()) { in testMandatoryOutputCombinations() 266 if (mStaticInfo.isCapabilitySupported( in testMandatoryOutputCombinations() 378 if (mStaticInfo.isHardwareLevelLegacy() || !mStaticInfo.hasFocuser()) { in testBasicTriggerSequence() [all …]
|
D | RecordingTest.java | 113 if (!mStaticInfo.isColorOutputSupported()) { in doBasicRecording() 182 if (!mStaticInfo.isColorOutputSupported()) { in testSupportedVideoSizes() 283 if (!mStaticInfo.isColorOutputSupported()) { in testRecordingFramerateLowToHigh() 339 if (!mStaticInfo.isColorOutputSupported()) { in slowMotionRecording() 344 if (!mStaticInfo.isHighSpeedVideoSupported()) { in slowMotionRecording() 349 mStaticInfo.getValueFromKeyNonNull( in slowMotionRecording() 413 if (!mStaticInfo.isConstrainedHighSpeedVideoSupported()) { in constrainedHighSpeedRecording() 418 mStaticInfo.getValueFromKeyNonNull( in constrainedHighSpeedRecording() 596 mStaticInfo.getAeAvailableTargetFpsRangesChecked()); in basicRecordingTestByCamera() 607 if (mStaticInfo.isHardwareLevelLegacy() && in basicRecordingTestByCamera() [all …]
|
D | DngCreatorTest.java | 111 if (!mStaticInfo.isCapabilitySupported( in testSingleImageBasic() 118 Size activeArraySize = mStaticInfo.getRawDimensChecked(); in testSingleImageBasic() 127 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); in testSingleImageBasic() 186 if (!mStaticInfo.isCapabilitySupported( in testSingleImageThumbnail() 193 Size activeArraySize = mStaticInfo.getRawDimensChecked(); in testSingleImageThumbnail() 196 mStaticInfo.getAvailableSizesForFormatChecked(ImageFormat.YUV_420_888, in testSingleImageThumbnail() 217 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); in testSingleImageThumbnail() 294 if (!mStaticInfo.isCapabilitySupported( in testRaw16JpegConsistency() 301 Size activeArraySize = mStaticInfo.getRawDimensChecked(); in testRaw16JpegConsistency() 305 mStaticInfo.getAvailableSizesForFormatChecked(ImageFormat.JPEG, in testRaw16JpegConsistency() [all …]
|
D | BurstCaptureRawTest.java | 81 Size[] rawSizes = mStaticInfo.getRawOutputSizesChecked(); in testRawSensorSize() 85 Size rawSize = mStaticInfo.getRawDimensChecked(); in testRawSensorSize() 440 if (!mStaticInfo.isCapabilitySupported( in checkCapability() 447 StreamConfigurationMap config = mStaticInfo.getValueFromKeyNonNull( in checkCapability() 497 Size rawSize = mStaticInfo.getRawDimensChecked(); in initCaptureSetupForPreviewAndRaw() 545 Range<Long> exposureRangeNs = new Range<Long>(mStaticInfo.getExposureMinimumOrDefault(), in createBurstRequest() 546 mStaticInfo.getExposureMaximumOrDefault()); in createBurstRequest() 548 Range<Integer> isoRange = new Range<Integer>(mStaticInfo.getSensitivityMinimumOrDefault(), in createBurstRequest() 549 mStaticInfo.getSensitivityMaximumOrDefault()); in createBurstRequest()
|
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 | PerformanceTest.java | 129 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(id)); in testCameraLaunch() 130 if (mStaticInfo.isColorOutputSupported()) { in testCameraLaunch() 134 mStaticInfo.isDepthOutputSupported()); in testCameraLaunch() 238 if (!mStaticInfo.isColorOutputSupported()) { in testSingleCapture() 244 boolean partialsExpected = mStaticInfo.getPartialResultCount() > 1; in testSingleCapture() 495 int maxCaptureStallFrames = mStaticInfo.getMaxCaptureStallOrDefault(); in reprocessingCaptureStallTestByCamera() 630 mStaticInfo.getAvailableSizesForFormatChecked(inputFormat, in prepareReprocessCapture() 679 if (mStaticInfo.isColorOutputSupported()) { in blockingStartPreview() 696 if (mStaticInfo.isColorOutputSupported()) { in configureReaderAndPreviewOutputs() 723 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(cameraId), in simpleOpenCamera() [all …]
|
D | ImageWriterTest.java | 96 if (!mStaticInfo.isColorOutputSupported()) { in testYuvImageWriterReaderOperation() 131 if (!mStaticInfo.isColorOutputSupported()) { in testOpaqueImageWriterReaderOperation()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 94 protected StaticMetadata mStaticInfo; field in Camera2SurfaceViewTestCase 412 int maxLatency = mStaticInfo.getSyncMaxLatency(); in captureRequestsSynchronized() 460 int maxLatency = mStaticInfo.getSyncMaxLatency(); in waitForSettingsApplied() 487 if (!mStaticInfo.isHardwareLevelLimitedOrBetter()) { in waitForAeStable() 517 if (!mStaticInfo.isHardwareLevelLimitedOrBetter()) { in waitForAeLocked() 564 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(cameraId), in openDevice() 566 if (mStaticInfo.isColorOutputSupported()) { in openDevice() 574 mStaticInfo.getAvailableMinFrameDurationsForFormatChecked(ImageFormat.YUV_420_888); in openDevice() 588 mStaticInfo = null; in closeDevice() 690 if (mStaticInfo.isCapabilitySupported( in getMaxPreviewSizeForFpsRange()
|
D | Camera2MultiViewTestCase.java | 343 private StaticMetadata mStaticInfo; field in Camera2MultiViewTestCase.CameraHolder 352 return mStaticInfo; in getStaticInfo() 363 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(mCameraId), in open() 365 if (mStaticInfo.isColorOutputSupported()) { in open() 385 mStaticInfo = null; in close()
|
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()
|
/cts/tests/tests/hardware/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()
|