Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2ConcurrentAndroidTestCase.java114 for (String physicalId : props.getPhysicalCameraIds()) { in setUp()
115 if (!Arrays.asList(mCameraIdsUnderTest).contains(physicalId) && in setUp()
116 !hiddenPhysicalIds.contains(physicalId)) { in setUp()
117 hiddenPhysicalIds.add(physicalId); in setUp()
118 props = mCameraManager.getCameraCharacteristics(physicalId); in setUp()
120 mCameraManager.getCameraCharacteristics(physicalId), in setUp()
122 mAllStaticInfo.put(physicalId, staticMetadata); in setUp()
DCamera2AndroidTestCase.java132 for (String physicalId : props.getPhysicalCameraIds()) { in setUp()
133 if (!Arrays.asList(mCameraIdsUnderTest).contains(physicalId) && in setUp()
134 !hiddenPhysicalIds.contains(physicalId)) { in setUp()
135 hiddenPhysicalIds.add(physicalId); in setUp()
136 props = mCameraManager.getCameraCharacteristics(physicalId); in setUp()
138 mCameraManager.getCameraCharacteristics(physicalId), in setUp()
140 mAllStaticInfo.put(physicalId, staticMetadata); in setUp()
DCamera2AndroidTestRule.java254 for (String physicalId : props.getPhysicalCameraIds()) { in before()
255 if (!Arrays.asList(mCameraIdsUnderTest).contains(physicalId) && in before()
256 !hiddenPhysicalIds.contains(physicalId)) { in before()
257 hiddenPhysicalIds.add(physicalId); in before()
258 props = mCameraManager.getCameraCharacteristics(physicalId); in before()
260 mCameraManager.getCameraCharacteristics(physicalId), in before()
262 mAllStaticInfo.put(physicalId, staticMetadata); in before()
DCamera2SurfaceViewTestCase.java150 for (String physicalId : props.getPhysicalCameraIds()) { in setUp()
151 if (!Arrays.asList(mCameraIdsUnderTest).contains(physicalId) && in setUp()
152 !hiddenPhysicalIds.contains(physicalId)) { in setUp()
153 hiddenPhysicalIds.add(physicalId); in setUp()
154 props = mCameraManager.getCameraCharacteristics(physicalId); in setUp()
156 mCameraManager.getCameraCharacteristics(physicalId), in setUp()
158 mAllStaticInfo.put(physicalId, staticMetadata); in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java375 for (String physicalId : physicalIds) { in getItsCompatibleCameraIds()
376 if (Arrays.asList(cameraIds).contains(physicalId)) continue; in getItsCompatibleCameraIds()
379 manager.getCameraCharacteristics(physicalId); in getItsCompatibleCameraIds()
407 outList.mCameraIds.add(physicalId); in getItsCompatibleCameraIds()
408 outList.mCameraIdCombos.add(id + CAMERA_ID_TOKENIZER + physicalId); in getItsCompatibleCameraIds()
DItsService.java1219 String physicalId = null;
1222 physicalId = params.getString(PHYSICAL_ID_KEY);
1223 c = mPhysicalCameraChars.get(physicalId);
1241 if (physicalId != null) {
1242 config.setPhysicalCameraId(physicalId);
/cts/tests/camera/src/android/hardware/camera2/cts/
DImageReaderTest.java450 for (String physicalId : physicalIdsSet) { in testImageReaderPrivateWithProtectedUsageFlag()
451 if (mAllStaticInfo.get(physicalId).isCapabilitySupported( in testImageReaderPrivateWithProtectedUsageFlag()
453 testCameraIds.add(physicalId); in testImageReaderPrivateWithProtectedUsageFlag()
1095 boolean repeating, boolean checkSession, boolean validateImageData, String physicalId) in bufferFormatTestByCamera() argument
1098 if (physicalId == null) { in bufferFormatTestByCamera()
1101 staticInfo = mAllStaticInfo.get(physicalId); in bufferFormatTestByCamera()
1145 physicalId); in bufferFormatTestByCamera()
1150 if (physicalId != null) { in bufferFormatTestByCamera()
1151 config.setPhysicalCameraId(physicalId); in bufferFormatTestByCamera()
DCaptureResultTest.java435 for (String physicalId : requestedPhysicalIds) { in validateCaptureResult()
436 StaticMetadata physicalStaticInfo = allStaticInfo.get(physicalId); in validateCaptureResult()
437 physicalWaiverKeys.put(physicalId, getWaiverKeysForCamera(physicalStaticInfo)); in validateCaptureResult()
456 for (String physicalId : physicalCaptureResults.keySet()) { in validateCaptureResult()
457 StaticMetadata physicalStaticInfo = allStaticInfo.get(physicalId); in validateCaptureResult()
459 physicalWaiverKeys.get(physicalId), in validateCaptureResult()
460 allKeys, null/*requestBuilder*/, physicalCaptureResults.get(physicalId), in validateCaptureResult()
461 physicalId, i); in validateCaptureResult()
DLogicalCameraDeviceTest.java1020 for (String physicalId : physicalCameraIds) { in validatePhysicalCamerasFov()
1021 StaticMetadata physicalStaticInfo = mAllStaticInfo.get(physicalId); in validatePhysicalCamerasFov()
1022 CaptureResult physicalResult = physicalResultsDual.get(physicalId); in validatePhysicalCamerasFov()
1194 for (String physicalId : physicalCameraIds) { in testBasicPhysicalStreamingForCamera()
1196 physicalResultsDual.get(physicalId).getCameraId().equals(physicalId)); in testBasicPhysicalStreamingForCamera()
1197 if (physicalResultsDual.containsKey(physicalId)) { in testBasicPhysicalStreamingForCamera()
1198 physicalTimestamps[index][i] = physicalResultsDual.get(physicalId).get( in testBasicPhysicalStreamingForCamera()
DRobustnessTest.java247 for (String physicalId : physicalCameraIds) { in testMandatoryOutputCombinations()
248 if (Arrays.asList(mCameraIdsUnderTest).contains(physicalId)) { in testMandatoryOutputCombinations()
255 unavailPhysicalCam.second.equals(physicalId)) { in testMandatoryOutputCombinations()
264 StaticMetadata physicalStaticInfo = mAllStaticInfo.get(physicalId); in testMandatoryOutputCombinations()
278 physicalId, combination, /*substituteY8*/false, in testMandatoryOutputCombinations()
282 physicalId, combination); in testMandatoryOutputCombinations()
DCaptureRequestTest.java172 String physicalId = new String(Integer.toString(i + 1)); in testSettingsBinderParcel() local
174 physicalIds.add(physicalId); in testSettingsBinderParcel()
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DCameraDeviceInfo.java580 for (String physicalId : ch.getPhysicalCameraIds()) { in collectDeviceInfo()
581 if (physicalLogicalIdMap.get(physicalId) == null) { in collectDeviceInfo()
582 physicalLogicalIdMap.put(physicalId, new ArrayList<String>()); in collectDeviceInfo()
584 physicalLogicalIdMap.get(physicalId).add(cameraIdList[i]); in collectDeviceInfo()
596 for (String physicalId : physicalLogicalIdMap.keySet()) { in collectDeviceInfo()
597 charsStorer.storePhysicalCameraInfo(physicalId, in collectDeviceInfo()
598 physicalLogicalIdMap.get(physicalId)); in collectDeviceInfo()