[RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay
Exclude logical camera devices from CameraUseStreamConfigToDisplay test
case.
Bug: 275049370
Test: atest VtsHalEvsV1_0TargetTest and
atest VtsHalEvsV1_1TargetTest
Change-Id: If6b31d94bdbffd2f4e9ab9bd5c8957ec85904187
(cherry picked from commit d5732b6bbf
)
This commit is contained in:
parent
86aa7010fd
commit
2180645f10
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue