Home
last modified time | relevance | path

Searched refs:StaticMetadata (Results 1 – 25 of 38) sorted by relevance

12

/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraExtensionCharacteristicsTest.java28 import android.hardware.camera2.cts.helpers.StaticMetadata;
125 mTestRule.setStaticInfo(new StaticMetadata( in openDevice()
127 StaticMetadata.CheckLevel.ASSERT, /*collector*/null)); in openDevice()
146 StaticMetadata.StreamDirection.Output)); in verifySupportedSizes()
166 StaticMetadata.StreamDirection.Output)); in verifySupportedSizes()
194 StaticMetadata staticMeta = in testExtensionAvailability()
195 new StaticMetadata(mTestRule.getCameraManager().getCameraCharacteristics(id)); in testExtensionAvailability()
225 StaticMetadata staticMeta = in testExtensionSizes()
226 new StaticMetadata(mTestRule.getCameraManager().getCameraCharacteristics(id)); in testExtensionSizes()
279 StaticMetadata staticMeta = in testExtensionLatencyRanges()
[all …]
DRobustnessTest.java73 import android.hardware.camera2.cts.helpers.StaticMetadata;
271 StaticMetadata physicalStaticInfo = mAllStaticInfo.get(physicalId); in testMandatoryOutputCombinations()
317 StaticMetadata info = mAllStaticInfo.get(id); in testMandatoryUseCaseOutputCombinations()
352 StaticMetadata info = mAllStaticInfo.get(id); in testMandatoryPreviewStabilizationOutputCombinations()
390 private boolean isPreviewStabilizationSupported(StaticMetadata info) { in isPreviewStabilizationSupported()
503 private void testMandatoryStreamCombination(String cameraId, StaticMetadata staticInfo, in testMandatoryStreamCombination()
553 StaticMetadata staticInfo, String physicalCameraId, in testMandatoryStreamCombination()
1110 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testBasicTriggerSequence()
1250 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testSimultaneousTriggers()
1353 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testAfThenAeTrigger()
[all …]
DReprocessCaptureTest.java28 import android.hardware.camera2.cts.helpers.StaticMetadata;
244 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testRecreateReprocessingSessions()
250 getMaxSize(inputFormat, StaticMetadata.StreamDirection.Input); in testRecreateReprocessingSessions()
252 StaticMetadata.StreamDirection.Output); in testRecreateReprocessingSessions()
289 getMaxSize(inputFormat, StaticMetadata.StreamDirection.Input); in testCrossSessionCaptureException()
291 getMaxSize(reprocessOutputFormat, StaticMetadata.StreamDirection.Output); in testCrossSessionCaptureException()
367 getMaxSize(inputFormat, StaticMetadata.StreamDirection.Input); in testQueueImageWithoutRequest()
369 getMaxSize(reprocessOutputFormat, StaticMetadata.StreamDirection.Output); in testQueueImageWithoutRequest()
469 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessAbort()
499 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessTimestamps()
[all …]
DCameraExtensionSessionTest.java61 import android.hardware.camera2.cts.helpers.StaticMetadata;
204 StaticMetadata staticMeta = in testBasicExtensionLifecycle()
205 new StaticMetadata(mTestRule.getCameraManager().getCameraCharacteristics(id)); in testBasicExtensionLifecycle()
253 StaticMetadata staticMeta = in testCloseCaptureSession()
254 new StaticMetadata(mTestRule.getCameraManager().getCameraCharacteristics(id)); in testCloseCaptureSession()
319 StaticMetadata staticMeta = in testCloseExtensionSession()
320 new StaticMetadata(mTestRule.getCameraManager().getCameraCharacteristics(id)); in testCloseExtensionSession()
380 StaticMetadata staticMeta = in testGetDevice()
381 new StaticMetadata(mTestRule.getCameraManager().getCameraCharacteristics(id)); in testGetDevice()
438 StaticMetadata staticMeta = in testRepeatingCapture()
[all …]
DMultiResolutionReprocessCaptureTest.java33 import android.hardware.camera2.cts.helpers.StaticMetadata;
34 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel;
98 StaticMetadata info = mAllStaticInfo.get(id); in testMultiResolutionReprocessCharacteristics()
157 StaticMetadata pInfo = mAllStaticInfo.get(physicalCameraId); in testMultiResolutionReprocessCharacteristics()
268 StaticMetadata info = mAllStaticInfo.get(id); in testMultiResolutionMandatoryStreamCombinationTest()
318 StaticMetadata staticInfo, MandatoryStreamCombination combination, in testMultiResolutionMandatoryStreamCombination()
770 private Size getMaxSize(int format, StaticMetadata.StreamDirection direction) { in getMaxSize()
777 StaticMetadata staticInfo = mAllStaticInfo.get(cameraId); in getMultiResReprocessInfo()
DCameraDeviceSetupTest.java38 import android.hardware.camera2.cts.helpers.StaticMetadata;
206 StaticMetadata staticChars = new StaticMetadata( in testSessionCharacteristics()
246 StaticMetadata sessionMetadata = new StaticMetadata(sessionCharacteristics); in testSessionCharacteristics()
483 StaticMetadata staticInfo = mAllStaticInfo.get(cameraId); in testFeatureCombinationQueryConsistencyByCamera()
724 private long setupConfigurations(StaticMetadata staticInfo, int[] configs, in setupConfigurations()
DMultiResolutionImageReaderTest.java42 import android.hardware.camera2.cts.helpers.StaticMetadata;
101 StaticMetadata info = mAllStaticInfo.get(id); in testMultiResolutionCaptureCharacteristics()
233 StaticMetadata info = mAllStaticInfo.get(id); in testMultiResolutionMandatoryStreamCombinationTest()
280 StaticMetadata staticInfo, MandatoryStreamCombination combination, in testMultiResolutionMandatoryStreamCombination()
363 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testMultiResolutionImageReaderForFormat()
DStaticMetadataTest.java30 import android.hardware.camera2.cts.helpers.StaticMetadata;
31 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel;
194 capability <= StaticMetadata.LAST_CAPABILITY_ENUM; capability++) { in testCapabilities()
632 StaticMetadata metadata = mAllStaticInfo.get(cameraId); in testCameraCharacteristicKeysAreUnique()
665 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(cameraId), in initStaticMetadata()
DConcurrentCameraTest.java30 import android.hardware.camera2.cts.helpers.StaticMetadata;
72 public StaticMetadata staticInfo;
79 public TestSample(String cameraId, StaticMetadata staticInfo, in TestSample()
DLogicalCameraDeviceTest.java56 import android.hardware.camera2.cts.helpers.StaticMetadata;
194 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testBasicPhysicalStreaming()
238 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testBasicLogicalPhysicalStreamCombination()
373 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testBasicPhysicalRequests()
514 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testInvalidPhysicalCameraRequests()
623 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testLogicalCameraZoomSwitch()
752 StaticMetadata physicalCameraStaticInfo = in testLogicalCameraZoomSwitch()
788 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testActivePhysicalId()
880 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testDefaultFov()
1059 StaticMetadata physicalStaticInfo = mAllStaticInfo.get(physicalId); in validatePhysicalCamerasFov()
DCaptureResultTest.java36 import android.hardware.camera2.cts.helpers.StaticMetadata;
424 SimpleCaptureCallback captureListener, StaticMetadata staticInfo, in validateCaptureResult()
425 Map<String, StaticMetadata> allStaticInfo, List<String> requestedPhysicalIds, in validateCaptureResult()
437 StaticMetadata physicalStaticInfo = allStaticInfo.get(physicalId); in validateCaptureResult()
458 StaticMetadata physicalStaticInfo = allStaticInfo.get(physicalId); in validateCaptureResult()
485 StaticMetadata staticInfo, List<CaptureResult.Key<?>> skippedKeys, in validateOneCaptureResult()
591 private static List<CaptureResult.Key<?>> getWaiverKeysForCamera(StaticMetadata staticInfo) { in getWaiverKeysForCamera()
709 StaticMetadata.StreamDirection.Output); in getWaiverKeysForCamera()
DFlashlightTest.java24 import android.hardware.camera2.cts.helpers.StaticMetadata;
25 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel;
70 StaticMetadata info = in setUp()
71 new StaticMetadata(mCameraManager.getCameraCharacteristics(id), in setUp()
DPerformanceTest.java40 import android.hardware.camera2.cts.helpers.StaticMetadata;
41 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel;
195 mTestRule.setStaticInfo(new StaticMetadata(ch)); in testCameraLaunch()
611 StaticMetadata staticMetadata = mTestRule.getAllStaticInfo().get(id); in testMultipleCapture()
990 private double[] getZoomRatiosToTest(StaticMetadata staticMetadata, in getZoomRatiosToTest()
1062 StaticMetadata staticMetadata = mTestRule.getAllStaticInfo().get(id); in testZoomSettingsOverrideLatency()
1210 StaticMetadata staticMetadata = mTestRule.getAllStaticInfo().get(id);
1251 StaticMetadata staticMetadata = mTestRule.getAllStaticInfo().get(id);
1692 StaticMetadata.StreamDirection.Input);
1965 StaticMetadata info = new StaticMetadata(
[all …]
DZoomCaptureTest.java23 import android.hardware.camera2.cts.helpers.StaticMetadata;
175 StaticMetadata.StreamDirection.Output); in bufferFormatZoomTestByCamera()
DImageReaderTest.java56 import android.hardware.camera2.cts.helpers.StaticMetadata;
986 StaticMetadata phyInfo = mAllStaticInfo.get(physicalId); in testImageReaderPrivateWithProtectedUsageFlag()
1082 StaticMetadata.StreamDirection.Output); in testAllOutputYUVResolutions()
1093 StaticMetadata.StreamDirection.Output); in testAllOutputYUVResolutions()
1543 StaticMetadata.StreamDirection.Output); in bufferFormatWithYuvTestByCamera()
1634 StaticMetadata.StreamDirection.Output); in invalidAccessTestAfterClose()
1662 StaticMetadata.StreamDirection.Output)[0]; in discardFreeBuffersTestByCamera()
1732 StaticMetadata staticInfo; in bufferFormatTestByCamera()
1740 StaticMetadata.StreamDirection.Output); in bufferFormatTestByCamera()
1851 StaticMetadata.StreamDirection.Output); in bufferFormatLongProcessingTimeTestByCamera()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2ConcurrentAndroidTestCase.java39 import android.hardware.camera2.cts.helpers.StaticMetadata;
40 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel;
69 public StaticMetadata mStaticInfo;
74 public CameraTestInfo(String cameraId, StaticMetadata staticInfo, in CameraTestInfo()
85 protected HashMap<String, StaticMetadata> mAllStaticInfo;
117 mAllStaticInfo = new HashMap<String, StaticMetadata>(); in setUp()
122 StaticMetadata staticMetadata = new StaticMetadata(props, in setUp()
130 staticMetadata = new StaticMetadata( in setUp()
145 StaticMetadata staticMetadata = mAllStaticInfo.get(cameraId); in setUp()
DCamera2AndroidTestRule.java37 import android.hardware.camera2.cts.helpers.StaticMetadata;
38 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel;
79 private HashMap<String, StaticMetadata> mAllStaticInfo;
84 private StaticMetadata mStaticInfo;
124 public StaticMetadata getStaticInfo() { in getStaticInfo()
132 public void setStaticInfo(StaticMetadata staticInfo) { in setStaticInfo()
172 public HashMap<String, StaticMetadata> getAllStaticInfo() { in getAllStaticInfo()
257 mAllStaticInfo = new HashMap<String, StaticMetadata>(); in before()
261 StaticMetadata staticMetadata = new StaticMetadata(props, in before()
270 staticMetadata = new StaticMetadata( in before()
DCamera2SurfaceViewTestCase.java41 import android.hardware.camera2.cts.helpers.StaticMetadata;
42 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel;
104 protected HashMap<String, StaticMetadata> mAllStaticInfo;
106 protected StaticMetadata mStaticInfo;
142 mAllStaticInfo = new HashMap<String, StaticMetadata>(); in setUp()
147 StaticMetadata staticMetadata = new StaticMetadata(props, in setUp()
156 staticMetadata = new StaticMetadata( in setUp()
638 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(cameraId), in openDevice()
865 StaticMetadata info = in isReprocessSupported()
866 new StaticMetadata(mCameraManager.getCameraCharacteristics(cameraId), in isReprocessSupported()
DCamera2AndroidTestCase.java46 import android.hardware.camera2.cts.helpers.StaticMetadata;
47 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel;
89 protected HashMap<String, StaticMetadata> mAllStaticInfo;
94 protected StaticMetadata mStaticInfo;
143 mAllStaticInfo = new HashMap<String, StaticMetadata>(); in setUp()
148 StaticMetadata staticMetadata = new StaticMetadata(props, in setUp()
157 staticMetadata = new StaticMetadata( in setUp()
DCamera2MultiViewTestCase.java51 import android.hardware.camera2.cts.helpers.StaticMetadata;
52 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel;
323 protected StaticMetadata getStaticInfo(String cameraId) { in getStaticInfo()
325 StaticMetadata staticInfo = camera.getStaticInfo(); in getStaticInfo()
419 private StaticMetadata mStaticInfo;
428 public StaticMetadata getStaticInfo() { in getStaticInfo()
464 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(mCameraId), in open()
/cts/tests/camera/api25test/src/android/camera/cts/api25test/
DEnableZslTest.java26 import android.hardware.camera2.cts.helpers.StaticMetadata;
27 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel;
48 private StaticMetadata mStaticInfo;
131 StaticMetadata staticInfo = new StaticMetadata( in testEnableZslValueByCamera()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCamera2Focuser.java56 private final StaticMetadata mStaticInfo;
119 mStaticInfo = new StaticMetadata(staticInfo, in Camera2Focuser()
120 StaticMetadata.CheckLevel.ASSERT, /*collector*/null); in Camera2Focuser()
DStaticMetadata.java61 public class StaticMetadata { class
161 public StaticMetadata(CameraCharacteristics characteristics) { in StaticMetadata() method in StaticMetadata
176 public StaticMetadata(CameraCharacteristics characteristics, CameraErrorCollector collector) { in StaticMetadata() method in StaticMetadata
194 public StaticMetadata(CameraCharacteristics characteristics, CheckLevel level, in StaticMetadata() method in StaticMetadata
1049 StaticMetadata.StreamDirection.Output, /*fastSizes*/true, /*slowSizes*/true, in getRawDimensChecked()
2081 StaticMetadata.StreamDirection.Output); in getAvailableExtendedSceneModeCapsChecked()
2677 StaticMetadata.StreamDirection.Output); in isMonochromeWithY8()
2768 int[] formats = getAvailableFormats(StaticMetadata.StreamDirection.Output); in isHeicSupported()
2776 int[] formats = getAvailableFormats(StaticMetadata.StreamDirection.Output); in isDepthJpegSupported()
2784 int[] formats = getAvailableFormats(StaticMetadata.StreamDirection.Output); in isJpegRSupported()
/cts/tests/camera/utils/src/android/hardware/cts/helpers/
DCameraUtils.java30 import android.hardware.camera2.cts.helpers.StaticMetadata;
125 StaticMetadata staticMeta = new StaticMetadata(ch); in matchParametersToCharacteristics()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java45 import android.hardware.camera2.cts.helpers.StaticMetadata;
2491 StaticMetadata staticInfo) in update3aRegion()
2534 MeteringRectangle[] expectRegions, boolean scaleByZoomRatio, StaticMetadata staticInfo) in validate3aRegion()
3039 public static Range<Integer>[] getDescendingTargetFpsRanges(StaticMetadata staticInfo) { in getDescendingTargetFpsRanges()
3055 public static List<Range<Integer>> getTargetFpsRangesUpTo30(StaticMetadata staticInfo) { in getTargetFpsRangesUpTo30()
3072 public static List<Range<Integer>> getTargetFpsRangesGreaterThan30(StaticMetadata staticInfo) { in getTargetFpsRangesGreaterThan30()
3419 Size expectedThumbnailSize, ExifTestData expectedExifData, StaticMetadata staticInfo, in verifyJpegKeys()
3420 HashMap<String, StaticMetadata> allStaticInfo, CameraErrorCollector collector, in verifyJpegKeys()
3535 StaticMetadata staticInfo, in getAvailableFocalLengthsForResult()
3536 HashMap<String, StaticMetadata> allStaticInfo) { in getAvailableFocalLengthsForResult()
[all …]

12