Home
last modified time | relevance | path

Searched refs:gamutMap (Results 1 – 25 of 39) sorted by relevance

12

/foundation/window/window_manager/test/systemtest/dms/
Dscreen_gamut_test.cpp191 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
249gamutMap = 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/
Dhdiscreen_test.cpp93 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);
Dhdidevice_test.cpp95 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/
Dhdi_screen.cpp187 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/
Dscreen.cpp144 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()
Ddisplay_manager_adapter.cpp93 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/
Dhdiscreen_fuzzer.cpp72 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/
Dabstract_screen_test.cpp136 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));
Ddisplay_manager_service_test.cpp285 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/
Dhdi_screen.h52 int32_t SetScreenGamutMap(GraphicGamutMap gamutMap) const;
53 int32_t GetScreenGamutMap(GraphicGamutMap &gamutMap) const;
/foundation/window/window_manager/interfaces/innerkits/dm/
Dscreen.h216 DMError GetScreenGamutMap(ScreenGamutMap& gamutMap) const;
224 DMError SetScreenGamutMap(ScreenGamutMap gamutMap);
/foundation/window/window_manager/test/fuzztest/dms/screen_fuzzer/
Dscreen_fuzzer.cpp131 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/
Dscreen_test.cpp165 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);
Ddisplay_manager_adapter_test.cpp114 ScreenGamutMap gamutMap; variable
115 DMError err = SingletonContainer::Get<ScreenManagerAdapter>().GetScreenGamutMap(0, gamutMap);
/foundation/window/window_manager/window_scene/session/screen/src/
Dscreen_session.cpp362 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/
Dscreen_session_manager_stub.cpp264 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/
Dmock_display_manager_adapter.h72 MOCK_METHOD2(GetScreenGamutMap, DMError(ScreenId screenId, ScreenGamutMap& gamutMap));
73 MOCK_METHOD2(SetScreenGamutMap, DMError(ScreenId screenId, ScreenGamutMap gamutMap));
/foundation/window/window_manager/dmserver/src/
Dabstract_screen.cpp303 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()
Ddisplay_manager_stub.cpp304 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/
Ddisplay_manager_proxy.h53 DMError GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap) override;
54 DMError SetScreenGamutMap(ScreenId screenId, ScreenGamutMap gamutMap) override;
Dabstract_screen.h65 DMError GetScreenGamutMap(ScreenGamutMap& gamutMap);
66 DMError SetScreenGamutMap(ScreenGamutMap gamutMap);
Ddisplay_manager_interface.h113 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/
Dscreen_session.h91 DMError GetScreenGamutMap(ScreenGamutMap& gamutMap);
92 DMError SetScreenGamutMap(ScreenGamutMap gamutMap);
/foundation/window/window_manager/window_scene/session_manager/include/zidl/
Dscreen_session_manager_proxy.h38 virtual DMError GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap) override;
39 virtual DMError SetScreenGamutMap(ScreenId screenId, ScreenGamutMap gamutMap) override;
/foundation/window/window_manager/dm/include/
Ddisplay_manager_adapter.h118 virtual DMError GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap);
119 virtual DMError SetScreenGamutMap(ScreenId screenId, ScreenGamutMap gamutMap);

12