/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | Camera2Activity.java | 93 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/ |
D | Camera2OfflineTestActivity.java | 104 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()
|
D | LogicalCameraDeviceTest.java | 393 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 …]
|
D | MultiResolutionImageReaderTest.java | 145 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()
|
D | MultiResolutionReprocessCaptureTest.java | 144 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()
|
D | RobustnessTest.java | 192 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 …]
|
D | ExtendedCameraCharacteristicsTest.java | 2302 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/ |
D | ItsService.java | 262 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/ |
D | Camera2AndroidTestCase.java | 458 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/ |
D | native-camera-jni.cpp | 99 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()
|