/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraExtensionCharacteristicsTest.java | 28 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 …]
|
D | RobustnessTest.java | 73 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 …]
|
D | ReprocessCaptureTest.java | 28 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 …]
|
D | CameraExtensionSessionTest.java | 61 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 …]
|
D | MultiResolutionReprocessCaptureTest.java | 33 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()
|
D | CameraDeviceSetupTest.java | 38 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()
|
D | MultiResolutionImageReaderTest.java | 42 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()
|
D | StaticMetadataTest.java | 30 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()
|
D | ConcurrentCameraTest.java | 30 import android.hardware.camera2.cts.helpers.StaticMetadata; 72 public StaticMetadata staticInfo; 79 public TestSample(String cameraId, StaticMetadata staticInfo, in TestSample()
|
D | LogicalCameraDeviceTest.java | 56 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()
|
D | CaptureResultTest.java | 36 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()
|
D | FlashlightTest.java | 24 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()
|
D | PerformanceTest.java | 40 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 …]
|
D | ZoomCaptureTest.java | 23 import android.hardware.camera2.cts.helpers.StaticMetadata; 175 StaticMetadata.StreamDirection.Output); in bufferFormatZoomTestByCamera()
|
D | ImageReaderTest.java | 56 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/ |
D | Camera2ConcurrentAndroidTestCase.java | 39 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()
|
D | Camera2AndroidTestRule.java | 37 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()
|
D | Camera2SurfaceViewTestCase.java | 41 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()
|
D | Camera2AndroidTestCase.java | 46 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()
|
D | Camera2MultiViewTestCase.java | 51 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/ |
D | EnableZslTest.java | 26 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/ |
D | Camera2Focuser.java | 56 private final StaticMetadata mStaticInfo; 119 mStaticInfo = new StaticMetadata(staticInfo, in Camera2Focuser() 120 StaticMetadata.CheckLevel.ASSERT, /*collector*/null); in Camera2Focuser()
|
D | StaticMetadata.java | 61 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/ |
D | CameraUtils.java | 30 import android.hardware.camera2.cts.helpers.StaticMetadata; 125 StaticMetadata staticMeta = new StaticMetadata(ch); in matchParametersToCharacteristics()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 45 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 …]
|