Home
last modified time | relevance | path

Searched refs:physicalId (Results 1 – 13 of 13) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2ConcurrentAndroidTestCase.java125 for (String physicalId : props.getPhysicalCameraIds()) { in setUp()
126 if (!Arrays.asList(cameraIdsUnderTest).contains(physicalId) && in setUp()
127 !hiddenPhysicalIds.contains(physicalId)) { in setUp()
128 hiddenPhysicalIds.add(physicalId); in setUp()
129 props = mCameraManager.getCameraCharacteristics(physicalId); in setUp()
131 mCameraManager.getCameraCharacteristics(physicalId), in setUp()
133 mAllStaticInfo.put(physicalId, staticMetadata); in setUp()
DCamera2AndroidTestCase.java152 for (String physicalId : props.getPhysicalCameraIds()) { in setUp()
153 if (!Arrays.asList(cameraIdsUnderTest).contains(physicalId) && in setUp()
154 !hiddenPhysicalIds.contains(physicalId)) { in setUp()
155 hiddenPhysicalIds.add(physicalId); in setUp()
156 props = mCameraManager.getCameraCharacteristics(physicalId); in setUp()
158 mCameraManager.getCameraCharacteristics(physicalId), in setUp()
160 mAllStaticInfo.put(physicalId, staticMetadata); in setUp()
DCamera2AndroidTestRule.java265 for (String physicalId : props.getPhysicalCameraIds()) { in before()
266 if (!Arrays.asList(mCameraIdsUnderTest).contains(physicalId) && in before()
267 !hiddenPhysicalIds.contains(physicalId)) { in before()
268 hiddenPhysicalIds.add(physicalId); in before()
269 props = mCameraManager.getCameraCharacteristics(physicalId); in before()
271 mCameraManager.getCameraCharacteristics(physicalId), in before()
273 mAllStaticInfo.put(physicalId, staticMetadata); in before()
DCamera2SurfaceViewTestCase.java151 for (String physicalId : props.getPhysicalCameraIds()) { in setUp()
152 if (!Arrays.asList(cameraIdsUnderTest).contains(physicalId) && in setUp()
153 !hiddenPhysicalIds.contains(physicalId)) { in setUp()
154 hiddenPhysicalIds.add(physicalId); in setUp()
155 props = mCameraManager.getCameraCharacteristics(physicalId); in setUp()
157 mCameraManager.getCameraCharacteristics(physicalId), in setUp()
159 mAllStaticInfo.put(physicalId, staticMetadata); in setUp()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureResultTest.java436 for (String physicalId : requestedPhysicalIds) { in validateCaptureResult()
437 StaticMetadata physicalStaticInfo = allStaticInfo.get(physicalId); in validateCaptureResult()
438 physicalWaiverKeys.put(physicalId, getWaiverKeysForCamera(physicalStaticInfo)); in validateCaptureResult()
457 for (String physicalId : physicalCaptureResults.keySet()) { in validateCaptureResult()
458 StaticMetadata physicalStaticInfo = allStaticInfo.get(physicalId); in validateCaptureResult()
460 physicalWaiverKeys.get(physicalId), in validateCaptureResult()
461 allKeys, null/*requestBuilder*/, physicalCaptureResults.get(physicalId), in validateCaptureResult()
462 physicalId, i); in validateCaptureResult()
DLogicalCameraDeviceTest.java1058 for (String physicalId : physicalCameraIds) { in validatePhysicalCamerasFov()
1059 StaticMetadata physicalStaticInfo = mAllStaticInfo.get(physicalId); in validatePhysicalCamerasFov()
1060 CaptureResult physicalResult = physicalResultsDual.get(physicalId); in validatePhysicalCamerasFov()
1241 for (String physicalId : physicalCameraIds) { in testBasicPhysicalStreamingForCamera()
1243 physicalResultsDual.get(physicalId).getCameraId().equals(physicalId)); in testBasicPhysicalStreamingForCamera()
1244 if (physicalResultsDual.containsKey(physicalId)) { in testBasicPhysicalStreamingForCamera()
1245 physicalTimestamps[index][i] = physicalResultsDual.get(physicalId).get( in testBasicPhysicalStreamingForCamera()
DImageReaderTest.java985 for (String physicalId : physicalIdsSet) { in testImageReaderPrivateWithProtectedUsageFlag()
986 StaticMetadata phyInfo = mAllStaticInfo.get(physicalId); in testImageReaderPrivateWithProtectedUsageFlag()
988 unavailablePhysicalCameras.contains(new Pair<>(id, physicalId)); in testImageReaderPrivateWithProtectedUsageFlag()
992 testCameraIds.add(physicalId); in testImageReaderPrivateWithProtectedUsageFlag()
1731 String physicalId = params.mPhysicalId; in bufferFormatTestByCamera() local
1733 if (physicalId == null) { in bufferFormatTestByCamera()
1736 staticInfo = mAllStaticInfo.get(physicalId); in bufferFormatTestByCamera()
1784 physicalId); in bufferFormatTestByCamera()
1793 if (physicalId != null) { in bufferFormatTestByCamera()
1794 config.setPhysicalCameraId(physicalId); in bufferFormatTestByCamera()
DRobustnessTest.java259 for (String physicalId : physicalCameraIds) { in testMandatoryOutputCombinations()
260 if (Arrays.asList(cameraIdsUnderTest).contains(physicalId)) { in testMandatoryOutputCombinations()
265 if (unavailablePhysicalCameras.contains(new Pair<>(id, physicalId))) { in testMandatoryOutputCombinations()
271 StaticMetadata physicalStaticInfo = mAllStaticInfo.get(physicalId); in testMandatoryOutputCombinations()
285 physicalId, combination, /*substituteY8*/false, in testMandatoryOutputCombinations()
289 physicalId, combination); in testMandatoryOutputCombinations()
2005 String physicalId = result.get( in testOisDataMode() local
2007 assertNotNull(physicalId); in testOisDataMode()
2008 StaticMetadata physicalStaticInfo = mAllStaticInfo.get(physicalId); in testOisDataMode()
DExtendedCameraCharacteristicsTest.java2184 for (String physicalId : physicalCameraIds) { in test10BitLogicalDeviceSupport()
2185 StaticMetadata physicalMeta = mAllStaticInfo.get(physicalId); in test10BitLogicalDeviceSupport()
2192 "capable physical devices: " + physicalId + " !", in test10BitLogicalDeviceSupport()
2199 "and color capable physical devices: " + physicalId + " !", in test10BitLogicalDeviceSupport()
4180 for (String physicalId : physicalCameraIds) {
4181 if (!cameraIdList.contains(physicalId)) {
4182 Log.i(TAG, "Testing constituent camera id: " + physicalId);
4185 mCameraManager.getCameraCharacteristics(physicalId, false);
4187 mCameraManager.getCameraCharacteristics(physicalId, true);
DCaptureRequestTest.java185 String physicalId = new String(Integer.toString(i + 1)); in testSettingsBinderParcel() local
187 physicalIds.add(physicalId); in testSettingsBinderParcel()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java419 for (String physicalId : physicalIds) { in getItsCompatibleCameraIds()
420 if (Arrays.asList(cameraIds).contains(physicalId)) continue; in getItsCompatibleCameraIds()
423 manager.getCameraCharacteristics(physicalId); in getItsCompatibleCameraIds()
451 outList.mCameraIds.add(physicalId); in getItsCompatibleCameraIds()
452 outList.mCameraIdCombos.add(id + CAMERA_ID_TOKENIZER + physicalId); in getItsCompatibleCameraIds()
DItsService.java2059 String physicalId = null;
2062 physicalId = params.getString(PHYSICAL_ID_KEY);
2063 c = mPhysicalCameraChars.get(physicalId);
2104 if (physicalId != null) {
2105 threeAConfig.setPhysicalCameraId(physicalId);
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DCameraDeviceInfo.java634 for (String physicalId : ch.getPhysicalCameraIds()) { in collectDeviceInfo()
635 if (physicalLogicalIdMap.get(physicalId) == null) { in collectDeviceInfo()
636 physicalLogicalIdMap.put(physicalId, new ArrayList<String>()); in collectDeviceInfo()
638 physicalLogicalIdMap.get(physicalId).add(cameraIdList[i]); in collectDeviceInfo()
650 for (String physicalId : physicalLogicalIdMap.keySet()) { in collectDeviceInfo()
651 charsStorer.storePhysicalCameraInfo(physicalId, in collectDeviceInfo()
652 physicalLogicalIdMap.get(physicalId)); in collectDeviceInfo()