From 8ec063ff4d5775cd279047f43a2297a9d9337626 Mon Sep 17 00:00:00 2001 From: Sally Qi Date: Sat, 12 Nov 2022 11:18:56 -0800 Subject: [PATCH] Revup android.hardware.graphics.composer3 v1 to v2 for cuttelfish. - Enable Vts getOverlaySupport case. Bug: 250036572 Test: this Change-Id: I8a4acb53d5ac317f5dd51fefeeb2bc0859ad1c40 --- compatibility_matrices/compatibility_matrix.current.xml | 2 +- .../composer/aidl/vts/VtsHalGraphicsComposer3_TargetTest.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/compatibility_matrices/compatibility_matrix.current.xml b/compatibility_matrices/compatibility_matrix.current.xml index e4fd65e912..ab490dd842 100644 --- a/compatibility_matrices/compatibility_matrix.current.xml +++ b/compatibility_matrices/compatibility_matrix.current.xml @@ -276,7 +276,7 @@ android.hardware.graphics.composer3 - 1 + 2 IComposer default diff --git a/graphics/composer/aidl/vts/VtsHalGraphicsComposer3_TargetTest.cpp b/graphics/composer/aidl/vts/VtsHalGraphicsComposer3_TargetTest.cpp index ed8a06c188..9c8ffe6b0d 100644 --- a/graphics/composer/aidl/vts/VtsHalGraphicsComposer3_TargetTest.cpp +++ b/graphics/composer/aidl/vts/VtsHalGraphicsComposer3_TargetTest.cpp @@ -809,8 +809,7 @@ TEST_P(GraphicsComposerAidlTest, GetDisplayName) { EXPECT_TRUE(status.isOk()); } -// TODO(b/250036572): disable this due to no implementation and revup on cuttlefish -TEST_P(GraphicsComposerAidlTest, DISABLED_GetOverlaySupport) { +TEST_P(GraphicsComposerAidlTest, GetOverlaySupport) { const auto& [status, _] = mComposerClient->getOverlaySupport(); if (!status.isOk() && status.getExceptionCode() == EX_SERVICE_SPECIFIC && status.getServiceSpecificError() == IComposerClient::EX_UNSUPPORTED) {