Home
last modified time | relevance | path

Searched refs:colorModes (Results 1 – 12 of 12) sorted by relevance

/hardware/interfaces/graphics/composer/2.3/vts/functional/
DVtsHalGraphicsComposerV2_3TargetTest.cpp378 std::vector<ColorMode> colorModes = mComposerClient->getColorModes_2_3(mPrimaryDisplay); in TEST_P() local
380 auto native = std::find(colorModes.cbegin(), colorModes.cend(), ColorMode::NATIVE); in TEST_P()
381 ASSERT_NE(colorModes.cend(), native); in TEST_P()
400 std::vector<ColorMode> colorModes = mComposerClient->getColorModes_2_3(mPrimaryDisplay); in TEST_P() local
401 for (auto mode : colorModes) { in TEST_P()
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DReadbackVts.h163 static const std::vector<ColorMode> colorModes; variable
/hardware/interfaces/graphics/composer/aidl/vts/
DReadbackVts.h188 static const std::vector<ColorMode> colorModes; variable
DVtsHalGraphicsComposer3_TargetTest.cpp289 const auto& [status, colorModes] = mComposerClient->getColorModes(getPrimaryDisplayId()); in TEST_P()
292 const auto native = std::find(colorModes.cbegin(), colorModes.cend(), ColorMode::NATIVE); in TEST_P()
293 EXPECT_NE(colorModes.cend(), native); in TEST_P()
304 const auto& [status, colorModes] = mComposerClient->getColorModes(getPrimaryDisplayId()); in TEST_P()
307 for (auto mode : colorModes) { in TEST_P()
331 const auto& [status, colorModes] = mComposerClient->getColorModes(getPrimaryDisplayId()); in TEST_P()
334 for (auto mode : colorModes) { in TEST_P()
DReadbackVts.cpp25 const std::vector<ColorMode> ReadbackHelper::colorModes = {ColorMode::SRGB, ColorMode::DISPLAY_P3}; member in aidl::android::hardware::graphics::composer3::vts::ReadbackHelper
DVtsHalGraphicsComposer3_ReadbackTest.cpp180 if (std::find(ReadbackHelper::colorModes.begin(), ReadbackHelper::colorModes.end(), in setTestColorModes()
181 mode) != ReadbackHelper::colorModes.end()) { in setTestColorModes()
/hardware/google/graphics/common/hwc3/
DComposerClient.h76 ndk::ScopedAStatus getColorModes(int64_t display, std::vector<ColorMode>* colorModes) override;
DComposerClient.cpp140 std::vector<ColorMode>* colorModes) { in getColorModes() argument
142 auto err = mHal->getColorModes(display, colorModes); in getColorModes()
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DReadbackVts.cpp40 const std::vector<ColorMode> ReadbackHelper::colorModes = {ColorMode::SRGB, ColorMode::DISPLAY_P3}; member in android::hardware::graphics::composer::V2_2::vts::ReadbackHelper
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp168 if (std::find(ReadbackHelper::colorModes.begin(), ReadbackHelper::colorModes.end(), in setTestColorModes()
169 mode) != ReadbackHelper::colorModes.end()) { in setTestColorModes()
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp1748 std::set<android_color_mode_t> colorModes; in getColorModes() local
1750 colorModes.emplace(idPair.first); in getColorModes()
1752 return colorModes; in getColorModes()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp1656 std::set<android_color_mode_t> colorModes; in getColorModes() local
1658 colorModes.emplace(idPair.first); in getColorModes()
1660 return colorModes; in getColorModes()