Home
last modified time | relevance | path

Searched refs:mCameraIds (Results 1 – 25 of 28) sorted by relevance

12

/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraDeviceTest.java180 for (int i = 0; i < mCameraIds.length; i++) { in testCameraDevicePreviewTemplate()
181 captureTemplateTestByCamera(mCameraIds[i], CameraDevice.TEMPLATE_PREVIEW); in testCameraDevicePreviewTemplate()
206 for (int i = 0; i < mCameraIds.length; i++) { in testCameraDeviceStillTemplate()
207 captureTemplateTestByCamera(mCameraIds[i], CameraDevice.TEMPLATE_STILL_CAPTURE); in testCameraDeviceStillTemplate()
226 for (int i = 0; i < mCameraIds.length; i++) { in testCameraDeviceRecordingTemplate()
227 captureTemplateTestByCamera(mCameraIds[i], CameraDevice.TEMPLATE_RECORD); in testCameraDeviceRecordingTemplate()
242 for (int i = 0; i < mCameraIds.length; i++) { in testCameraDeviceVideoSnapShotTemplate()
243 captureTemplateTestByCamera(mCameraIds[i], CameraDevice.TEMPLATE_VIDEO_SNAPSHOT); in testCameraDeviceVideoSnapShotTemplate()
257 for (int i = 0; i < mCameraIds.length; i++) { in testCameraDeviceZSLTemplate()
258 captureTemplateTestByCamera(mCameraIds[i], CameraDevice.TEMPLATE_ZERO_SHUTTER_LAG); in testCameraDeviceZSLTemplate()
[all …]
DStillCaptureTest.java94 for (int i = 0; i < mCameraIds.length; i++) { in testJpegExif()
96 Log.i(TAG, "Testing JPEG exif for Camera " + mCameraIds[i]); in testJpegExif()
97 if (!mAllStaticInfo.get(mCameraIds[i]).isColorOutputSupported()) { in testJpegExif()
98 Log.i(TAG, "Camera " + mCameraIds[i] + in testJpegExif()
102 openDevice(mCameraIds[i]); in testJpegExif()
117 for (int i = 0; i < mCameraIds.length; i++) { in testHeicExif()
119 Log.i(TAG, "Testing HEIC exif for Camera " + mCameraIds[i]); in testHeicExif()
120 if (!mAllStaticInfo.get(mCameraIds[i]).isColorOutputSupported()) { in testHeicExif()
121 Log.i(TAG, "Camera " + mCameraIds[i] + in testHeicExif()
125 if (!mAllStaticInfo.get(mCameraIds[i]).isHeicSupported()) { in testHeicExif()
[all …]
DSurfaceViewPreviewTest.java89 for (int i = 0; i < mCameraIds.length; i++) { in testCameraPreview()
91 Log.i(TAG, "Testing preview for Camera " + mCameraIds[i]); in testCameraPreview()
92 if (!mAllStaticInfo.get(mCameraIds[i]).isColorOutputSupported()) { in testCameraPreview()
93 Log.i(TAG, "Camera " + mCameraIds[i] + in testCameraPreview()
97 openDevice(mCameraIds[i]); in testCameraPreview()
114 for (int i = 0; i < mCameraIds.length; i++) { in testBasicTestPatternPreview()
116 Log.i(TAG, "Testing preview for Camera " + mCameraIds[i]); in testBasicTestPatternPreview()
117 if (!mAllStaticInfo.get(mCameraIds[i]).isColorOutputSupported()) { in testBasicTestPatternPreview()
118 Log.i(TAG, "Camera " + mCameraIds[i] + in testBasicTestPatternPreview()
122 openDevice(mCameraIds[i]); in testBasicTestPatternPreview()
[all …]
DFlashlightTest.java54 for (String id : mCameraIds) { in setUp()
177 for (String idToOpen : mCameraIds) { in testCameraDeviceOpenAfterTorchOn()
231 String[] cameraIdsToTestTorch = new String[mCameraIds.length + 3]; in testTorchModeExceptions()
232 System.arraycopy(mCameraIds, 0, cameraIdsToTestTorch, 0, mCameraIds.length); in testTorchModeExceptions()
233 cameraIdsToTestTorch[mCameraIds.length] = generateNonexistingCameraId(); in testTorchModeExceptions()
234 cameraIdsToTestTorch[mCameraIds.length + 1] = generateNonexistingNumericCameraId(); in testTorchModeExceptions()
236 for (String idToOpen : mCameraIds) { in testTorchModeExceptions()
291 for (String id : mCameraIds) { in generateNonexistingCameraId()
292 if (Arrays.asList(mCameraIds).contains(nonExisting)) { in generateNonexistingCameraId()
303 int[] numericCameraIds = new int[mCameraIds.length]; in generateNonexistingNumericCameraId()
[all …]
DImageReaderTest.java110 for (String id : mCameraIds) { in testFlexibleYuv()
122 for (String id : mCameraIds) { in testDepth16()
134 for (String id : mCameraIds) { in testDepthPointCloud()
146 for (String id : mCameraIds) { in testDynamicDepth()
158 for (String id : mCameraIds) { in testY8()
170 for (String id : mCameraIds) { in testJpeg()
182 for (String id : mCameraIds) { in testRaw()
195 for (String id : mCameraIds) { in testRawPrivate()
208 for (String id : mCameraIds) { in testHeic()
220 for (String id : mCameraIds) { in testRepeatingJpeg()
[all …]
DFastBasicsTest.java65 for (int i = 0; i < mCameraIds.length; i++) { in testCamera2()
67 Log.i(TAG, "Testing camera2 API for camera device " + mCameraIds[i]); in testCamera2()
69 if (!mAllStaticInfo.get(mCameraIds[i]).isColorOutputSupported()) { in testCamera2()
70 Log.i(TAG, "Camera " + mCameraIds[i] + in testCamera2()
75 openDevice(mCameraIds[i]); in testCamera2()
DRecordingTest.java134 for (int i = 0; i < mCameraIds.length; i++) { in doBasicRecording()
136 Log.i(TAG, "Testing basic recording for camera " + mCameraIds[i]); in doBasicRecording()
137 StaticMetadata staticInfo = mAllStaticInfo.get(mCameraIds[i]); in doBasicRecording()
139 Log.i(TAG, "Camera " + mCameraIds[i] + in doBasicRecording()
146 Log.i(TAG, "Camera " + mCameraIds[i] + in doBasicRecording()
152 Log.i(TAG, "Camera " + mCameraIds[i] + in doBasicRecording()
160 openDevice(mCameraIds[i]); in doBasicRecording()
161 initSupportedVideoSize(mCameraIds[i]); in doBasicRecording()
259 for (int i = 0; i < mCameraIds.length; i++) { in testSupportedVideoSizes()
261 Log.i(TAG, "Testing supported video size recording for camera " + mCameraIds[i]); in testSupportedVideoSizes()
[all …]
DCaptureRequestTest.java147 for (int i = 0; i < mCameraIds.length; i++) { in testSettingsBinderParcel()
149 openDevice(mCameraIds[i]); in testSettingsBinderParcel()
236 for (int i = 0; i < mCameraIds.length; i++) { in testBlackLevelLock()
238 if (!mAllStaticInfo.get(mCameraIds[i]).isCapabilitySupported( in testBlackLevelLock()
243 openDevice(mCameraIds[i]); in testBlackLevelLock()
290 for (String id : mCameraIds) { in testDynamicBlackWhiteLevel()
318 for (int i = 0; i < mCameraIds.length; i++) { in testLensShadingMap()
320 StaticMetadata staticInfo = mAllStaticInfo.get(mCameraIds[i]); in testLensShadingMap()
322 Log.i(TAG, "Camera " + mCameraIds[i] + in testLensShadingMap()
334 openDevice(mCameraIds[i]); in testLensShadingMap()
[all …]
DMultiViewTest.java70 for (String cameraId : mCameraIds) { in testTextureViewPreview()
99 for (String cameraId : mCameraIds) { in testTextureViewPreviewWithImageReader()
147 for (String cameraId : mCameraIds) { in testDualTextureViewPreview()
180 for (String cameraId : mCameraIds) { in testDualTextureViewAndImageReaderPreview()
226 if (mCameraIds.length < NUM_CAMERAS_TESTED) { in testDualCameraPreview()
232 openCamera(mCameraIds[i]); in testDualCameraPreview()
233 if (!getStaticInfo(mCameraIds[i]).isColorOutputSupported()) { in testDualCameraPreview()
234 Log.i(TAG, "Camera " + mCameraIds[i] + in testDualCameraPreview()
240 startTextureViewPreview(mCameraIds[i], views, /*ImageReader*/null); in testDualCameraPreview()
245 if (!getStaticInfo(mCameraIds[i]).isColorOutputSupported()) { in testDualCameraPreview()
[all …]
DReprocessCaptureTest.java93 for (String id : mCameraIds) { in testBasicYuvToYuvReprocessing()
108 for (String id : mCameraIds) { in testBasicYuvToJpegReprocessing()
123 for (String id : mCameraIds) { in testBasicYuvToHeicReprocessing()
141 for (String id : mCameraIds) { in testBasicOpaqueToYuvReprocessing()
156 for (String id : mCameraIds) { in testBasicOpaqueToJpegReprocessing()
171 for (String id : mCameraIds) { in testBasicOpaqueToHeicReprocessing()
189 for (String id : mCameraIds) { in testReprocessingSizeFormat()
211 for (String id : mCameraIds) { in testReprocessingSizeFormatWithPreview()
232 for (String id : mCameraIds) { in testRecreateReprocessingSessions()
270 for (String id : mCameraIds) { in testCrossSessionCaptureException()
[all …]
DAllocationTest.java84 private String[] mCameraIds; field in AllocationTest
103 mCameraIds = mCameraManager.getCameraIdList(); in setUp()
764 assertNotNull("No camera IDs", mCameraIds); in forEachCamera()
766 for (int i = 0; i < mCameraIds.length; i++) { in forEachCamera()
769 mCameraManager.getCameraCharacteristics(mCameraIds[i]); in forEachCamera()
774 mCameraIds[i])); in forEachCamera()
780 mCameraIds[i])); in forEachCamera()
784 Log.i(TAG, "Testing Camera " + mCameraIds[i]); in forEachCamera()
786 openDevice(mCameraIds[i]); in forEachCamera()
790 closeDevice(mCameraIds[i]); in forEachCamera()
DPerformanceTest.java136 double[] avgCameraLaunchTimes = new double[mCameraIds.length]; in testCameraLaunch()
139 for (String id : mCameraIds) { in testCameraLaunch()
262 if (mCameraIds.length != 0) { in testCameraLaunch()
312 double[] avgResultTimes = new double[mCameraIds.length]; in testSingleCaptureForFormat()
315 for (String id : mCameraIds) { in testSingleCaptureForFormat()
451 if (mCameraIds.length != 0) { in testSingleCaptureForFormat()
473 double[] avgResultTimes = new double[mCameraIds.length]; in testMultipleCapture()
474 double[] avgDurationMs = new double[mCameraIds.length]; in testMultipleCapture()
523 for (String id : mCameraIds) { in testMultipleCapture()
660 if (mCameraIds.length != 0) { in testMultipleCapture()
[all …]
DDngCreatorTest.java135 for (int i = 0; i < mCameraIds.length; i++) { in testSingleImageBasic()
136 String deviceId = mCameraIds[i]; in testSingleImageBasic()
143 Log.i(TAG, "RAW capability is not supported in camera " + mCameraIds[i] + in testSingleImageBasic()
209 for (int i = 0; i < mCameraIds.length; i++) { in testSingleImageThumbnail()
210 String deviceId = mCameraIds[i]; in testSingleImageThumbnail()
219 Log.i(TAG, "RAW capability is not supported in camera " + mCameraIds[i] + in testSingleImageThumbnail()
373 for (String deviceId : mCameraIds) { in testRaw16JpegConsistency()
465 for (String deviceId : mCameraIds) { in testDngRenderingByBitmapFactor()
DRobustnessTest.java83 for (String id : mCameraIds) { in testBadSurfaceDimensions()
164 for (String id : mCameraIds) { in testMandatoryOutputCombinations()
189 if (Arrays.asList(mCameraIds).contains(physicalId)) { in testMandatoryOutputCombinations()
484 for (String id : mCameraIds) { in testMandatoryReprocessConfigurations()
721 for (String id : mCameraIds) { in testBasicTriggerSequence()
860 for (String id : mCameraIds) { in testSimultaneousTriggers()
962 for (String id : mCameraIds) { in testAfThenAeTrigger()
1078 for (String id : mCameraIds) { in testAeThenAfTrigger()
1195 for (String id : mCameraIds) { in testAeAndAfCausality()
1376 for (String id : mCameraIds) { in testAbandonRepeatingRequestSurface()
[all …]
DLogicalCameraDeviceTest.java110 for (String id : mCameraIds) { in testInvalidPhysicalCameraIdInOutputConfiguration()
170 for (String id : mCameraIds) { in testBasicPhysicalStreaming()
211 for (String id : mCameraIds) { in testBasicLogicalPhysicalStreamCombination()
333 for (String id : mCameraIds) { in testBasicPhysicalRequests()
464 for (String id : mCameraIds) { in testInvalidPhysicalCameraRequests()
571 for (String id : mCameraIds) { in testLogicalCameraZoomSwitch()
710 for (String id : mCameraIds) { in testActivePhysicalId()
794 for (String id : mCameraIds) { in testDefaultFov()
DBurstCaptureTest.java68 for (int i = 0; i < mCameraIds.length; i++) { in testBurst()
70 String id = mCameraIds[i]; in testBurst()
DImageWriterTest.java92 for (String id : mCameraIds) { in testYuvImageWriterReaderOperation()
114 for (String id : mCameraIds) { in testYuvImageWriterReaderOperationAlt()
DBurstCaptureRawTest.java74 for (String id : mCameraIds) { in testRawSensorSize()
678 for (String id : mCameraIds) { in performTestRoutine()
DCaptureResultTest.java99 for (String id : mCameraIds) { in testCameraCaptureResultAllKeys()
155 for (String id : mCameraIds) { in testPartialResult()
268 for (String id : mCameraIds) { in testResultTimestamps()
/cts/tests/tests/permission/src/android/permission/cts/
DCamera2PermissionTest.java49 private String[] mCameraIds; field in Camera2PermissionTest
67 mCameraIds = mCameraManager.getCameraIdList(); in setUp()
68 assertNotNull("Camera ids shouldn't be null", mCameraIds); in setUp()
88 for (String id : mCameraIds) { in testCameraOpen()
106 for (String id : mCameraIds) { in testCameraCharacteristicsNeedingPermission()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java71 protected String[] mCameraIds; field in Camera2AndroidTestCase
112 mCameraIds = mCameraManager.getCameraIdList(); in setUp()
113 assertNotNull("Camera ids shouldn't be null", mCameraIds); in setUp()
128 for (String cameraId : mCameraIds) { in setUp()
135 if (!Arrays.asList(mCameraIds).contains(physicalId) && in setUp()
146 mAllCameraIds = new String[mCameraIds.length + hiddenPhysicalIds.size()]; in setUp()
147 System.arraycopy(mCameraIds, 0, mAllCameraIds, 0, mCameraIds.length); in setUp()
149 mAllCameraIds[mCameraIds.length + i] = hiddenPhysicalIds.get(i); in setUp()
157 Log.i(TAG, "Camera ids in setup:" + Arrays.toString(mCameraIds)); in tearDown()
160 "Number of cameras changed from " + mCameraIds.length + " to " + in tearDown()
[all …]
DCamera2MultiViewTestCase.java78 protected String[] mCameraIds; field in Camera2MultiViewTestCase
102 mCameraIds = mCameraManager.getCameraIdList(); in setUp()
103 assertNotNull("Unable to get camera ids", mCameraIds); in setUp()
113 int numCameras = mCameraIds.length; in setUp()
116 mCameraHolders[i] = new CameraHolder(mCameraIds[i]); in setUp()
117 mCameraIdMap.put(mCameraIds[i], i); in setUp()
126 Log.i(TAG, "Camera ids in setup:" + Arrays.toString(mCameraIds)); in tearDown()
129 "Number of cameras changed from " + mCameraIds.length + " to " + in tearDown()
131 mCameraIds.length == cameraIdsPostTest.length); in tearDown()
DCamera2SurfaceViewTestCase.java91 protected String[] mCameraIds; field in Camera2SurfaceViewTestCase
132 mCameraIds = mCameraManager.getCameraIdList(); in setUp()
133 assertNotNull("Unable to get camera ids", mCameraIds); in setUp()
148 for (String cameraId : mCameraIds) { in setUp()
155 if (!Arrays.asList(mCameraIds).contains(physicalId) && in setUp()
174 Log.i(TAG, "Camera ids in setup:" + Arrays.toString(mCameraIds)); in tearDown()
177 "Number of cameras changed from " + mCameraIds.length + " to " + in tearDown()
179 mCameraIds.length == cameraIdsPostTest.length); in tearDown()
/cts/tests/camera/api25test/src/android/camera/cts/api25test/
DEnableZslTest.java45 private String[] mCameraIds; field in EnableZslTest
79 mCameraIds = mCameraManager.getCameraIdList(); in setUp()
80 assertNotNull("Camera ids shouldn't be null", mCameraIds); in setUp()
177 for (int i = 0; i < mCameraIds.length; i++) { in testEnableZslValue()
178 testEnableZslValueByCamera(mCameraIds[i]); in testEnableZslValue()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java319 public List<String> mCameraIds; field in ItsUtils.ItsCameraIdList
332 outList.mCameraIds = new ArrayList<String>(); in getItsCompatibleCameraIds()
365 outList.mCameraIds.add(id); in getItsCompatibleCameraIds()
393 outList.mCameraIds.add(physicalId); in getItsCompatibleCameraIds()

12