/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraExtensionCharacteristicsTest.java | 22 import android.hardware.camera2.cts.helpers.StaticMetadata; 66 mTestRule.setStaticInfo(new StaticMetadata( in openDevice() 68 StaticMetadata.CheckLevel.ASSERT, /*collector*/null)); in openDevice() 87 StaticMetadata.StreamDirection.Output)); in verifySupportedSizes() 107 StaticMetadata.StreamDirection.Output)); in verifySupportedSizes() 133 StaticMetadata staticMeta = in testExtensionAvailability() 134 new StaticMetadata(mTestRule.getCameraManager().getCameraCharacteristics(id)); in testExtensionAvailability() 164 StaticMetadata staticMeta = in testExtensionSizes() 165 new StaticMetadata(mTestRule.getCameraManager().getCameraCharacteristics(id)); in testExtensionSizes() 217 StaticMetadata staticMeta = in testExtensionLatencyRanges() [all …]
|
D | RobustnessTest.java | 34 import android.hardware.camera2.cts.helpers.StaticMetadata; 264 StaticMetadata physicalStaticInfo = mAllStaticInfo.get(physicalId); in testMandatoryOutputCombinations() 304 private void testMandatoryStreamCombination(String cameraId, StaticMetadata staticInfo, in testMandatoryStreamCombination() 354 StaticMetadata staticInfo, String physicalCameraId, in testMandatoryStreamCombination() 744 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testBasicTriggerSequence() 884 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testSimultaneousTriggers() 987 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testAfThenAeTrigger() 1104 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testAeThenAfTrigger() 1222 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testAeAndAfCausality() 1296 StaticMetadata.getAfModeName(afMode)), in testAeAndAfCausality() [all …]
|
D | CameraExtensionSessionTest.java | 48 import android.hardware.camera2.cts.helpers.StaticMetadata; 131 StaticMetadata staticMeta = in testBasicExtensionLifecycle() 132 new StaticMetadata(mTestRule.getCameraManager().getCameraCharacteristics(id)); in testBasicExtensionLifecycle() 181 StaticMetadata staticMeta = in testCloseCaptureSession() 182 new StaticMetadata(mTestRule.getCameraManager().getCameraCharacteristics(id)); in testCloseCaptureSession() 248 StaticMetadata staticMeta = in testCloseExtensionSession() 249 new StaticMetadata(mTestRule.getCameraManager().getCameraCharacteristics(id)); in testCloseExtensionSession() 310 StaticMetadata staticMeta = in testGetDevice() 311 new StaticMetadata(mTestRule.getCameraManager().getCameraCharacteristics(id)); in testGetDevice() 369 StaticMetadata staticMeta = in testRepeatingCapture() [all …]
|
D | ReprocessCaptureTest.java | 31 import android.hardware.camera2.cts.helpers.StaticMetadata; 32 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel; 246 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testRecreateReprocessingSessions() 252 getMaxSize(inputFormat, StaticMetadata.StreamDirection.Input); in testRecreateReprocessingSessions() 254 StaticMetadata.StreamDirection.Output); in testRecreateReprocessingSessions() 291 getMaxSize(inputFormat, StaticMetadata.StreamDirection.Input); in testCrossSessionCaptureException() 293 getMaxSize(reprocessOutputFormat, StaticMetadata.StreamDirection.Output); in testCrossSessionCaptureException() 369 getMaxSize(inputFormat, StaticMetadata.StreamDirection.Input); in testQueueImageWithoutRequest() 371 getMaxSize(reprocessOutputFormat, StaticMetadata.StreamDirection.Output); in testQueueImageWithoutRequest() 471 mStaticInfo.getAvailableFormats(StaticMetadata.StreamDirection.Input); in testReprocessAbort() [all …]
|
D | FlashlightTest.java | 23 import android.hardware.camera2.cts.helpers.StaticMetadata; 24 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel; 64 StaticMetadata info = in setUp() 65 new StaticMetadata(mCameraManager.getCameraCharacteristics(id), in setUp()
|
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 | MultiResolutionImageReaderTest.java | 32 import android.hardware.camera2.cts.helpers.StaticMetadata; 102 StaticMetadata info = mAllStaticInfo.get(id); in testMultiResolutionCaptureCharacteristics() 228 StaticMetadata info = mAllStaticInfo.get(id); in testMultiResolutionMandatoryStreamCombinationTest() 275 StaticMetadata staticInfo, MandatoryStreamCombination combination, in testMultiResolutionMandatoryStreamCombination() 358 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testMultiResolutionImageReaderForFormat()
|
D | AllocationTest.java | 45 import android.hardware.camera2.cts.helpers.StaticMetadata; 548 final StaticMetadata staticInfo = in testBlackWhite() 549 new StaticMetadata(mCameraManager.getCameraCharacteristics(camera.getId())); in testBlackWhite() 628 final StaticMetadata staticInfo = in testParamSensitivity() 629 new StaticMetadata(mCameraManager.getCameraCharacteristics(camera.getId())); in testParamSensitivity() 773 StaticMetadata staticInfo = new StaticMetadata(properties); in forEachCamera()
|
D | LogicalCameraDeviceTest.java | 38 import android.hardware.camera2.cts.helpers.StaticMetadata; 39 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel; 184 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testBasicPhysicalStreaming() 226 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testBasicLogicalPhysicalStreamCombination() 354 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testBasicPhysicalRequests() 491 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testInvalidPhysicalCameraRequests() 598 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testLogicalCameraZoomSwitch() 705 StaticMetadata physicalCameraStaticInfo = in testLogicalCameraZoomSwitch() 760 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testActivePhysicalId() 852 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testDefaultFov() [all …]
|
D | ZoomCaptureTest.java | 21 import android.hardware.camera2.cts.helpers.StaticMetadata; 103 StaticMetadata.StreamDirection.Output); in bufferFormatZoomTestByCamera()
|
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 | ImageReaderTest.java | 36 import android.hardware.camera2.cts.helpers.StaticMetadata; 537 StaticMetadata.StreamDirection.Output); in testAllOutputYUVResolutions() 548 StaticMetadata.StreamDirection.Output); in testAllOutputYUVResolutions() 916 StaticMetadata.StreamDirection.Output); in bufferFormatWithYuvTestByCamera() 1004 StaticMetadata.StreamDirection.Output); in invalidAccessTestAfterClose() 1032 StaticMetadata.StreamDirection.Output)[0]; in discardFreeBuffersTestByCamera() 1097 StaticMetadata staticInfo; in bufferFormatTestByCamera() 1105 StaticMetadata.StreamDirection.Output); in bufferFormatTestByCamera() 1187 StaticMetadata.StreamDirection.Output); in bufferFormatLongProcessingTimeTestByCamera()
|
D | CaptureResultTest.java | 36 import android.hardware.camera2.cts.helpers.StaticMetadata; 423 SimpleCaptureCallback captureListener, StaticMetadata staticInfo, in validateCaptureResult() 424 Map<String, StaticMetadata> allStaticInfo, List<String> requestedPhysicalIds, in validateCaptureResult() 436 StaticMetadata physicalStaticInfo = allStaticInfo.get(physicalId); in validateCaptureResult() 457 StaticMetadata physicalStaticInfo = allStaticInfo.get(physicalId); in validateCaptureResult() 484 StaticMetadata staticInfo, List<CaptureResult.Key<?>> skippedKeys, in validateOneCaptureResult() 590 private static List<CaptureResult.Key<?>> getWaiverKeysForCamera(StaticMetadata staticInfo) { in getWaiverKeysForCamera() 692 StaticMetadata.StreamDirection.Output); in getWaiverKeysForCamera()
|
D | StaticMetadataTest.java | 28 import android.hardware.camera2.cts.helpers.StaticMetadata; 29 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel; 184 capability <= StaticMetadata.LAST_CAPABILITY_ENUM; capability++) { in testCapabilities() 595 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(cameraId), in initStaticMetadata()
|
D | BurstCaptureTest.java | 27 import android.hardware.camera2.cts.helpers.StaticMetadata; 91 StaticMetadata staticInfo = mAllStaticInfo.get(id); in testBurst()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2ConcurrentAndroidTestCase.java | 37 import android.hardware.camera2.cts.helpers.StaticMetadata; 38 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel; 63 public StaticMetadata mStaticInfo; 68 public CameraTestInfo(String cameraId, StaticMetadata staticInfo, in CameraTestInfo() 81 protected HashMap<String, StaticMetadata> mAllStaticInfo; 107 mAllStaticInfo = new HashMap<String, StaticMetadata>(); in setUp() 111 StaticMetadata staticMetadata = new StaticMetadata(props, in setUp() 119 staticMetadata = new StaticMetadata( in setUp() 134 StaticMetadata staticMetadata = mAllStaticInfo.get(cameraId); in setUp()
|
D | Camera2AndroidTestRule.java | 36 import android.hardware.camera2.cts.helpers.StaticMetadata; 37 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel; 78 private HashMap<String, StaticMetadata> mAllStaticInfo; 83 private StaticMetadata mStaticInfo; 117 public StaticMetadata getStaticInfo() { in getStaticInfo() 125 public void setStaticInfo(StaticMetadata staticInfo) { in setStaticInfo() 165 public HashMap<String, StaticMetadata> getAllStaticInfo() { in getAllStaticInfo() 246 mAllStaticInfo = new HashMap<String, StaticMetadata>(); in before() 250 StaticMetadata staticMetadata = new StaticMetadata(props, in before() 259 staticMetadata = new StaticMetadata( in before()
|
D | Camera2AndroidTestCase.java | 39 import android.hardware.camera2.cts.helpers.StaticMetadata; 40 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel; 80 protected HashMap<String, StaticMetadata> mAllStaticInfo; 85 protected StaticMetadata mStaticInfo; 124 mAllStaticInfo = new HashMap<String, StaticMetadata>(); in setUp() 128 StaticMetadata staticMetadata = new StaticMetadata(props, in setUp() 137 staticMetadata = new StaticMetadata( in setUp()
|
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() 146 StaticMetadata staticMetadata = new StaticMetadata(props, in setUp() 155 staticMetadata = new StaticMetadata( in setUp() 637 mStaticInfo = new StaticMetadata(mCameraManager.getCameraCharacteristics(cameraId), in openDevice() 864 StaticMetadata info = in isReprocessSupported() 865 new StaticMetadata(mCameraManager.getCameraCharacteristics(cameraId), in isReprocessSupported()
|
D | Camera2MultiViewTestCase.java | 38 import android.hardware.camera2.cts.helpers.StaticMetadata; 39 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel; 312 protected StaticMetadata getStaticInfo(String cameraId) { in getStaticInfo() 314 StaticMetadata staticInfo = camera.getStaticInfo(); in getStaticInfo() 399 private StaticMetadata mStaticInfo; 408 public StaticMetadata getStaticInfo() { in getStaticInfo() 444 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/api31test/src/android/camera/cts/api31test/ |
D | SPerfClassTest.java | 32 import android.hardware.camera2.cts.helpers.StaticMetadata; 33 import android.hardware.camera2.cts.helpers.StaticMetadata.CheckLevel; 119 StaticMetadata staticInfo = new StaticMetadata(c, CheckLevel.ASSERT, mCollector); in testSPerfClassJpegSizesByCamera()
|
/cts/tests/camera/utils/src/android/hardware/cts/helpers/ |
D | CameraUtils.java | 25 import android.hardware.camera2.cts.helpers.StaticMetadata; 115 StaticMetadata staticMeta = new StaticMetadata(ch); in matchParametersToCharacteristics()
|
/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 | 56 public class StaticMetadata { class 156 public StaticMetadata(CameraCharacteristics characteristics) { in StaticMetadata() method in StaticMetadata 171 public StaticMetadata(CameraCharacteristics characteristics, CameraErrorCollector collector) { in StaticMetadata() method in StaticMetadata 189 public StaticMetadata(CameraCharacteristics characteristics, CheckLevel level, in StaticMetadata() method in StaticMetadata 960 StaticMetadata.StreamDirection.Output, /*fastSizes*/true, /*slowSizes*/true, in getRawDimensChecked() 1952 StaticMetadata.StreamDirection.Output); in getAvailableExtendedSceneModeCapsChecked() 2522 StaticMetadata.StreamDirection.Output); in isMonochromeWithY8() 2613 int[] formats = getAvailableFormats(StaticMetadata.StreamDirection.Output); in isHeicSupported() 2621 int[] formats = getAvailableFormats(StaticMetadata.StreamDirection.Output); in isDepthJpegSupported()
|