diff --git a/graphics/composer/2.4/vts/functional/VtsHalGraphicsComposerV2_4TargetTest.cpp b/graphics/composer/2.4/vts/functional/VtsHalGraphicsComposerV2_4TargetTest.cpp index f038f551e3..7c5f0ee3e9 100644 --- a/graphics/composer/2.4/vts/functional/VtsHalGraphicsComposerV2_4TargetTest.cpp +++ b/graphics/composer/2.4/vts/functional/VtsHalGraphicsComposerV2_4TargetTest.cpp @@ -184,6 +184,13 @@ TEST_P(GraphicsComposerHidlTest, getDisplayCapabilitiesBadDisplay) { EXPECT_EQ(Error::BAD_DISPLAY, error); } +TEST_P(GraphicsComposerHidlTest, getDisplayCapabilities) { + for (Display display : mComposerCallback->getDisplays()) { + std::vector capabilities; + EXPECT_EQ(Error::NONE, mComposerClient->getDisplayCapabilities(display, &capabilities)); + } +} + TEST_P(GraphicsComposerHidlTest, getDisplayConnectionType) { IComposerClient::DisplayConnectionType type; EXPECT_EQ(Error::BAD_DISPLAY,