Home
last modified time | relevance | path

Searched refs:SetScreenColorGamut (Results 1 – 25 of 70) sorted by relevance

123

/ohos5.0/foundation/window/window_manager/test/systemtest/dms/
H A Dscreen_gamut_test.cpp109 ret = defaultScreen_->SetScreenColorGamut(i);
124 ret = defaultScreen_->SetScreenColorGamut(colorGamutBackupIdx); // restore
144 ret = defaultScreen_->SetScreenColorGamut(invalidColorGamutIndex);
173 ret = defaultScreen_->SetScreenColorGamut(invalidColorGamutIndex);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/unittest/
H A Dhdiscreen_test.cpp52 EXPECT_CALL(*mockDevice_, SetScreenColorGamut(_, _)).WillRepeatedly(testing::Return(0)); in SetUpTestCase()
100 ASSERT_EQ(hdiScreen_->SetScreenColorGamut(gamut), GRAPHIC_DISPLAY_NULL_PTR);
320 ASSERT_EQ(HdiScreenTest::hdiScreen_->SetScreenColorGamut(colorGamut), 0);
H A Dmock_hdi_device.h57 MOCK_METHOD2(SetScreenColorGamut, int32_t(uint32_t, GraphicColorGamut));
/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/
H A Ddisplay_manager_service_test.cpp282 …ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->SetScreenColorGamut(SCREEN_ID_INVALID, colorGamut…
283 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->SetScreenColorGamut(0, colorGamut));
285 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->SetScreenColorGamut(SCREEN_ID_INVALID, 0));
286 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->SetScreenColorGamut(0, 0));
H A Dabstract_screen_test.cpp178 HWTEST_F(AbstractScreenTest, SetScreenColorGamut, Function | SmallTest | Level3)
181 auto result = absScreen_->SetScreenColorGamut(colorGamutIdx);
199 ASSERT_EQ(DMError::DM_ERROR_RENDER_SERVICE_FAILED, absScreen0->SetScreenColorGamut(0));
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/
H A Dhdi_screen.cpp207 int32_t HdiScreen::SetScreenColorGamut(GraphicColorGamut gamut) const in SetScreenColorGamut() function in OHOS::Rosen::HdiScreen
210 return device_->SetScreenColorGamut(screenId_, gamut); in SetScreenColorGamut()
/ohos5.0/foundation/window/window_manager/dm/src/
H A Dscreen.cpp139 DMError Screen::SetScreenColorGamut(int32_t colorGamutIdx) in SetScreenColorGamut() function in OHOS::Rosen::Screen
141 …return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenColorGamut(GetId(), colorGamutIdx); in SetScreenColorGamut()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/
H A Dhdi_screen.h52 int32_t SetScreenColorGamut(GraphicColorGamut gamut) const;
/ohos5.0/foundation/window/window_manager/interfaces/innerkits/dm/
H A Dscreen.h199 DMError SetScreenColorGamut(int32_t colorGamutIdx);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/fuzztest/hdiscreen_fuzzer/
H A Dhdiscreen_fuzzer.cpp127 g_hdiScreen->SetScreenColorGamut(gamut); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/
H A Drs_screen.h85 virtual int32_t SetScreenColorGamut(int32_t modeIdx) = 0;
176 int32_t SetScreenColorGamut(int32_t modeIdx) override;
H A Drs_screen.cpp768 int32_t RSScreen::SetScreenColorGamut(int32_t modeIdx) in SetScreenColorGamut() function in OHOS::Rosen::impl::RSScreen
791 int32_t result = hdiScreen_->SetScreenColorGamut(hdiMode[modeIdx]); in SetScreenColorGamut()
1063 int32_t result = hdiScreen_->SetScreenColorGamut(hdiMode[curIdx]); in SetScreenColorSpace()
H A Drs_screen_manager.h170 virtual int32_t SetScreenColorGamut(ScreenId id, int32_t modeIdx) = 0;
380 int32_t SetScreenColorGamut(ScreenId id, int32_t modeIdx) override;
/ohos5.0/foundation/window/window_manager/dmserver/include/
H A Dabstract_screen.h65 DMError SetScreenColorGamut(int32_t colorGamutIdx);
H A Ddisplay_manager_proxy.h53 DMError SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx) override;
H A Ddisplay_manager_service.h71 DMError SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx) override;
H A Dabstract_screen_controller.h83 DMError SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx);
/ohos5.0/foundation/window/window_manager/test/common/mock/
H A Dmock_display_manager_adapter.h74 MOCK_METHOD2(SetScreenColorGamut, DMError(ScreenId screenId, int32_t colorGamutIdx));
/ohos5.0/foundation/window/window_manager/dm/test/unittest/
H A Dscreen_test.cpp162 EXPECT_CALL(m->Mock(), SetScreenColorGamut(_, _)).Times(1).WillOnce(Return(DMError::DM_OK));
164 auto res = screen_->SetScreenColorGamut(colorGamut);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/systemtest/
H A Dmock_hdi_device_systest.h57 MOCK_METHOD2(SetScreenColorGamut, int32_t(uint32_t, GraphicColorGamut));
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/mock/
H A Dmock_hdi_device.h55 MOCK_METHOD2(SetScreenColorGamut, int32_t(uint32_t, GraphicColorGamut));
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/screen_manager/
H A Drs_screen_test.cpp188 rsScreen->SetScreenColorGamut(static_cast<int32_t>(1000));
191 ASSERT_EQ(virtualScreen->SetScreenColorGamut(static_cast<int32_t>(1000)), INVALID_ARGUMENTS);
/ohos5.0/foundation/window/window_manager/test/fuzztest/dms/screen_fuzzer/
H A Dscreen_fuzzer.cpp143 screen->SetScreenColorGamut(index); in ColorGamutsFuzzTest()
/ohos5.0/foundation/window/window_manager/dmserver/src/
H A Dabstract_screen.cpp297 DMError AbstractScreen::SetScreenColorGamut(int32_t colorGamutIdx) in SetScreenColorGamut() function in OHOS::Rosen::AbstractScreen
310 auto ret = RSInterfaces::GetInstance().SetScreenColorGamut(rsId_, colorGamutIdx); in SetScreenColorGamut()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/rsinterfaces_fuzzer/
H A Drsinterfaces_fuzzer.cpp95 rsInterfaces.SetScreenColorGamut(static_cast<ScreenId>(id), modeIdx); in RSPhysicalScreenFuzzTest()

123