Home
last modified time | relevance | path

Searched refs:ScreenManagerAdapter (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_manager_proxy_test.cpp67 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
91 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
115 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
139 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
163 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
189 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
217 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
245 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
273 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
303 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
[all …]
H A Dscreen_session_manager_lite_proxy_test.cpp71 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
87 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
/ohos5.0/foundation/window/window_manager/dm/src/
H A Ddisplay_manager_adapter.cpp34 WM_IMPLEMENT_SINGLE_INSTANCE(ScreenManagerAdapter) in WM_IMPLEMENT_SINGLE_INSTANCE() argument
109 DMError ScreenManagerAdapter::SetScreenColorTransform(ScreenId screenId) in SetScreenColorTransform()
132 DMError ScreenManagerAdapter::GetSupportedHDRFormats(ScreenId screenId, in GetSupportedHDRFormats()
157 DMError ScreenManagerAdapter::GetSupportedColorSpaces(ScreenId screenId, in GetSupportedColorSpaces()
166 DMError ScreenManagerAdapter::GetScreenColorSpace(ScreenId screenId, in GetScreenColorSpace()
175 DMError ScreenManagerAdapter::SetScreenColorSpace(ScreenId screenId, in SetScreenColorSpace()
219 DMError ScreenManagerAdapter::DestroyVirtualScreen(ScreenId screenId) in DestroyVirtualScreen()
253 DMError ScreenManagerAdapter::SetScreenRotationLocked(bool isLocked) in SetScreenRotationLocked()
267 DMError ScreenManagerAdapter::IsScreenRotationLocked(bool& isLocked) in IsScreenRotationLocked()
482 DMError ScreenManagerAdapter::DisableMirror(bool disableOrNot) in DisableMirror()
[all …]
H A Dscreen.cpp126 return SingletonContainer::Get<ScreenManagerAdapter>().SetOrientation(GetId(), orientation); in SetOrientation()
136 return SingletonContainer::Get<ScreenManagerAdapter>().GetScreenColorGamut(GetId(), colorGamut); in GetScreenColorGamut()
146 return SingletonContainer::Get<ScreenManagerAdapter>().GetScreenGamutMap(GetId(), gamutMap); in GetScreenGamutMap()
151 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenGamutMap(GetId(), gamutMap); in SetScreenGamutMap()
156 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenColorTransform(GetId()); in SetScreenColorTransform()
161 return SingletonContainer::Get<ScreenManagerAdapter>().GetPixelFormat(GetId(), pixelFormat); in GetPixelFormat()
166 return SingletonContainer::Get<ScreenManagerAdapter>().SetPixelFormat(GetId(), pixelFormat); in SetPixelFormat()
176 return SingletonContainer::Get<ScreenManagerAdapter>().GetScreenHDRFormat(GetId(), hdrFormat); in GetScreenHDRFormat()
181 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenHDRFormat(GetId(), modeIdx); in SetScreenHDRFormat()
222 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenActiveMode(screenId, modeId); in SetScreenActiveMode()
[all …]
H A Dscreen_manager.cpp227 auto screenInfo = SingletonContainer::Get<ScreenManagerAdapter>().GetScreenInfo(screenId); in GetScreen()
412 regSucc = SingletonContainer::Get<ScreenManagerAdapter>().RegisterDisplayManagerAgent( in RegisterDisplayManagerAgent()
498 return SingletonContainer::Get<ScreenManagerAdapter>().StopExpand(expandScreenIds); in StopExpand()
507 return SingletonContainer::Get<ScreenManagerAdapter>().StopMirror(mirrorScreenIds); in StopMirror()
513 return SingletonContainer::Get<ScreenManagerAdapter>().DisableMirror(disableOrNot); in DisableMirror()
527 SingletonContainer::Get<ScreenManagerAdapter>().RemoveVirtualScreenFromGroup(screens); in RemoveVirtualScreenFromGroup()
547 return SingletonContainer::Get<ScreenManagerAdapter>().DestroyVirtualScreen(screenId); in DestroyVirtualScreen()
572 return SingletonContainer::Get<ScreenManagerAdapter>().GetVirtualScreenFlag(screenId); in GetVirtualScreenFlag()
599 return SingletonContainer::Get<ScreenManagerAdapter>().GetScreenPower(dmsScreenId); in GetScreenPower()
604 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenRotationLocked(isLocked); in SetScreenRotationLocked()
[all …]
H A Ddisplay.cpp235 …return SingletonContainer::Get<ScreenManagerAdapter>().GetSupportedHDRFormats(GetScreenId(), hdrFo… in GetSupportedHDRFormats()
240 …return SingletonContainer::Get<ScreenManagerAdapter>().GetSupportedColorSpaces(GetScreenId(), colo… in GetSupportedColorSpaces()
H A Dscreen_group.cpp59 … auto screenInfo = SingletonContainer::Get<ScreenManagerAdapter>().GetScreenGroupInfoById(GetId()); in UpdateScreenGroupInfo()
/ohos5.0/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_manager_agent_proxy_test.cpp62 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
88 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
111 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
135 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
161 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
187 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
212 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
237 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
263 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
288 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
[all …]
/ohos5.0/foundation/window/window_manager/dm/test/unittest/
H A Ddisplay_manager_adapter_test.cpp230 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
244 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
245 SingletonContainer::Get<ScreenManagerAdapter>().Clear();
246 ASSERT_FALSE(SingletonContainer::Get<ScreenManagerAdapter>().isProxyValid_);
256 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
258 SingletonContainer::Get<ScreenManagerAdapter>().Clear();
259 ASSERT_FALSE(SingletonContainer::Get<ScreenManagerAdapter>().isProxyValid_);
445 DMError ret = SingletonContainer::Get<ScreenManagerAdapter>().
729 SingletonContainer::Get<ScreenManagerAdapter>().DestroyVirtualScreen(id);
743 SingletonContainer::Get<ScreenManagerAdapter>().DestroyVirtualScreen(id);
[all …]
H A Ddisplay_manager_agent_proxy_test.cpp67 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
68 …sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServicePr…
96 SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy();
97 …sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServicePr…
120 …sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServicePr…
143 …sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServicePr…
167 …sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServicePr…
189 …sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServicePr…
211 …sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServicePr…
234 …sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServicePr…
[all …]
H A Dscreen_group_test.cpp65 SingletonMocker<ScreenManagerAdapter, MockScreenManagerAdapter> m;
81 SingletonMocker<ScreenManagerAdapter, MockScreenManagerAdapter> m;
99 SingletonMocker<ScreenManagerAdapter, MockScreenManagerAdapter> m;
H A Dscreen_manager_test.cpp32 using Mocker = SingletonMocker<ScreenManagerAdapter, MockScreenManagerAdapter>;
471 DMError err = SingletonContainer::Get<ScreenManagerAdapter>().StopExpand(expandScreenIds);
487 DMError err = SingletonContainer::Get<ScreenManagerAdapter>().StopMirror(mirrorScreenIds1);
490 err = SingletonContainer::Get<ScreenManagerAdapter>().StopMirror(mirrorScreenIds2);
H A Ddisplay_test.cpp30 using ScreenMocker = SingletonMocker<ScreenManagerAdapter, MockScreenManagerAdapter>;
H A Ddisplay_power_unit_test.cpp242 SingletonMocker<ScreenManagerAdapter, MockScreenManagerAdapter> m;
H A Dscreen_test.cpp30 using Mocker = SingletonMocker<ScreenManagerAdapter, MockScreenManagerAdapter>;
/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/
H A Dsession_listener_controller_test.cpp379 if (SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy()) {
380 … remote = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServiceProxy_->AsObject();
428 if (SingletonContainer::Get<ScreenManagerAdapter>().InitDMSProxy()) {
430 … remote = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServiceProxy_->AsObject();
/ohos5.0/foundation/window/window_manager/dm/include/
H A Ddisplay_manager_adapter.h110 class ScreenManagerAdapter : public BaseAdapter {
111 WM_DECLARE_SINGLE_INSTANCE(ScreenManagerAdapter);
166 static inline SingletonDelegator<ScreenManagerAdapter> delegator;
/ohos5.0/foundation/window/window_manager/test/common/mock/
H A Dmock_display_manager_adapter.h49 class MockScreenManagerAdapter : public ScreenManagerAdapter {