Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCamera2Activity.java93 public void onPhysicalCameraAvailable(String cameraId, String physicalCameraId) { in onResume()
94 super.onPhysicalCameraAvailable(cameraId, physicalCameraId); in onResume()
96 cameraId + " : " + physicalCameraId); in onResume()
97 Log.i(TAG, "Camera " + cameraId + " : " + physicalCameraId + " is available"); in onResume()
101 public void onPhysicalCameraUnavailable(String cameraId, String physicalCameraId) { in onResume()
102 super.onPhysicalCameraUnavailable(cameraId, physicalCameraId); in onResume()
104 cameraId + " : " + physicalCameraId); in onResume()
105 Log.i(TAG, "Camera " + cameraId + " : " + physicalCameraId + " is unavailable"); in onResume()
/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()
DLogicalCameraDeviceTest.java393 for (String physicalCameraId : dualPhysicalCameraIds) { in testBasicPhysicalRequests()
399 config.setPhysicalCameraId(physicalCameraId); in testBasicPhysicalRequests()
443 for (String physicalCameraId : dualPhysicalCameraIds) { in testBasicPhysicalRequests()
449 config.setPhysicalCameraId(physicalCameraId); in testBasicPhysicalRequests()
738 public void onPhysicalCameraUnavailable(String cameraId, String physicalCameraId) { in testActivePhysicalId()
739 unavailablePhysicalCamEventQueue.offer(new Pair<>(cameraId, physicalCameraId)); in testActivePhysicalId()
935 for (String physicalCameraId : physicalCameraIds) { in findCommonPreviewSize()
937 mCameraManager.getCameraCharacteristics(physicalCameraId); in findCommonPreviewSize()
939 if (!mAllStaticInfo.get(physicalCameraId).isColorOutputSupported()) { in findCommonPreviewSize()
945 physicalConfigs.put(physicalCameraId, configMap); in findCommonPreviewSize()
[all …]
DMultiResolutionImageReaderTest.java145 String physicalCameraId = streamInfo.getPhysicalCameraId(); in testMultiResolutionCaptureCharacteristics() local
149 "the multi-resolution stream info camera Id " + physicalCameraId + in testMultiResolutionCaptureCharacteristics()
150 " doesn't match", physicalCameraId.equals(id)); in testMultiResolutionCaptureCharacteristics()
153 "physical camera id " + physicalCameraId + " isn't valid", in testMultiResolutionCaptureCharacteristics()
154 physicalCameraIds.contains(physicalCameraId)); in testMultiResolutionCaptureCharacteristics()
158 physicalCameraId, mCameraManager); in testMultiResolutionCaptureCharacteristics()
161 + "format %d.", physicalCameraId, format), in testMultiResolutionCaptureCharacteristics()
167 physicalCameraId, mCameraManager, /*maxResolution*/true); in testMultiResolutionCaptureCharacteristics()
175 physicalCameraId, maxSizes, format), in testMultiResolutionCaptureCharacteristics()
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()
DRobustnessTest.java192 public void onPhysicalCameraUnavailable(String cameraId, String physicalCameraId) { in testMandatoryOutputCombinations()
193 unavailablePhysicalCamEventQueue.offer(new Pair<>(cameraId, physicalCameraId)); in testMandatoryOutputCombinations()
305 String physicalCameraId, MandatoryStreamCombination combination) throws Exception { in testMandatoryStreamCombination() argument
333 if (physicalCameraId != null) { in testMandatoryStreamCombination()
334 log += ", physical sub-camera: " + physicalCameraId; in testMandatoryStreamCombination()
337 testMandatoryStreamCombination(cameraId, staticInfo, physicalCameraId, combination, in testMandatoryStreamCombination()
342 testMandatoryStreamCombination(cameraId, staticInfo, physicalCameraId, combination, in testMandatoryStreamCombination()
348 testMandatoryStreamCombination(cameraId, staticInfo, physicalCameraId, combination, in testMandatoryStreamCombination()
354 StaticMetadata staticInfo, String physicalCameraId, in testMandatoryStreamCombination() argument
374 substituteY8, substituteHeic, physicalCameraId, /*multiResStreamConfig*/null, in testMandatoryStreamCombination() local
[all …]
DExtendedCameraCharacteristicsTest.java2302 for (String physicalCameraId : physicalCameraIds) { in testLogicalCameraCharacteristics()
2303 assertNotNull("Physical camera id shouldn't be null", physicalCameraId); in testLogicalCameraCharacteristics()
2306 + " camera id %s", physicalCameraId, mAllCameraIds[i]), in testLogicalCameraCharacteristics()
2307 physicalCameraId != mAllCameraIds[i]); in testLogicalCameraCharacteristics()
2311 mCameraManager.getCameraCharacteristics(physicalCameraId); in testLogicalCameraCharacteristics()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java262 void onCaptureAvailable(Image capture, String physicalCameraId); in onCaptureAvailable() argument
921 String physicalCameraId = new String(); in createAvailableListener() local
924 physicalCameraId = mPhysicalStreamMap.get(idx); in createAvailableListener()
927 listener.onCaptureAvailable(i, physicalCameraId); in createAvailableListener()
1517 String physicalCameraId = surfaceObj.optString("physicalCamera");
1519 mPhysicalStreamMap.put(i, physicalCameraId);
1520 if (!physicalCameraId.isEmpty()) {
1521 cameraCharacteristics = mPhysicalCameraChars.get(physicalCameraId);
1940 public void onCaptureAvailable(Image capture, String physicalCameraId) {
1948 mSocketRunnableObj.sendResponseCaptureBuffer("jpegImage"+physicalCameraId, buf);
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java458 protected void checkImageReaderSessionConfiguration(String msg, String physicalCameraId) in checkImageReaderSessionConfiguration() argument
462 if (physicalCameraId != null) { in checkImageReaderSessionConfiguration()
463 config.setPhysicalCameraId(physicalCameraId); in checkImageReaderSessionConfiguration()
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp99 const char* physicalCameraId) { in onPhysicalCameraAvailable() argument
100 ALOGV("Camera %s : %s onAvailable", cameraId, physicalCameraId); in onPhysicalCameraAvailable()
111 const char* physicalCameraId) { in onPhysicalCameraUnavailable() argument
112 ALOGV("Camera %s : %s onUnavailable", cameraId, physicalCameraId); in onPhysicalCameraUnavailable()
118 thiz->mUnavailablePhysicalCameras.emplace(cameraId, physicalCameraId); in onPhysicalCameraUnavailable()
465 if (failure->physicalCameraId != nullptr) { in onLogicalCameraCaptureFailed()
466 ALOGV("%s: physicalCameraId: %s", __FUNCTION__, failure->physicalCameraId); in onLogicalCameraCaptureFailed()