Home
last modified time | relevance | path

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

12

/foundation/window/window_manager/dm/test/unittest/
H A Ddisplay_test.cpp240 * @tc.name: GetSupportedHDRFormats
241 * @tc.desc: test GetSupportedHDRFormats
244 HWTEST_F(DisplayTest, GetSupportedHDRFormats, Function | SmallTest | Level1) in HWTEST_F()
247 EXPECT_CALL(m->Mock(), GetSupportedHDRFormats(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
249 auto res = defaultDisplay_ ->GetSupportedHDRFormats(hdrFormats); in HWTEST_F()
H A Dscreen_test.cpp303 * @tc.name: GetSupportedHDRFormats
304 * @tc.desc: GetSupportedHDRFormats
307 HWTEST_F(ScreenTest, GetSupportedHDRFormats, Function | SmallTest | Level2) in HWTEST_F()
310 EXPECT_CALL(m->Mock(), GetSupportedHDRFormats(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
312 auto res = screen_->GetSupportedHDRFormats(hdrFormats); in HWTEST_F()
H A Ddisplay_manager_adapter_test.cpp326 * @tc.name: GetSupportedHDRFormats
330 HWTEST_F(DisplayManagerAdapterTest, GetSupportedHDRFormats, Function | SmallTest | Level2) in HWTEST_F()
333 DMError err = SingletonContainer::Get<ScreenManagerAdapter>().GetSupportedHDRFormats(0, hdrFormats); in HWTEST_F()
/foundation/window/window_manager/dm/src/
H A Ddisplay.cpp214 DMError Display::GetSupportedHDRFormats(std::vector<uint32_t>& hdrFormats) const in GetSupportedHDRFormats() function in OHOS::Rosen::Display
216 return SingletonContainer::Get<ScreenManagerAdapter>().GetSupportedHDRFormats(GetScreenId(), hdrFormats); in GetSupportedHDRFormats()
H A Dscreen.cpp169 DMError Screen::GetSupportedHDRFormats(std::vector<ScreenHDRFormat>& hdrFormats) const in GetSupportedHDRFormats() function in OHOS::Rosen::Screen
171 return SingletonContainer::Get<ScreenManagerAdapter>().GetSupportedHDRFormats(GetId(), hdrFormats); in GetSupportedHDRFormats()
H A Ddisplay_manager_adapter.cpp131 DMError ScreenManagerAdapter::GetSupportedHDRFormats(ScreenId screenId, in GetSupportedHDRFormats() function in OHOS::Rosen::ScreenManagerAdapter
136 WLOGFI("ScreenManagerAdapter::GetSupportedHDRFormats"); in GetSupportedHDRFormats()
137 return displayManagerServiceProxy_->GetSupportedHDRFormats(screenId, hdrFormats); in GetSupportedHDRFormats()
183 DMError ScreenManagerAdapter::GetSupportedHDRFormats(ScreenId screenId, std::vector<uint32_t>& hdrFormats) in GetSupportedHDRFormats() function in OHOS::Rosen::ScreenManagerAdapter
188 DMError ret = GetSupportedHDRFormats(screenId, hdrFormatsVec); in GetSupportedHDRFormats()
192 WLOGFI("ScreenManagerAdapter::GetSupportedHDRFormats ret %{public}d", static_cast<int32_t>(ret)); in GetSupportedHDRFormats()
/foundation/window/window_manager/interfaces/innerkits/dm/
H A Ddisplay.h155 DMError GetSupportedHDRFormats(std::vector<uint32_t>& hdrFormats) const;
H A Dscreen.h267 DMError GetSupportedHDRFormats(std::vector<ScreenHDRFormat>& hdrFormats) const;
/foundation/window/window_manager/previewer/include/
H A Ddisplay.h148 DMError GetSupportedHDRFormats(std::vector<uint32_t>& hdrFormats) const;
/foundation/window/window_manager/test/common/mock/
H A Dmock_display_manager_adapter.h45 MOCK_METHOD2(GetSupportedHDRFormats, DMError(ScreenId screenId, std::vector<uint32_t>& hdrFormats));
83 MOCK_METHOD2(GetSupportedHDRFormats, DMError(ScreenId screenId, std::vector<ScreenHDRFormat>& hdrFormats));
/foundation/window/window_manager/interfaces/kits/napi/display_runtime/
H A Djs_display.h75 static napi_value GetSupportedHDRFormats(napi_env env, napi_callback_info info);
H A Djs_display.cpp606 napi_value JsDisplay::GetSupportedHDRFormats(napi_env env, napi_callback_info info) in GetSupportedHDRFormats() function in OHOS::Rosen::JsDisplay
608 WLOGI("GetSupportedHDRFormats is called"); in GetSupportedHDRFormats()
655 DmErrorCode ret = DM_JS_TO_ERROR_CODE_MAP.at(display_->GetSupportedHDRFormats(hdrFormats)); in OnGetSupportedHDRFormats()
816 BindNativeFunction(env, objValue, "getSupportedHDRFormats", "JsDisplay", JsDisplay::GetSupportedHDRFormats); in CreateJsDisplayObject()
/foundation/window/window_manager/dm/include/
H A Ddisplay_manager_adapter.h150 virtual DMError GetSupportedHDRFormats(ScreenId screenId, std::vector<ScreenHDRFormat>& hdrFormats);
156 virtual DMError GetSupportedHDRFormats(ScreenId screenId, std::vector<uint32_t>& hdrFormats);
/foundation/window/window_manager/dmserver/include/
H A Ddisplay_manager_proxy.h60 DMError GetSupportedHDRFormats(ScreenId screenId, std::vector<ScreenHDRFormat>& hdrFormats) override;
H A Ddisplay_manager_interface.h83 virtual DMError GetSupportedHDRFormats(ScreenId screenId, in GetSupportedHDRFormats() function in OHOS::Rosen::IDisplayManager
/foundation/window/window_manager/dmserver/test/unittest/
H A Ddisplay_manager_proxy_test.cpp525 * @tc.name: GetSupportedHDRFormats
526 * @tc.desc: test DisplayManagerProxy::GetSupportedHDRFormats
529 HWTEST_F(DisplayManagerProxyTest, GetSupportedHDRFormats, Function | SmallTest | Level1) in HWTEST_F()
534 auto result1 = proxy1.GetSupportedHDRFormats(0, hdrFormats); in HWTEST_F()
541 auto result2 = proxy2.GetSupportedHDRFormats(0, hdrFormats); in HWTEST_F()
545 auto result3 = proxy2.GetSupportedHDRFormats(0, hdrFormats); in HWTEST_F()
/foundation/window/window_manager/window_scene/screen_session_manager/include/zidl/
H A Dscreen_session_manager_proxy.h47 DMError GetSupportedHDRFormats(ScreenId screenId, std::vector<ScreenHDRFormat>& hdrFormats) override;
/foundation/window/window_manager/window_scene/session/screen/include/
H A Dscreen_session.h153 DMError GetSupportedHDRFormats(std::vector<ScreenHDRFormat>& hdrFormats);
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_manager_test.cpp2128 * @tc.name: GetSupportedHDRFormats
2129 * @tc.desc: GetSupportedHDRFormats test
2132 HWTEST_F(ScreenSessionManagerTest, GetSupportedHDRFormats, Function | SmallTest | Level3) in HWTEST_F()
2135 EXPECT_EQ(DMError::DM_ERROR_INVALID_PARAM, ssm_->GetSupportedHDRFormats(SCREEN_ID_INVALID, hdrFormats)); in HWTEST_F()
2140 EXPECT_EQ(ssm_->GetSupportedHDRFormats(id, hdrFormats), screenSession->GetSupportedHDRFormats(hdrFormats)); in HWTEST_F()
H A Dscreen_session_manager_proxy_test.cpp520 * @tc.name: GetSupportedHDRFormats
521 * @tc.desc: GetSupportedHDRFormats
524 HWTEST_F(ScreenSessionManagerProxyTest, GetSupportedHDRFormats, Function | SmallTest | Level1) in HWTEST_F()
537 res = screenSessionManagerProxy->GetSupportedHDRFormats(id, hdrFormats); in HWTEST_F()
H A Dscreen_session_test.cpp686 * @tc.name: GetSupportedHDRFormats
690 HWTEST_F(ScreenSessionTest, GetSupportedHDRFormats, Function | SmallTest | Level2) in HWTEST_F()
692 GTEST_LOG_(INFO) << "GetSupportedHDRFormats start"; in HWTEST_F()
701 auto res = screenSession->GetSupportedHDRFormats(hdrFormats); in HWTEST_F()
707 GTEST_LOG_(INFO) << "GetSupportedHDRFormats end"; in HWTEST_F()
/foundation/window/window_manager/window_scene/screen_session_manager/include/
H A Dscreen_session_manager.h67 DMError GetSupportedHDRFormats(ScreenId screenId, std::vector<ScreenHDRFormat>& hdrFormats) override;
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_session_dumper.cpp362 DMError ret = screenSession->GetSupportedHDRFormats(hdrFormats); in DumpRsInfoById01()
/foundation/window/window_manager/window_scene/session/screen/src/
H A Dscreen_session.cpp1047 DMError ScreenSession::GetSupportedHDRFormats(std::vector<ScreenHDRFormat>& hdrFormats) in GetSupportedHDRFormats() function in OHOS::Rosen::ScreenSession
1051 WLOGE("SCB: ScreenSession::GetSupportedHDRFormats fail! rsId %{public}" PRIu64 ", ret:%{public}d", in GetSupportedHDRFormats()
1055 WLOGI("SCB: ScreenSession::GetSupportedHDRFormats ok! rsId %{public}" PRIu64 ", size %{public}u", in GetSupportedHDRFormats()
1076 DMError res = GetSupportedHDRFormats(hdrFormats); in SetScreenHDRFormat()
/foundation/window/window_manager/window_scene/screen_session_manager/src/zidl/
H A Dscreen_session_manager_stub.cpp473 DMError ret = GetSupportedHDRFormats(screenId, hdrFormats); in OnRemoteRequest()

Completed in 30 milliseconds

12