/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsscreenhdrcapability_fuzzer/ |
H A D | rsscreenhdrcapability_fuzzer.cpp | 223 std::vector<ScreenHDRFormat> hdrFormats = { GetData<ScreenHDRFormat>() };
in DoSetHdrFormats() local 224 capability.SetHdrFormats(hdrFormats);
in DoSetHdrFormats() 241 std::vector<ScreenHDRFormat> hdrFormats = { GetData<ScreenHDRFormat>() };
in DoWriteVector() local 243 capability.WriteVector(hdrFormats, parcel);
in DoWriteVector()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsbasescreenmanager_fuzzer/ |
H A D | rsbasescreenmanager_fuzzer.cpp | 100 std::vector<ScreenHDRFormat> hdrFormats = { GetData<ScreenHDRFormat>() }; in RSScreenHdrCapabilityFuzzTest() local 104 hdrScreenCapability.SetHdrFormats(hdrFormats); in RSScreenHdrCapabilityFuzzTest()
|
/foundation/window/window_manager/dm/src/ |
H A D | display.cpp | 214 DMError Display::GetSupportedHDRFormats(std::vector<uint32_t>& hdrFormats) const
in GetSupportedHDRFormats() 216 return SingletonContainer::Get<ScreenManagerAdapter>().GetSupportedHDRFormats(GetScreenId(), hdrFormats);
in GetSupportedHDRFormats()
|
H A D | screen.cpp | 169 DMError Screen::GetSupportedHDRFormats(std::vector<ScreenHDRFormat>& hdrFormats) const
in GetSupportedHDRFormats() 171 return SingletonContainer::Get<ScreenManagerAdapter>().GetSupportedHDRFormats(GetId(), hdrFormats);
in GetSupportedHDRFormats()
|
H A D | display_manager_adapter.cpp | 132 std::vector<ScreenHDRFormat>& hdrFormats)
in GetSupportedHDRFormats() 137 return displayManagerServiceProxy_->GetSupportedHDRFormats(screenId, hdrFormats);
in GetSupportedHDRFormats() 183 DMError ScreenManagerAdapter::GetSupportedHDRFormats(ScreenId screenId, std::vector<uint32_t>& hdrFormats)
in GetSupportedHDRFormats() argument 190 hdrFormats.push_back(static_cast<uint32_t>(value));
in GetSupportedHDRFormats() 131 GetSupportedHDRFormats(ScreenId screenId, std::vector<ScreenHDRFormat>& hdrFormats) GetSupportedHDRFormats() argument
|
/foundation/window/window_manager/interfaces/innerkits/dm/ |
H A D | display.h | 155 DMError GetSupportedHDRFormats(std::vector<uint32_t>& hdrFormats) const;
|
H A D | screen.h | 267 DMError GetSupportedHDRFormats(std::vector<ScreenHDRFormat>& hdrFormats) const;
|
/foundation/window/window_manager/previewer/include/ |
H A D | display.h | 148 DMError GetSupportedHDRFormats(std::vector<uint32_t>& hdrFormats) const;
|
/foundation/window/window_manager/window_scene/screen_session_manager/src/ |
H A D | screen_session_dumper.cpp | 361 std::vector<ScreenHDRFormat> hdrFormats; in DumpRsInfoById01() local 362 DMError ret = screenSession->GetSupportedHDRFormats(hdrFormats); in DumpRsInfoById01() 363 if (ret == DMError::DM_OK && hdrFormats.size() > 0) { in DumpRsInfoById01() 365 for (uint32_t i = 0; i < hdrFormats.size() - 1; i++) { in DumpRsInfoById01() 366 oss << static_cast<int32_t>(hdrFormats[i]) << ", "; in DumpRsInfoById01() 368 oss << static_cast<int32_t>(hdrFormats[hdrFormats.size() - 1]) << std::endl; in DumpRsInfoById01()
|
/foundation/window/window_manager/dm/test/unittest/ |
H A D | display_test.cpp | 248 std::vector<uint32_t> hdrFormats; in HWTEST_F() local 249 auto res = defaultDisplay_ ->GetSupportedHDRFormats(hdrFormats); in HWTEST_F()
|
H A D | screen_test.cpp | 311 std::vector<ScreenHDRFormat> hdrFormats;
in HWTEST_F() local 312 auto res = screen_->GetSupportedHDRFormats(hdrFormats);
in HWTEST_F()
|
/foundation/window/window_manager/test/common/mock/ |
H A D | mock_display_manager_adapter.h | 45 MOCK_METHOD2(GetSupportedHDRFormats, DMError(ScreenId screenId, std::vector<uint32_t>& hdrFormats));
83 MOCK_METHOD2(GetSupportedHDRFormats, DMError(ScreenId screenId, std::vector<ScreenHDRFormat>& hdrFormats));
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/ |
H A D | rs_screen.cpp | 905 int32_t RSScreen::GetScreenSupportedHDRFormats(std::vector<ScreenHDRFormat>& hdrFormats) const
in GetScreenSupportedHDRFormats() 907 hdrFormats.clear();
in GetScreenSupportedHDRFormats() 909 hdrFormats = supportedVirtualHDRFormats_;
in GetScreenSupportedHDRFormats() 911 hdrFormats = supportedPhysicalHDRFormats_;
in GetScreenSupportedHDRFormats() 913 if (hdrFormats.size() == 0) {
in GetScreenSupportedHDRFormats()
|
H A D | rs_screen.h | 97 virtual int32_t GetScreenSupportedHDRFormats(std::vector<ScreenHDRFormat>& hdrFormats) const = 0;
181 int32_t GetScreenSupportedHDRFormats(std::vector<ScreenHDRFormat>& hdrFormats) const override;
|
H A D | rs_screen_manager.h | 178 virtual int32_t GetScreenSupportedHDRFormats(ScreenId id, std::vector<ScreenHDRFormat>& hdrFormats) const = 0;
387 int32_t GetScreenSupportedHDRFormats(ScreenId id, std::vector<ScreenHDRFormat>& hdrFormats) const override;
493 int32_t GetScreenSupportedHDRFormatsLocked(ScreenId id, std::vector<ScreenHDRFormat>& hdrFormats) const;
|
H A D | rs_screen_manager.cpp | 1783 std::vector<ScreenHDRFormat> hdrFormats;
in GetScreenHDRCapabilityLocked() local 1785 hdrFormats.resize(formatCount);
in GetScreenHDRCapabilityLocked() 1787 hdrFormats[index] = static_cast<ScreenHDRFormat>(hdrCapability.formats[index]);
in GetScreenHDRCapabilityLocked() 1792 screenHdrCapability.SetHdrFormats(hdrFormats);
in GetScreenHDRCapabilityLocked() 1878 int32_t RSScreenManager::GetScreenSupportedHDRFormatsLocked(ScreenId id, std::vector<ScreenHDRFormat>& hdrFormats) const
in GetScreenSupportedHDRFormatsLocked() 1885 return screensIt->second->GetScreenSupportedHDRFormats(hdrFormats);
in GetScreenSupportedHDRFormatsLocked() 2048 int32_t RSScreenManager::GetScreenSupportedHDRFormats(ScreenId id, std::vector<ScreenHDRFormat>& hdrFormats) const
in GetScreenSupportedHDRFormats() 2051 return GetScreenSupportedHDRFormatsLocked(id, hdrFormats);
in GetScreenSupportedHDRFormats()
|
/foundation/window/window_manager/utils/include/ |
H A D | display_info.h | 68 DEFINE_VAR_DEFAULT_FUNC_GET_SET(std::vector<uint32_t>, HdrFormats, hdrFormats, std::vector<uint32_t>());
|
/foundation/window/window_manager/interfaces/kits/napi/display_runtime/ |
H A D | js_display.cpp | 613 static napi_value CreateJsHDRFormatArray(napi_env env, const std::vector<uint32_t>& hdrFormats)
in CreateJsHDRFormatArray() argument 617 for (const auto hdrFormat : hdrFormats) {
in CreateJsHDRFormatArray() 627 napi_create_array_with_length(env, hdrFormats.size(), &arrayValue);
in CreateJsHDRFormatArray() 654 std::vector<uint32_t> hdrFormats;
in OnGetSupportedHDRFormats() 655 DmErrorCode ret = DM_JS_TO_ERROR_CODE_MAP.at(display_->GetSupportedHDRFormats(hdrFormats));
in OnGetSupportedHDRFormats() 657 task->Resolve(env, CreateJsHDRFormatArray(env, hdrFormats));
in OnGetSupportedHDRFormats() 781 napi_set_named_property(env, objValue, "hdrFormats", CreateJsHDRFormatArray(env, info->GetHdrFormats()));
in NapiSetNamedProperty()
|
/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | display_manager_proxy_test.cpp | 531 std::vector<ScreenHDRFormat> hdrFormats; in HWTEST_F() local 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() 580 ScreenHDRFormat hdrFormats = ScreenHDRFormat{VIDEO_HLG}; in HWTEST_F() local 583 auto result1 = proxy1.GetScreenHDRFormat(0, hdrFormats); in HWTEST_F() 590 auto result2 = proxy2.GetScreenHDRFormat(0, hdrFormats); in HWTEST_F() 594 auto result3 = proxy2.GetScreenHDRFormat(0, hdrFormats); in HWTEST_F()
|
/foundation/window/window_manager/window_scene/session/screen/src/ |
H A D | screen_session.cpp | 1047 DMError ScreenSession::GetSupportedHDRFormats(std::vector<ScreenHDRFormat>& hdrFormats) in GetSupportedHDRFormats() argument 1049 auto ret = RSInterfaces::GetInstance().GetScreenSupportedHDRFormats(rsId_, hdrFormats); in GetSupportedHDRFormats() 1056 rsId_, static_cast<uint32_t>(hdrFormats.size())); in GetSupportedHDRFormats() 1075 std::vector<ScreenHDRFormat> hdrFormats; in SetScreenHDRFormat() local 1076 DMError res = GetSupportedHDRFormats(hdrFormats); in SetScreenHDRFormat() 1081 if (modeIdx < 0 || modeIdx >= static_cast<int32_t>(hdrFormats.size())) { in SetScreenHDRFormat() 1421 void ScreenSession::SetHdrFormats(std::vector<uint32_t>&& hdrFormats) in SetHdrFormats() argument 1423 hdrFormats_ = std::move(hdrFormats); in SetHdrFormats()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsrenderserviceconnectionproxy_fuzzer/ |
H A D | rsrenderserviceconnectionproxy_fuzzer.cpp | 111 std::vector<ScreenHDRFormat> hdrFormats;
in DoSomethingInterestingWithMyAPI() local 179 rsRenderServiceConnectionProxy.GetScreenSupportedHDRFormats(id1, hdrFormats);
in DoSomethingInterestingWithMyAPI()
|
/foundation/window/window_manager/dm/include/ |
H A D | display_manager_adapter.h | 150 virtual DMError GetSupportedHDRFormats(ScreenId screenId, std::vector<ScreenHDRFormat>& hdrFormats);
156 virtual DMError GetSupportedHDRFormats(ScreenId screenId, std::vector<uint32_t>& hdrFormats);
|
/foundation/window/window_manager/window_scene/session/screen/include/ |
H A D | screen_session.h | 153 DMError GetSupportedHDRFormats(std::vector<ScreenHDRFormat>& hdrFormats); 184 void SetHdrFormats(std::vector<uint32_t>&& hdrFormats);
|
/foundation/window/window_manager/dmserver/include/ |
H A D | display_manager_proxy.h | 60 DMError GetSupportedHDRFormats(ScreenId screenId, std::vector<ScreenHDRFormat>& hdrFormats) override;
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/screen_manager/ |
H A D | rs_screen_test.cpp | 395 std::vector<ScreenHDRFormat> hdrFormats; in HWTEST_F() local 396 ASSERT_EQ(virtualScreen->GetScreenSupportedHDRFormats(hdrFormats), StatusCode::SUCCESS); in HWTEST_F() 1321 * @tc.desc: GetScreenSupportedHDRFormats Test, IsVirtual() return false, hdrFormats.size() == 0 1332 std::vector<ScreenHDRFormat> hdrFormats; in HWTEST_F() local 1333 ASSERT_EQ(rsScreen->GetScreenSupportedHDRFormats(hdrFormats), StatusCode::HDI_ERROR); in HWTEST_F() 1337 * @tc.desc: GetScreenSupportedHDRFormats Test, IsVirtual() return false, hdrFormats.size() != 0 1348 std::vector<ScreenHDRFormat> hdrFormats; in HWTEST_F() local 1349 ASSERT_EQ(rsScreen->GetScreenSupportedHDRFormats(hdrFormats), StatusCode::SUCCESS); in HWTEST_F()
|