Home
last modified time | relevance | path

Searched refs:colorGamutIdx (Results 1 - 25 of 28) sorted by relevance

12

/foundation/window/window_manager/test/fuzztest/dms/screen_fuzzer/
H A Dscreen_fuzzer.cpp130 int32_t colorGamutIdx; in ColorGamutsFuzzTest() local
132 if (data == nullptr || size < sizeof(colorGamutIdx) + sizeof(gamutMap)) { in ColorGamutsFuzzTest()
136 startPos += GetObject<int32_t>(colorGamutIdx, data + startPos, size - startPos); in ColorGamutsFuzzTest()
142 int32_t index = colorGamutIdx % colorGamutsSize; in ColorGamutsFuzzTest()
/foundation/window/window_manager/dmserver/src/
H A Dabstract_screen.cpp297 DMError AbstractScreen::SetScreenColorGamut(int32_t colorGamutIdx) in SetScreenColorGamut() argument
305 if (colorGamutIdx < 0 || colorGamutIdx >= static_cast<int32_t>(colorGamuts.size())) { in SetScreenColorGamut()
306 WLOGE("SetScreenColorGamut fail! rsId %{public}" PRIu64" colorGamutIdx %{public}d invalid.", in SetScreenColorGamut()
307 rsId_, colorGamutIdx); in SetScreenColorGamut()
310 auto ret = RSInterfaces::GetInstance().SetScreenColorGamut(rsId_, colorGamutIdx); in SetScreenColorGamut()
315 WLOGI("SetScreenColorGamut ok! rsId %{public}" PRIu64", colorGamutIdx %{public}u", in SetScreenColorGamut()
316 rsId_, colorGamutIdx); in SetScreenColorGamut()
H A Ddisplay_manager_service.cpp328 DMError DisplayManagerService::SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx) in SetScreenColorGamut() argument
330 WLOGFI("SetScreenColorGamut::ScreenId: %{public}" PRIu64 ", colorGamutIdx %{public}d", screenId, colorGamutIdx); in SetScreenColorGamut()
332 return abstractScreenController_->SetScreenColorGamut(screenId, colorGamutIdx); in SetScreenColorGamut()
H A Ddisplay_manager_stub.cpp327 int32_t colorGamutIdx = data.ReadInt32(); in OnRemoteRequest() local
328 DMError ret = SetScreenColorGamut(screenId, colorGamutIdx); in OnRemoteRequest()
H A Dabstract_screen_controller.cpp971 DMError AbstractScreenController::SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx) in SetScreenColorGamut() argument
977 return screen->SetScreenColorGamut(colorGamutIdx); in SetScreenColorGamut()
/foundation/window/window_manager/dm/src/
H A Dscreen.cpp139 DMError Screen::SetScreenColorGamut(int32_t colorGamutIdx) in SetScreenColorGamut() argument
141 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenColorGamut(GetId(), colorGamutIdx); in SetScreenColorGamut()
H A Ddisplay_manager_adapter.cpp87 DMError ScreenManagerAdapter::SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx) in SetScreenColorGamut() argument
91 return displayManagerServiceProxy_->SetScreenColorGamut(screenId, colorGamutIdx); in SetScreenColorGamut()
/foundation/window/window_manager/interfaces/innerkits/dm/
H A Dscreen.h202 * @param colorGamutIdx Color gamut of the screen.
205 DMError SetScreenColorGamut(int32_t colorGamutIdx);
/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 Dabstract_screen_controller.h83 DMError SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx);
H A Ddisplay_manager_service.h70 DMError SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx) override;
H A Ddisplay_manager_interface.h70 virtual DMError SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx) = 0;
/foundation/window/window_manager/test/common/mock/
H A Dmock_display_manager_adapter.h75 MOCK_METHOD2(SetScreenColorGamut, DMError(ScreenId screenId, int32_t colorGamutIdx));
/foundation/window/window_manager/window_scene/session/screen/src/
H A Dscreen_session.cpp964 DMError ScreenSession::SetScreenColorGamut(int32_t colorGamutIdx) in SetScreenColorGamut() argument
972 if (colorGamutIdx < 0 || colorGamutIdx >= static_cast<int32_t>(colorGamuts.size())) { in SetScreenColorGamut()
973 WLOGE("SetScreenColorGamut fail! rsId %{public}" PRIu64" colorGamutIdx %{public}d invalid.", in SetScreenColorGamut()
974 rsId_, colorGamutIdx); in SetScreenColorGamut()
977 auto ret = RSInterfaces::GetInstance().SetScreenColorGamut(rsId_, colorGamutIdx); in SetScreenColorGamut()
982 WLOGI("SetScreenColorGamut ok! rsId %{public}" PRIu64", colorGamutIdx %{public}u", in SetScreenColorGamut()
983 rsId_, colorGamutIdx); in SetScreenColorGamut()
/foundation/window/window_manager/test/fuzztest/window_scene/screensessionmanager_fuzzer/
H A Dscreensessionmanager_fuzzer.cpp342 int32_t colorGamutIdx = source.GetObject<int32_t>(); in ProxyInterfaceFuzzTestPart4() local
344 proxy->SetScreenColorGamut(screenId, colorGamutIdx); in ProxyInterfaceFuzzTestPart4()
/foundation/window/window_manager/dm/include/
H A Ddisplay_manager_adapter.h144 virtual DMError SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx);
/foundation/window/window_manager/window_scene/screen_session_manager/include/zidl/
H A Dscreen_session_manager_interface.h77 virtual DMError SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx) override { return DMError::DM_OK; }
H A Dscreen_session_manager_proxy.h40 virtual DMError SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx) override;
/foundation/window/window_manager/window_scene/session/screen/include/
H A Dscreen_session.h146 DMError SetScreenColorGamut(int32_t colorGamutIdx);
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_manager_stub_test.cpp2548 int32_t colorGamutIdx = 64; in HWTEST_F() local
2549 data.WriteInt32(colorGamutIdx); in HWTEST_F()
2570 uint32_t colorGamutIdx = 64; in HWTEST_F() local
2571 data.WriteUint32(colorGamutIdx); in HWTEST_F()
/foundation/window/window_manager/dmserver/test/unittest/
H A Dabstract_screen_controller_test.cpp1059 int32_t colorGamutIdx = 1; in HWTEST_F() local
1060 DMError ret = absController_->SetScreenColorGamut(screenId, colorGamutIdx); in HWTEST_F()
H A Dabstract_screen_test.cpp180 int32_t colorGamutIdx = 0; in HWTEST_F() local
181 auto result = absScreen_->SetScreenColorGamut(colorGamutIdx); in HWTEST_F()
/foundation/window/window_manager/window_scene/screen_session_manager/src/zidl/
H A Dscreen_session_manager_stub.cpp423 int32_t colorGamutIdx = data.ReadInt32(); in OnRemoteRequest() local
424 DMError ret = SetScreenColorGamut(screenId, colorGamutIdx); in OnRemoteRequest()
/foundation/window/window_manager/window_scene/screen_session_manager/include/
H A Dscreen_session_manager.h60 DMError SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx) override;

Completed in 27 milliseconds

12