/foundation/window/window_manager/test/systemtest/dms/ |
H A D | screen_gamut_test.cpp | 90 * @tc.desc: gamut SetScreenColorGamut, valid index
109 ret = defaultScreen_->SetScreenColorGamut(i);
in HWTEST_F() 124 ret = defaultScreen_->SetScreenColorGamut(colorGamutBackupIdx); // restore
in HWTEST_F() 130 * @tc.desc: gamut SetScreenColorGamut, invalid index < 0
144 ret = defaultScreen_->SetScreenColorGamut(invalidColorGamutIndex);
in HWTEST_F() 155 * @tc.desc: gamut SetScreenColorGamut, invalid index >= size
173 ret = defaultScreen_->SetScreenColorGamut(invalidColorGamutIndex);
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/unittest/ |
H A D | hdiscreen_test.cpp | 52 EXPECT_CALL(*mockDevice_, SetScreenColorGamut(_, _)).WillRepeatedly(testing::Return(0));
in SetUpTestCase() 100 ASSERT_EQ(hdiScreen_->SetScreenColorGamut(gamut), GRAPHIC_DISPLAY_NULL_PTR);
in HWTEST_F() 314 * CaseDescription: 1. call SetScreenColorGamut
320 ASSERT_EQ(HdiScreenTest::hdiScreen_->SetScreenColorGamut(colorGamut), 0);
in HWTEST_F()
|
H A D | mock_hdi_device.h | 57 MOCK_METHOD2(SetScreenColorGamut, int32_t(uint32_t, GraphicColorGamut));
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/ |
H A D | hdi_screen.cpp | 196 int32_t HdiScreen::SetScreenColorGamut(GraphicColorGamut gamut) const in SetScreenColorGamut() function in OHOS::Rosen::HdiScreen 199 return device_->SetScreenColorGamut(screenId_, gamut); in SetScreenColorGamut()
|
/foundation/window/window_manager/dm/src/ |
H A D | screen.cpp | 139 DMError Screen::SetScreenColorGamut(int32_t colorGamutIdx)
in SetScreenColorGamut() function in OHOS::Rosen::Screen 141 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenColorGamut(GetId(), colorGamutIdx);
in SetScreenColorGamut()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/ |
H A D | hdi_screen.h | 52 int32_t SetScreenColorGamut(GraphicColorGamut gamut) const;
|
/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | display_manager_service_test.cpp | 282 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->SetScreenColorGamut(SCREEN_ID_INVALID, colorGamut)); in HWTEST_F() 283 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->SetScreenColorGamut(0, colorGamut)); in HWTEST_F() 285 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->SetScreenColorGamut(SCREEN_ID_INVALID, 0)); in HWTEST_F() 286 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->SetScreenColorGamut(0, 0)); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/fuzztest/hdiscreen_fuzzer/ |
H A D | hdiscreen_fuzzer.cpp | 127 g_hdiScreen->SetScreenColorGamut(gamut); in DoSomethingInterestingWithMyAPI()
|
/foundation/window/window_manager/interfaces/innerkits/dm/ |
H A D | screen.h | 205 DMError SetScreenColorGamut(int32_t colorGamutIdx);
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/screen_manager/ |
H A D | rs_screen_test.cpp | 176 * @tc.desc: SetScreenColorGamut Test 184 rsScreen->SetScreenColorGamut(static_cast<int32_t>(1000)); in HWTEST_F() 187 ASSERT_EQ(virtualScreen->SetScreenColorGamut(static_cast<int32_t>(1000)), INVALID_ARGUMENTS); in HWTEST_F() 1135 * @tc.desc: SetScreenColorGamut Test, when modeIdx < 0, expect INVALID_ARGUMENTS 1146 ASSERT_EQ(rsScreen->SetScreenColorGamut(modeIdx), StatusCode::INVALID_ARGUMENTS); in HWTEST_F() 1151 * @tc.desc: SetScreenColorGamut Test, trigger branch: modeIdx >= hdiMode.size(), expect INVALID_ARGUMENTS 1176 ASSERT_EQ(rsScreen->SetScreenColorGamut(modeIdx), StatusCode::INVALID_ARGUMENTS); in HWTEST_F() 1181 * @tc.desc: SetScreenColorGamut Test, not virtual, expect SUCCESS. 1207 EXPECT_CALL(*hdiDeviceMock_, SetScreenColorGamut(_, _)).Times(1).WillOnce(testing::Return(GRAPHIC_DISPLAY_SUCCESS)); in HWTEST_F() 1208 ASSERT_EQ(rsScreen->SetScreenColorGamut(modeId in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/screenmanager/ |
H A D | rs_screen_unit_test.cpp | 176 * @tc.desc: SetScreenColorGamut Test 184 rsScreen->SetScreenColorGamut(static_cast<int32_t>(1000)); in HWTEST_F() 187 ASSERT_EQ(virtualScreen->SetScreenColorGamut(static_cast<int32_t>(1000)), INVALID_ARGUMENTS); in HWTEST_F() 1135 * @tc.desc: SetScreenColorGamut Test, when modeIdx < 0, expect INVALID_ARGUMENTS 1146 ASSERT_EQ(rsScreen->SetScreenColorGamut(modeIdx), StatusCode::INVALID_ARGUMENTS); in HWTEST_F() 1151 * @tc.desc: SetScreenColorGamut Test, trigger branch: modeIdx >= hdiMode.size(), expect INVALID_ARGUMENTS 1176 ASSERT_EQ(rsScreen->SetScreenColorGamut(modeIdx), StatusCode::INVALID_ARGUMENTS); in HWTEST_F() 1181 * @tc.desc: SetScreenColorGamut Test, not virtual, expect SUCCESS. 1207 EXPECT_CALL(*hdiDeviceMock_, SetScreenColorGamut(_, _)).Times(1).WillOnce(testing::Return(GRAPHIC_DISPLAY_SUCCESS)); in HWTEST_F() 1208 ASSERT_EQ(rsScreen->SetScreenColorGamut(modeId in HWTEST_F() [all...] |
/foundation/window/window_manager/dmserver/include/ |
H A D | abstract_screen.h | 65 DMError SetScreenColorGamut(int32_t colorGamutIdx);
|
H A D | display_manager_proxy.h | 53 DMError SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx) override;
|
H A D | abstract_screen_controller.h | 83 DMError SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/ |
H A D | rs_screen.h | 84 virtual int32_t SetScreenColorGamut(int32_t modeIdx) = 0;
168 int32_t SetScreenColorGamut(int32_t modeIdx) override;
|
H A D | rs_screen.cpp | 767 int32_t RSScreen::SetScreenColorGamut(int32_t modeIdx)
in SetScreenColorGamut() function in OHOS::Rosen::impl::RSScreen 790 int32_t result = hdiScreen_->SetScreenColorGamut(hdiMode[modeIdx]);
in SetScreenColorGamut() 1028 int32_t result = hdiScreen_->SetScreenColorGamut(hdiMode[curIdx]);
in SetScreenColorSpace()
|
/foundation/window/window_manager/dm/test/unittest/ |
H A D | screen_test.cpp | 145 * @tc.desc: SetScreenColorGamut
151 EXPECT_CALL(m->Mock(), SetScreenColorGamut(_, _)).Times(1).WillOnce(Return(DMError::DM_OK));
in HWTEST_F() 153 auto res = screen_->SetScreenColorGamut(colorGamut);
in HWTEST_F()
|
H A D | display_manager_adapter_test.cpp | 93 * @tc.name: SetScreenColorGamut
97 HWTEST_F(DisplayManagerAdapterTest, SetScreenColorGamut, Function | SmallTest | Level2)
in HWTEST_F() 100 DMError err = SingletonContainer::Get<ScreenManagerAdapter>().SetScreenColorGamut(0, -1);
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/mock/ |
H A D | mock_hdi_device.h | 56 MOCK_METHOD2(SetScreenColorGamut, int32_t(uint32_t, GraphicColorGamut));
|
/foundation/window/window_manager/test/common/mock/ |
H A D | mock_display_manager_adapter.h | 75 MOCK_METHOD2(SetScreenColorGamut, DMError(ScreenId screenId, int32_t colorGamutIdx));
|
/foundation/window/window_manager/test/fuzztest/dms/screen_fuzzer/ |
H A D | screen_fuzzer.cpp | 143 screen->SetScreenColorGamut(index); in ColorGamutsFuzzTest()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/systemtest/ |
H A D | mock_hdi_device_systest.h | 57 MOCK_METHOD2(SetScreenColorGamut, int32_t(uint32_t, GraphicColorGamut));
|
/foundation/window/window_manager/dmserver/src/ |
H A D | abstract_screen.cpp | 297 DMError AbstractScreen::SetScreenColorGamut(int32_t colorGamutIdx)
in SetScreenColorGamut() function in OHOS::Rosen::AbstractScreen 302 WLOGE("SetScreenColorGamut fail! rsId %{public}" PRIu64"", rsId_);
in SetScreenColorGamut() 306 WLOGE("SetScreenColorGamut fail! rsId %{public}" PRIu64" colorGamutIdx %{public}d invalid.",
in SetScreenColorGamut() 310 auto ret = RSInterfaces::GetInstance().SetScreenColorGamut(rsId_, colorGamutIdx);
in SetScreenColorGamut() 312 WLOGE("SetScreenColorGamut fail! rsId %{public}" PRIu64"", rsId_);
in SetScreenColorGamut() 315 WLOGI("SetScreenColorGamut ok! rsId %{public}" PRIu64", colorGamutIdx %{public}u",
in SetScreenColorGamut()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/transaction/ |
H A D | rs_interfaces.h | 174 int32_t SetScreenColorGamut(ScreenId id, int32_t modeIdx);
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/rsinterfaces_fuzzer/ |
H A D | rsinterfaces_fuzzer.cpp | 106 rsInterfaces.SetScreenColorGamut(static_cast<ScreenId>(id), modeIdx); in RSPhysicalScreenFuzzTest()
|