Home
last modified time | relevance | path

Searched refs:mStaticInfo (Results 1 – 22 of 22) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DStaticMetadataTest.java73 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 …]
DCameraDeviceTest.java299 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 …]
DCaptureRequestTest.java236 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 …]
DStillCaptureTest.java94 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 …]
DBurstCaptureTest.java54 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()
DLogicalCameraDeviceTest.java104 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 …]
DRecordingTest.java123 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 …]
DSurfaceViewPreviewTest.java90 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 …]
DImageReaderTest.java228 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 …]
DRobustnessTest.java92 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 …]
DBurstCaptureRawTest.java83 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()
DDngCreatorTest.java145 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 …]
DReprocessCaptureTest.java199 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 …]
DPerformanceTest.java136 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 …]
DFastBasicsTest.java67 if (!mStaticInfo.isColorOutputSupported()) { in testCamera2()
106 if (mStaticInfo.isEnableZslSupported()) { in camera2TestByCamera()
DCaptureResultTest.java102 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()
DImageWriterTest.java98 if (!mStaticInfo.isColorOutputSupported()) { in testYuvImageWriterReaderOperation()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java97 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 …]
DCamera2AndroidTestCase.java77 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()
DCamera2MultiViewTestCase.java416 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/
DCamera2Focuser.java56 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/
DEnableZslTest.java48 private StaticMetadata mStaticInfo; field in EnableZslTest