summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-01-18 04:20:19 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-01-18 04:20:19 +0000
commit4c7a5de9577abc44467426684e9bfba367e56dfc (patch)
tree29ff865b6c4a3822f074a9b00932cf979a86db4c
parent4ffdc10d06571dfd585971d49047b40070342e5f (diff)
parent47640027f28ee6525c6eff30e57d5fd1b36d92d7 (diff)
downloadinterfaces-4c7a5de9577abc44467426684e9bfba367e56dfc.tar.gz
Merge "Modify CameraUseStreamConfigToDisplay" into android13-tests-dev
-rw-r--r--automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp b/automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp
index 03f256ec81..ff7f41c119 100644
--- a/automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp
+++ b/automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp
@@ -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);