/cts/tests/camera/src/android/hardware/camera2/cts/ |
StaticMetadataTest.java | 71 StreamConfigurationMap configs = mStaticInfo.getValueFromKeyNonNull(key); 72 Rect activeRect = mStaticInfo.getActiveArraySizeChecked(); 74 List<Integer> availableCaps = mStaticInfo.getAvailableCapabilitiesChecked(); 81 if (mStaticInfo.isHardwareLevelAtLeast( 89 if (mStaticInfo.isHardwareLevelAtLeastFull()) { 101 mStaticInfo.isPerFrameControlSupported()); 104 if (mStaticInfo.isHardwareLevelLegacy()) { 115 if (mStaticInfo.isColorOutputSupported()) { 117 Size[] jpegSizes = mStaticInfo.getJpegOutputSizesChecked(); 144 int maxNumStreamsRaw = mStaticInfo.getMaxNumOutputStreamsRawChecked() [all...] |
CameraDeviceTest.java | 288 if (mStaticInfo.isHardwareLevelLegacy() && 293 if (!mStaticInfo.isColorOutputSupported() && 299 if (mStaticInfo.areKeysAvailable(CaptureRequest.SENSOR_EXPOSURE_TIME)) { 303 if (mStaticInfo.areKeysAvailable(CaptureRequest.SENSOR_SENSITIVITY)) { 633 if (!mStaticInfo.isColorOutputSupported()) { 655 if (!mStaticInfo.isColorOutputSupported()) { 781 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { 805 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { [all...] |
CaptureRequestTest.java | 147 if (!mStaticInfo.isCapabilitySupported( 200 if (!mStaticInfo.isDynamicBlackLevelSupported()) { 228 if (!mStaticInfo.isManualLensShadingMapSupported()) { 235 mStaticInfo.getAvailableLensShadingMapModesChecked())); 251 mStaticInfo.getAvailableLensShadingModesChecked())); 306 if (!mStaticInfo.isCapabilitySupported( 311 int[] modes = mStaticInfo.getAeAvailableAntiBandingModesChecked(); 340 if (!mStaticInfo.isColorOutputSupported()) { 352 int[] aeModes = mStaticInfo.getAeAvailableModesChecked(); 372 if (!mStaticInfo.isColorOutputSupported()) [all...] |
StillCaptureTest.java | 90 if (!mStaticInfo.isColorOutputSupported()) { 118 if (!mStaticInfo.isColorOutputSupported()) { 139 if (!mStaticInfo.isCapabilitySupported( 168 if (!mStaticInfo.isCapabilitySupported( 195 int maxAfRegions = mStaticInfo.getAfMaxRegionsChecked(); 196 if (!(mStaticInfo.hasFocuser() && maxAfRegions > 0)) { 200 if (!mStaticInfo.isColorOutputSupported()) { 224 if (!mStaticInfo.isColorOutputSupported()) { 252 if (mStaticInfo.isHardwareLevelLegacy()) { 256 if (!mStaticInfo.isColorOutputSupported()) [all...] |
BurstCaptureTest.java | 53 if (!mStaticInfo.isColorOutputSupported()) { 56 if (!mStaticInfo.isAeLockSupported() || !mStaticInfo.isAwbLockSupported()) { 62 if (mStaticInfo.isHardwareLevelLegacy()) { 91 final int maxPipelineDepth = mStaticInfo.getCharacteristics().get( 93 final int maxSyncLatency = mStaticInfo.getCharacteristics().get( 97 StreamConfigurationMap config = mStaticInfo.getCharacteristics().get( 110 mStaticInfo.getAeAvailableTargetFpsRangesChecked()); 132 final boolean checkSensorSettings = mStaticInfo.isCapabilitySupported( 192 if (mStaticInfo.hasFocuser()) [all...] |
SurfaceViewPreviewTest.java | 86 if (!mStaticInfo.isColorOutputSupported()) { 110 if (!mStaticInfo.isColorOutputSupported()) { 130 if (!mStaticInfo.isColorOutputSupported()) { 155 if (!mStaticInfo.isColorOutputSupported()) { 179 if (!mStaticInfo.isColorOutputSupported()) { 227 Range<Integer> maxFpsTarget = mStaticInfo.getAeMaxTargetFpsRange(); 235 if (mStaticInfo.isAeLockSupported()) { 239 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { 274 if (mStaticInfo.isHardwareLevelAtLeastLimited()) { 312 if (mStaticInfo.isHardwareLevelAtLeastLimited()) [all...] |
CaptureResultTest.java | 101 if (mStaticInfo.isColorOutputSupported()) { 162 int partialResultCount = mStaticInfo.getPartialResultCount(); 168 if (mStaticInfo.isColorOutputSupported()) { 279 if (!mStaticInfo.isColorOutputSupported()) { 487 if (!mStaticInfo.isCapabilitySupported( 495 if (!mStaticInfo.isCapabilitySupported( 504 int[] outputFormats = mStaticInfo.getAvailableFormats( 518 if (mStaticInfo.getAeMaxRegionsChecked() == 0) { 521 if (mStaticInfo.getAwbMaxRegionsChecked() == 0) { 524 if (mStaticInfo.getAfMaxRegionsChecked() == 0) [all...] |
ImageReaderTest.java | 225 if (!mStaticInfo.isCapabilitySupported( 243 if (!mStaticInfo.isCapabilitySupported( 286 if (!mStaticInfo.isColorOutputSupported()) { 307 if (!mStaticInfo.isColorOutputSupported()) { 331 if (!mStaticInfo.isColorOutputSupported()) { 337 int warmupCaptureNumber = (mStaticInfo.isHardwareLevelLegacy()) ? 345 StreamConfigurationMap config = mStaticInfo.getValueFromKeyNonNull(key); 354 Size[] jpegSizes = mStaticInfo.getAvailableSizesForFormatChecked(ImageFormat.JPEG, 364 mStaticInfo.getAvailableSizesForFormatChecked(format, 502 if (mStaticInfo.isHardwareLevelLegacy()) [all...] |
RecordingTest.java | 118 if (!mStaticInfo.isColorOutputSupported()) { 124 if (!mStaticInfo.isVideoStabilizationSupported() && useVideoStab) { 215 if (!mStaticInfo.isColorOutputSupported()) { 316 if (!mStaticInfo.isColorOutputSupported()) { 372 if (!mStaticInfo.isColorOutputSupported()) { 377 if (!mStaticInfo.isHighSpeedVideoSupported()) { 382 mStaticInfo.getValueFromKeyNonNull( 446 if (!mStaticInfo.isConstrainedHighSpeedVideoSupported()) { 452 mStaticInfo.getValueFromKeyNonNull( 631 mStaticInfo.getAeAvailableTargetFpsRangesChecked()) [all...] |
RobustnessTest.java | 85 int format = mStaticInfo.isColorOutputSupported() ? 258 MaxStreamSizes maxSizes = new MaxStreamSizes(mStaticInfo, id, getContext()); 261 mStaticInfo.getCharacteristics().get( 269 if (mStaticInfo.isColorOutputSupported()) { 277 if (!mStaticInfo.isHardwareLevelLegacy()) { 281 if (mStaticInfo.isColorOutputSupported()) { 289 if (mStaticInfo.isCapabilitySupported( 296 if (mStaticInfo.isHardwareLevelAtLeastFull()) { 302 if (mStaticInfo.isCapabilitySupported( 309 if (mStaticInfo.isHardwareLevelAtLeast [all...] |
BurstCaptureRawTest.java | 81 Size[] rawSizes = mStaticInfo.getRawOutputSizesChecked(); 85 Size rawSize = mStaticInfo.getRawDimensChecked(); 440 if (!mStaticInfo.isHardwareLevelAtLeastFull()) { 446 StreamConfigurationMap config = mStaticInfo.getValueFromKeyNonNull( 496 Size rawSize = mStaticInfo.getRawDimensChecked(); 544 Range<Long> exposureRangeNs = new Range<Long>(mStaticInfo.getExposureMinimumOrDefault(), 545 mStaticInfo.getExposureMaximumOrDefault()); 547 Range<Integer> isoRange = new Range<Integer>(mStaticInfo.getSensitivityMinimumOrDefault(), 548 mStaticInfo.getSensitivityMaximumOrDefault());
|
ReprocessCaptureTest.java | 197 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); 200 mStaticInfo.getValidOutputFormatsForInput(inputFormat); 351 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); 354 mStaticInfo.getValidOutputFormatsForInput(inputFormat); 380 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); 383 mStaticInfo.getValidOutputFormatsForInput(inputFormat); 410 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); 414 mStaticInfo.getValidOutputFormatsForInput(inputFormat); 440 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); 443 mStaticInfo.getValidOutputFormatsForInput(inputFormat) [all...] |
DngCreatorTest.java | 143 if (!mStaticInfo.isCapabilitySupported( 150 Size activeArraySize = mStaticInfo.getRawDimensChecked(); 159 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); 220 if (!mStaticInfo.isCapabilitySupported( 227 Size activeArraySize = mStaticInfo.getRawDimensChecked(); 230 mStaticInfo.getAvailableSizesForFormatChecked(ImageFormat.YUV_420_888, 253 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); 512 if (!mStaticInfo.isCapabilitySupported( 519 Size activeArraySize = mStaticInfo.getRawDimensChecked(); 522 Size[] targetJpegSizes = mStaticInfo.getAvailableSizesForFormatChecked [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
Camera2CaptureRequestTest.java | 90 if (!mStaticInfo.isColorOutputSupported()) { 107 int[] aeModes = mStaticInfo.getAeAvailableModesChecked(); 135 if (mStaticInfo.isCapabilitySupported( 166 if (mStaticInfo.isAeLockSupported()) { 199 boolean canSetAeLock = mStaticInfo.isAeLockSupported(); 241 if (mStaticInfo.isCapabilitySupported( 312 mStaticInfo.getMaxAnalogSensitivityChecked(); 314 expTime = mStaticInfo.getExposureClampToRange(expTime); 315 sensitivity = mStaticInfo.getSensitivityClampToRange(sensitivity); 328 long maxExpTime = mStaticInfo.getExposureMaximumOrDefault(DEFAULT_EXP_TIME_NS) [all...] |
Camera2StillCaptureTest.java | 105 if (!mStaticInfo.isColorOutputSupported()) { 139 if (!mStaticInfo.isCapabilitySupported( 202 boolean hasFocuser = mStaticInfo.hasFocuser(); 217 if (mStaticInfo.hasFlash()) { 233 mStaticInfo.getCharacteristics(), mHandler); 268 if (mStaticInfo.isHardwareLevelLimitedOrBetter()) { 275 boolean canSetAwbLock = mStaticInfo.isAwbLockSupported(); 384 Size size = mStaticInfo.getRawDimensChecked(); 446 try (DngCreator dngCreator = new DngCreator(mStaticInfo.getCharacteristics(), result)) { 514 Size pixelArraySize = mStaticInfo.getPixelArraySizeChecked() [all...] |
Camera2RecordingTest.java | 129 if (!mStaticInfo.isColorOutputSupported()) { 135 if (!mStaticInfo.isVideoStabilizationSupported() && useVideoStab) { 204 if (!mStaticInfo.isConstrainedHighSpeedVideoSupported()) { 215 mStaticInfo.getValueFromKeyNonNull( 380 mStaticInfo.getAeAvailableTargetFpsRangesChecked()); 395 if (mStaticInfo.isHardwareLevelLegacy() && 476 if (!mStaticInfo.isColorOutputSupported()) { 508 if (!mStaticInfo.isHardwareLevelLegacy()) { 552 if (mStaticInfo.isHardwareLevelLegacy() && 575 HashMap<Size, Long> minFrameDurationMap = mStaticInfo [all...] |
Camera2SwitchPreviewTest.java | 223 if (!mStaticInfo.isColorOutputSupported()) { 265 if (!mStaticInfo.isColorOutputSupported()) { 341 mStaticInfo.getAeAvailableTargetFpsRangesChecked()); 356 if (mStaticInfo.isHardwareLevelLegacy() && 416 if (!mStaticInfo.isColorOutputSupported()) { 436 if (!mStaticInfo.isHardwareLevelLegacy()) { 490 HashMap<Size, Long> minFrameDurationMap = mStaticInfo. 498 if (mStaticInfo.isHardwareLevelLegacy()) {
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
Camera2SurfaceViewTestCase.java | 96 protected StaticMetadata mStaticInfo; 432 int maxLatency = mStaticInfo.getSyncMaxLatency(); 480 int maxLatency = mStaticInfo.getSyncMaxLatency(); 507 if (!mStaticInfo.isHardwareLevelAtLeastLimited()) { 537 if (!mStaticInfo.isHardwareLevelAtLeastLimited()) { 584 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(cameraId), 586 if (mStaticInfo.isColorOutputSupported()) { 596 mStaticInfo.getAvailableMinFrameDurationsForFormatChecked(ImageFormat.YUV_420_888); 610 mStaticInfo = null; 747 if (mStaticInfo.isCapabilitySupported [all...] |
Camera2AndroidTestCase.java | 73 protected StaticMetadata mStaticInfo; 193 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(cameraId), 195 if (mStaticInfo.isColorOutputSupported()) { 254 mStaticInfo = null;
|
/hardware/libhardware/modules/camera/ |
Camera.h | 94 camera_metadata_t *mStaticInfo;
|
Camera.cpp | 53 mStaticInfo(NULL), 71 if (mStaticInfo != NULL) { 72 free_camera_metadata(mStaticInfo); 101 if (mStaticInfo == NULL) { 102 mStaticInfo = initStaticInfo(); 104 info->static_camera_characteristics = mStaticInfo;
|
/hardware/libhardware/modules/usbcamera/ |
Camera.h | 88 camera_metadata_t *mStaticInfo;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
Camera2SurfaceViewTestCase.java | 118 protected StaticMetadata mStaticInfo; 455 int maxLatency = mStaticInfo.getSyncMaxLatency(); 503 int maxLatency = mStaticInfo.getSyncMaxLatency(); 530 if (!mStaticInfo.isHardwareLevelLimitedOrBetter()) { 560 if (!mStaticInfo.isHardwareLevelLimitedOrBetter()) { 609 mStaticInfo = new StaticMetadata(properties, CheckLevel.ASSERT, /*collector*/null); 613 if (mStaticInfo.isColorOutputSupported()) { 628 mStaticInfo.getAvailableMinFrameDurationsForFormatChecked(ImageFormat.YUV_420_888); 642 mStaticInfo = null; [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/ |
Camera2Focuser.java | 56 private final StaticMetadata mStaticInfo; 119 mStaticInfo = new StaticMetadata(staticInfo, 123 if (!mStaticInfo.hasFocuser()) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
Camera2Focuser.java | 59 private final StaticMetadata mStaticInfo; 122 mStaticInfo = new StaticMetadata(staticInfo, 126 if (!mStaticInfo.hasFocuser()) {
|