Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DCamera2OfflineTestActivity.java104 public void onPhysicalCameraAvailable(String cameraId, String physicalCameraId) { in onResume()
105 super.onPhysicalCameraAvailable(cameraId, physicalCameraId); in onResume()
107 cameraId + " : " + physicalCameraId); in onResume()
108 Log.i(TAG, "Camera " + cameraId + " : " + physicalCameraId + " is available"); in onResume()
112 public void onPhysicalCameraUnavailable(String cameraId, String physicalCameraId) { in onResume()
113 super.onPhysicalCameraUnavailable(cameraId, physicalCameraId); in onResume()
115 cameraId + " : " + physicalCameraId); in onResume()
116 Log.i(TAG, "Camera " + cameraId + " : " + physicalCameraId + " is unavailable"); in onResume()
DMultiResolutionImageReaderTest.java150 String physicalCameraId = streamInfo.getPhysicalCameraId(); in testMultiResolutionCaptureCharacteristics() local
154 "the multi-resolution stream info camera Id " + physicalCameraId + in testMultiResolutionCaptureCharacteristics()
155 " doesn't match", physicalCameraId.equals(id)); in testMultiResolutionCaptureCharacteristics()
158 "physical camera id " + physicalCameraId + " isn't valid", in testMultiResolutionCaptureCharacteristics()
159 physicalCameraIds.contains(physicalCameraId)); in testMultiResolutionCaptureCharacteristics()
163 physicalCameraId, mCameraManager); in testMultiResolutionCaptureCharacteristics()
166 + "format %d.", physicalCameraId, format), in testMultiResolutionCaptureCharacteristics()
172 physicalCameraId, mCameraManager, /*maxResolution*/true); in testMultiResolutionCaptureCharacteristics()
180 physicalCameraId, maxSizes, format), in testMultiResolutionCaptureCharacteristics()
DLogicalCameraDeviceTest.java413 for (String physicalCameraId : dualPhysicalCameraIds) { in testBasicPhysicalRequests()
419 config.setPhysicalCameraId(physicalCameraId); in testBasicPhysicalRequests()
464 for (String physicalCameraId : dualPhysicalCameraIds) { in testBasicPhysicalRequests()
470 config.setPhysicalCameraId(physicalCameraId); in testBasicPhysicalRequests()
963 for (String physicalCameraId : physicalCameraIds) { in findCommonPreviewSize()
964 if (unavailablePhysicalCameras.contains(new Pair<>(cameraId, physicalCameraId))) { in findCommonPreviewSize()
968 mCameraManager.getCameraCharacteristics(physicalCameraId); in findCommonPreviewSize()
970 if (!mAllStaticInfo.get(physicalCameraId).isColorOutputSupported()) { in findCommonPreviewSize()
976 physicalConfigs.put(physicalCameraId, configMap); in findCommonPreviewSize()
977 physicalPreviewSizesMap.put(physicalCameraId, in findCommonPreviewSize()
[all …]
DMultiResolutionReprocessCaptureTest.java144 String physicalCameraId = streamInfo.getPhysicalCameraId(); in testMultiResolutionReprocessCharacteristics() local
149 + physicalCameraId + " doesn't match", in testMultiResolutionReprocessCharacteristics()
150 physicalCameraId.equals(id)); in testMultiResolutionReprocessCharacteristics()
153 + "physical camera id " + physicalCameraId + " isn't valid", in testMultiResolutionReprocessCharacteristics()
154 physicalCameraIds.contains(physicalCameraId)); in testMultiResolutionReprocessCharacteristics()
157 StaticMetadata pInfo = mAllStaticInfo.get(physicalCameraId); in testMultiResolutionReprocessCharacteristics()
165 + "format %d.", physicalCameraId, format), in testMultiResolutionReprocessCharacteristics()
182 physicalCameraId, maxSizes, format), maxSizes.contains(streamSize)); in testMultiResolutionReprocessCharacteristics()
426 String physicalCameraId = entry.getKey(); in testMultiResolutionMandatoryStreamCombination() local
433 physicalCameraId), physicalCameraId, activePhysicalId); in testMultiResolutionMandatoryStreamCombination()
DCameraManagerTest.java668 public void onPhysicalCameraAvailable(String cameraId, String physicalCameraId) { in testCameraManagerListenerCallbacks()
669 super.onPhysicalCameraAvailable(cameraId, physicalCameraId); in testCameraManagerListenerCallbacks()
670 availablePhysicalCamEventQueue.offer(new Pair<>(cameraId, physicalCameraId)); in testCameraManagerListenerCallbacks()
674 public void onPhysicalCameraUnavailable(String cameraId, String physicalCameraId) { in testCameraManagerListenerCallbacks()
675 super.onPhysicalCameraUnavailable(cameraId, physicalCameraId); in testCameraManagerListenerCallbacks()
676 unavailablePhysicalCamEventQueue.offer(new Pair<>(cameraId, physicalCameraId)); in testCameraManagerListenerCallbacks()
DRobustnessTest.java504 String physicalCameraId, MandatoryStreamCombination combination) throws Exception { in testMandatoryStreamCombination() argument
532 if (physicalCameraId != null) { in testMandatoryStreamCombination()
533 log += ", physical sub-camera: " + physicalCameraId; in testMandatoryStreamCombination()
536 testMandatoryStreamCombination(cameraId, staticInfo, physicalCameraId, combination, in testMandatoryStreamCombination()
541 testMandatoryStreamCombination(cameraId, staticInfo, physicalCameraId, combination, in testMandatoryStreamCombination()
547 testMandatoryStreamCombination(cameraId, staticInfo, physicalCameraId, combination, in testMandatoryStreamCombination()
553 StaticMetadata staticInfo, String physicalCameraId, in testMandatoryStreamCombination() argument
572 substituteY8, substituteHeic, physicalCameraId, /*multiResStreamConfig*/null, in testMandatoryStreamCombination() local
600 if (physicalCameraId == null) { in testMandatoryStreamCombination()
DExtendedCameraCharacteristicsTest.java2998 for (String physicalCameraId : physicalCameraIds) { in testLogicalCameraCharacteristics()
2999 assertNotNull("Physical camera id shouldn't be null", physicalCameraId); in testLogicalCameraCharacteristics()
3002 + " camera id %s", physicalCameraId, allCameraIds[i]), in testLogicalCameraCharacteristics()
3003 physicalCameraId != allCameraIds[i]); in testLogicalCameraCharacteristics()
3007 mCameraManager.getCameraCharacteristics(physicalCameraId); in testLogicalCameraCharacteristics()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCamera2Activity.java194 public void onPhysicalCameraAvailable(String cameraId, String physicalCameraId) { in onPhysicalCameraAvailable() argument
195 super.onPhysicalCameraAvailable(cameraId, physicalCameraId); in onPhysicalCameraAvailable()
197 cameraId + " : " + physicalCameraId); in onPhysicalCameraAvailable()
198 Log.i(TAG, "Camera " + cameraId + " : " + physicalCameraId + " is available"); in onPhysicalCameraAvailable()
202 public void onPhysicalCameraUnavailable(String cameraId, String physicalCameraId) { in onPhysicalCameraUnavailable() argument
203 super.onPhysicalCameraUnavailable(cameraId, physicalCameraId); in onPhysicalCameraUnavailable()
205 cameraId + " : " + physicalCameraId); in onPhysicalCameraUnavailable()
206 Log.i(TAG, "Camera " + cameraId + " : " + physicalCameraId + " is unavailable"); in onPhysicalCameraUnavailable()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java366 public void onPhysicalCameraAvailable(String cameraId, String physicalCameraId) {
367 super.onPhysicalCameraAvailable(cameraId, physicalCameraId);
368 unavailablePhysicalCamEventQueue.remove(new Pair<>(cameraId, physicalCameraId));
372 public void onPhysicalCameraUnavailable(String cameraId, String physicalCameraId) {
373 super.onPhysicalCameraUnavailable(cameraId, physicalCameraId);
374 unavailablePhysicalCamEventQueue.offer(new Pair<>(cameraId, physicalCameraId));
439 void onCaptureAvailable(Image capture, String physicalCameraId); in onCaptureAvailable() argument
1276 String physicalCameraId = mPhysicalStreamMap.get(i); in sendResponseCaptureResult() local
1277 if (physicalCameraId != null && !physicalCameraId.isEmpty()) { in sendResponseCaptureResult()
1278 cameraCharacteristics = mPhysicalCameraChars.get(physicalCameraId); in sendResponseCaptureResult()
[all …]
DItsTestActivity.java1041 public void onPhysicalCameraUnavailable(String cameraId, String physicalCameraId) { in getUnavailablePhysicalCameras()
1042 unavailablePhysicalCamEventQueue.offer(new Pair<>(cameraId, physicalCameraId)); in getUnavailablePhysicalCameras()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java515 protected void checkImageReaderSessionConfiguration(String msg, String physicalCameraId) in checkImageReaderSessionConfiguration() argument
519 if (physicalCameraId != null) { in checkImageReaderSessionConfiguration()
520 config.setPhysicalCameraId(physicalCameraId); in checkImageReaderSessionConfiguration()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java3556 for (String physicalCameraId : physicalCameraIds) { in getAvailableFocalLengthsForResult()
3557 StaticMetadata physicalStaticInfo = allStaticInfo.get(physicalCameraId); in getAvailableFocalLengthsForResult()
3621 for (String physicalCameraId : physicalCameraIds) { in getAvailableAperturesForResult()
3622 StaticMetadata physicalStaticInfo = allStaticInfo.get(physicalCameraId); in getAvailableAperturesForResult()
4521 public void onPhysicalCameraUnavailable(String cameraId, String physicalCameraId) { in getUnavailablePhysicalCameras()
4523 ret.add(new Pair<String, String>(cameraId, physicalCameraId)); in getUnavailablePhysicalCameras()
4565 public void onPhysicalCameraAvailable(String cameraId, String physicalCameraId) { in testPhysicalCameraAvailabilityConsistencyHelper()
4566 super.onPhysicalCameraAvailable(cameraId, physicalCameraId); in testPhysicalCameraAvailabilityConsistencyHelper()
4567 unavailablePhysicalCamEventQueue.remove(new Pair<>(cameraId, physicalCameraId)); in testPhysicalCameraAvailabilityConsistencyHelper()
4571 public void onPhysicalCameraUnavailable(String cameraId, String physicalCameraId) { in testPhysicalCameraAvailabilityConsistencyHelper()
[all …]
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp102 const char* physicalCameraId) { in onPhysicalCameraAvailable() argument
103 ALOGV("Camera %s : %s onAvailable", cameraId, physicalCameraId); in onPhysicalCameraAvailable()
114 const char* physicalCameraId) { in onPhysicalCameraUnavailable() argument
115 ALOGV("Camera %s : %s onUnavailable", cameraId, physicalCameraId); in onPhysicalCameraUnavailable()
121 thiz->mUnavailablePhysicalCameras.emplace(cameraId, physicalCameraId); in onPhysicalCameraUnavailable()
525 if (failure->physicalCameraId != nullptr) { in onLogicalCameraCaptureFailed()
526 ALOGV("%s: physicalCameraId: %s", __FUNCTION__, failure->physicalCameraId); in onLogicalCameraCaptureFailed()