summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-01-18 02:43:36 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-01-18 02:43:36 +0000
commita3ca13869f434894df85f8f8566fc16ad88d719d (patch)
tree65fc76785360b49b3aa9bdc8d423b01339a669fd
parentfcec28ee4c2ca56faae41f1656673669fe1d0c01 (diff)
parent2180645f10a236540a4e167502d9152712a2e5ec (diff)
downloadinterfaces-a3ca13869f434894df85f8f8566fc16ad88d719d.tar.gz
Merge "[RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay" into android12-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 5688529df9..d31883edc7 100644
--- a/automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp
+++ b/automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp
@@ -2002,6 +2002,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;
+ }
+
// choose a configuration that has a frame rate faster than minReqFps.
Stream targetCfg = {};
const int32_t minReqFps = 15;