Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ebce8d87 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Modify CameraUseStreamConfigToDisplay" into android13-tests-dev am:...

Merge "Modify CameraUseStreamConfigToDisplay" into android13-tests-dev am: 4c7a5de9 am: b4fadec4 am: 0e1c989a

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2911485



Change-Id: I8d0931adc11a06cf50be88abd8576093ffe9d78a
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 065e1a34 0e1c989a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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);