/foundation/window/window_manager/test/systemtest/dms/ |
D | screen_gamut_test.cpp | 191 ScreenGamutMap gamutMap; variable 193 ret = defaultScreen_->GetScreenGamutMap(gamutMap); 212 ScreenGamutMap gamutMap; variable 222 ret = defaultScreen_->GetScreenGamutMap(gamutMap); 225 ASSERT_EQ(gamutMaps[i], gamutMap); 242 ScreenGamutMap gamutMap; variable 249 …gamutMap = static_cast<ScreenGamutMap>(static_cast<uint32_t>(ScreenGamutMap::GAMUT_MAP_HDR_EXTENSI… 250 ret = defaultScreen_->SetScreenGamutMap(gamutMap);
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/unittest/ |
D | hdiscreen_test.cpp | 93 GraphicGamutMap gamutMap = GRAPHIC_GAMUT_MAP_CONSTANT; variable 94 ASSERT_EQ(hdiScreen_->SetScreenGamutMap(gamutMap), GRAPHIC_DISPLAY_NULL_PTR); 95 ASSERT_EQ(hdiScreen_->GetScreenGamutMap(gamutMap), GRAPHIC_DISPLAY_NULL_PTR); 319 GraphicGamutMap gamutMap = GraphicGamutMap::GRAPHIC_GAMUT_MAP_CONSTANT; variable 320 ASSERT_EQ(HdiScreenTest::hdiScreen_->SetScreenGamutMap(gamutMap), 0); 333 GraphicGamutMap gamutMap = GraphicGamutMap::GRAPHIC_GAMUT_MAP_CONSTANT; variable 334 ASSERT_EQ(HdiScreenTest::hdiScreen_->GetScreenGamutMap(gamutMap), 0);
|
D | hdidevice_test.cpp | 95 GraphicGamutMap gamutMap = GRAPHIC_GAMUT_MAP_CONSTANT; variable 96 …ASSERT_EQ(HdiDeviceTest::hdiDevice_->SetScreenGamutMap(screenId, gamutMap), GRAPHIC_DISPLAY_NOT_SU… 97 …ASSERT_EQ(HdiDeviceTest::hdiDevice_->GetScreenGamutMap(screenId, gamutMap), GRAPHIC_DISPLAY_NOT_SU…
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/ |
D | hdi_screen.cpp | 187 int32_t HdiScreen::SetScreenGamutMap(GraphicGamutMap gamutMap) const in SetScreenGamutMap() 190 return device_->SetScreenGamutMap(screenId_, gamutMap); in SetScreenGamutMap() 193 int32_t HdiScreen::GetScreenGamutMap(GraphicGamutMap &gamutMap) const in GetScreenGamutMap() 196 return device_->GetScreenGamutMap(screenId_, gamutMap); in GetScreenGamutMap()
|
/foundation/window/window_manager/dm/src/ |
D | screen.cpp | 144 DMError Screen::GetScreenGamutMap(ScreenGamutMap& gamutMap) const in GetScreenGamutMap() 146 return SingletonContainer::Get<ScreenManagerAdapter>().GetScreenGamutMap(GetId(), gamutMap); in GetScreenGamutMap() 149 DMError Screen::SetScreenGamutMap(ScreenGamutMap gamutMap) in SetScreenGamutMap() argument 151 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenGamutMap(GetId(), gamutMap); in SetScreenGamutMap()
|
D | display_manager_adapter.cpp | 93 DMError ScreenManagerAdapter::GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap) in GetScreenGamutMap() argument 97 return displayManagerServiceProxy_->GetScreenGamutMap(screenId, gamutMap); in GetScreenGamutMap() 100 DMError ScreenManagerAdapter::SetScreenGamutMap(ScreenId screenId, ScreenGamutMap gamutMap) in SetScreenGamutMap() argument 104 return displayManagerServiceProxy_->SetScreenGamutMap(screenId, gamutMap); in SetScreenGamutMap()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/fuzztest/hdiscreen_fuzzer/ |
D | hdiscreen_fuzzer.cpp | 72 GraphicGamutMap gamutMap = GetData<GraphicGamutMap>(); in HdiScreenFuzzTest2() local 73 g_hdiScreen->SetScreenGamutMap(gamutMap); in HdiScreenFuzzTest2() 74 g_hdiScreen->GetScreenGamutMap(gamutMap); in HdiScreenFuzzTest2()
|
/foundation/window/window_manager/dmserver/test/unittest/ |
D | abstract_screen_test.cpp | 136 ScreenGamutMap gamutMap; variable 137 ASSERT_EQ(DMError::DM_ERROR_RENDER_SERVICE_FAILED, absScreen0->GetScreenGamutMap(gamutMap)); 139 gamutMap = ScreenGamutMap::GAMUT_MAP_HDR_EXTENSION; 140 ASSERT_EQ(DMError::DM_ERROR_RENDER_SERVICE_FAILED, absScreen0->GetScreenGamutMap(gamutMap));
|
D | display_manager_service_test.cpp | 285 ScreenGamutMap gamutMap; variable 286 … ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->GetScreenGamutMap(SCREEN_ID_INVALID, gamutMap)); 287 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->GetScreenGamutMap(0, gamutMap)); 289 … ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->SetScreenGamutMap(SCREEN_ID_INVALID, gamutMap)); 290 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->SetScreenGamutMap(0, gamutMap));
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/ |
D | hdi_screen.h | 52 int32_t SetScreenGamutMap(GraphicGamutMap gamutMap) const; 53 int32_t GetScreenGamutMap(GraphicGamutMap &gamutMap) const;
|
/foundation/window/window_manager/interfaces/innerkits/dm/ |
D | screen.h | 216 DMError GetScreenGamutMap(ScreenGamutMap& gamutMap) const; 224 DMError SetScreenGamutMap(ScreenGamutMap gamutMap);
|
/foundation/window/window_manager/test/fuzztest/dms/screen_fuzzer/ |
D | screen_fuzzer.cpp | 131 uint32_t gamutMap; in ColorGamutsFuzzTest() local 132 if (data == nullptr || size < sizeof(colorGamutIdx) + sizeof(gamutMap)) { in ColorGamutsFuzzTest() 137 GetObject<uint32_t>(gamutMap, data + startPos, size - startPos); in ColorGamutsFuzzTest() 147 screen->SetScreenGamutMap(static_cast<ScreenGamutMap>(gamutMap)); in ColorGamutsFuzzTest()
|
/foundation/window/window_manager/dm/test/unittest/ |
D | screen_test.cpp | 165 ScreenGamutMap gamutMap = ScreenGamutMap::GAMUT_MAP_CONSTANT; variable 166 auto res = screen_->GetScreenGamutMap(gamutMap); 179 ScreenGamutMap gamutMap = ScreenGamutMap::GAMUT_MAP_CONSTANT; variable 180 auto res = screen_->SetScreenGamutMap(gamutMap);
|
D | display_manager_adapter_test.cpp | 114 ScreenGamutMap gamutMap; variable 115 DMError err = SingletonContainer::Get<ScreenManagerAdapter>().GetScreenGamutMap(0, gamutMap);
|
/foundation/window/window_manager/window_scene/session/screen/src/ |
D | screen_session.cpp | 362 DMError ScreenSession::GetScreenGamutMap(ScreenGamutMap& gamutMap) in GetScreenGamutMap() argument 364 auto ret = RSInterfaces::GetInstance().GetScreenGamutMap(rsId_, gamutMap); in GetScreenGamutMap() 370 rsId_, static_cast<uint32_t>(gamutMap)); in GetScreenGamutMap() 374 DMError ScreenSession::SetScreenGamutMap(ScreenGamutMap gamutMap) in SetScreenGamutMap() argument 376 if (gamutMap > GAMUT_MAP_HDR_EXTENSION) { in SetScreenGamutMap() 379 auto ret = RSInterfaces::GetInstance().SetScreenGamutMap(rsId_, gamutMap); in SetScreenGamutMap() 385 rsId_, static_cast<uint32_t>(gamutMap)); in SetScreenGamutMap()
|
/foundation/window/window_manager/window_scene/session_manager/src/zidl/ |
D | screen_session_manager_stub.cpp | 264 ScreenGamutMap gamutMap; in OnRemoteRequest() local 265 DMError ret = GetScreenGamutMap(screenId, gamutMap); in OnRemoteRequest() 270 reply.WriteInt32(static_cast<uint32_t>(gamutMap)); in OnRemoteRequest() 275 ScreenGamutMap gamutMap = static_cast<ScreenGamutMap>(data.ReadUint32()); in OnRemoteRequest() local 276 DMError ret = SetScreenGamutMap(screenId, gamutMap); in OnRemoteRequest()
|
/foundation/window/window_manager/test/common/mock/ |
D | mock_display_manager_adapter.h | 72 MOCK_METHOD2(GetScreenGamutMap, DMError(ScreenId screenId, ScreenGamutMap& gamutMap)); 73 MOCK_METHOD2(SetScreenGamutMap, DMError(ScreenId screenId, ScreenGamutMap gamutMap));
|
/foundation/window/window_manager/dmserver/src/ |
D | abstract_screen.cpp | 303 DMError AbstractScreen::GetScreenGamutMap(ScreenGamutMap& gamutMap) in GetScreenGamutMap() argument 305 auto ret = RSInterfaces::GetInstance().GetScreenGamutMap(rsId_, gamutMap); in GetScreenGamutMap() 311 rsId_, static_cast<uint32_t>(gamutMap)); in GetScreenGamutMap() 316 DMError AbstractScreen::SetScreenGamutMap(ScreenGamutMap gamutMap) in SetScreenGamutMap() argument 318 if (gamutMap > GAMUT_MAP_HDR_EXTENSION) { in SetScreenGamutMap() 321 auto ret = RSInterfaces::GetInstance().SetScreenGamutMap(rsId_, gamutMap); in SetScreenGamutMap() 327 rsId_, static_cast<uint32_t>(gamutMap)); in SetScreenGamutMap()
|
D | display_manager_stub.cpp | 304 ScreenGamutMap gamutMap; in OnRemoteRequest() local 305 DMError ret = GetScreenGamutMap(screenId, gamutMap); in OnRemoteRequest() 310 reply.WriteInt32(static_cast<uint32_t>(gamutMap)); in OnRemoteRequest() 315 ScreenGamutMap gamutMap = static_cast<ScreenGamutMap>(data.ReadUint32()); in OnRemoteRequest() local 316 DMError ret = SetScreenGamutMap(screenId, gamutMap); in OnRemoteRequest()
|
/foundation/window/window_manager/dmserver/include/ |
D | display_manager_proxy.h | 53 DMError GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap) override; 54 DMError SetScreenGamutMap(ScreenId screenId, ScreenGamutMap gamutMap) override;
|
D | abstract_screen.h | 65 DMError GetScreenGamutMap(ScreenGamutMap& gamutMap); 66 DMError SetScreenGamutMap(ScreenGamutMap gamutMap);
|
D | display_manager_interface.h | 113 virtual DMError GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap) = 0; 114 virtual DMError SetScreenGamutMap(ScreenId screenId, ScreenGamutMap gamutMap) = 0;
|
/foundation/window/window_manager/window_scene/session/screen/include/ |
D | screen_session.h | 91 DMError GetScreenGamutMap(ScreenGamutMap& gamutMap); 92 DMError SetScreenGamutMap(ScreenGamutMap gamutMap);
|
/foundation/window/window_manager/window_scene/session_manager/include/zidl/ |
D | screen_session_manager_proxy.h | 38 virtual DMError GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap) override; 39 virtual DMError SetScreenGamutMap(ScreenId screenId, ScreenGamutMap gamutMap) override;
|
/foundation/window/window_manager/dm/include/ |
D | display_manager_adapter.h | 118 virtual DMError GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap); 119 virtual DMError SetScreenGamutMap(ScreenId screenId, ScreenGamutMap gamutMap);
|