Merge "Modify CameraUseStreamConfigToDisplay" into android13-tests-dev am: 4c7a5de957
am: b4fadec4ff
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2911485 Change-Id: Iaa53de0fd93b77953d644dc8adeee65c0cb06e73 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
bfc1a3394b
1 changed files with 7 additions and 0 deletions
|
@ -2010,6 +2010,13 @@ TEST_P(EvsHidlTest, CameraUseStreamConfigToDisplay) {
|
|||
|
||||
// Test each reported camera
|
||||
for (auto&& cam: cameraInfo) {
|
||||
bool isLogicalCam = false;
|
||||
getPhysicalCameraIds(cam.v1.cameraId, isLogicalCam);
|
||||
if (isLogicalCam) {
|
||||
LOG(INFO) << "Skip a logical device " << cam.v1.cameraId;
|
||||
continue;
|
||||
}
|
||||
|
||||
// Request exclusive access to the EVS display
|
||||
sp<IEvsDisplay_1_0> pDisplay = pEnumerator->openDisplay();
|
||||
ASSERT_NE(pDisplay, nullptr);
|
||||
|
|
Loading…
Reference in a new issue