/foundation/windowmanager/dm/test/systemtest/ |
D | screen_manager_test.cpp | 66 class ScreenChangeListener : public ScreenManager::IScreenListener { 88 class ScreenGroupChangeListener : public ScreenManager::IScreenGroupListener { 164 std::vector<sptr<Screen>> allScreens = ScreenManager::GetInstance().GetAllScreens(); \ 174 auto group = ScreenManager::GetInstance().GetScreenGroup(groupId); \ 179 ScreenManager::GetInstance().RegisterScreenListener(screenListener); \ 180 ScreenManager::GetInstance().RegisterScreenGroupListener(screenGroupChangeListener); \ 183 auto virtualScreen = ScreenManager::GetInstance().GetScreenById(virtualScreenId); \ 237 ScreenId virtualScreenId = ScreenManager::GetInstance().CreateVirtualScreen(defaultOption_); 239 ASSERT_EQ(DMError::DM_OK, ScreenManager::GetInstance().DestroyVirtualScreen(virtualScreenId)); 252 ScreenId virtualScreenId = ScreenManager::GetInstance().CreateVirtualScreen(defaultOption_); [all …]
|
D | display_power_test.cpp | 327 bool ret = ScreenManager::GetInstance().SetScreenPowerForAll(ScreenPowerState::POWER_OFF, 343 bool ret = ScreenManager::GetInstance().SetScreenPowerForAll(ScreenPowerState::POWER_ON, 359 bool ret = ScreenManager::GetInstance().SetScreenPowerForAll(ScreenPowerState::INVALID_STATE, 393 …bool ret = ScreenManager::GetInstance().SetScreenPowerForAll(stateToSet, PowerStateChangeReason::P… 395 ScreenPowerState stateGet = ScreenManager::GetInstance().GetScreenPower(defaultId_);
|
D | screen_gamut_test.cpp | 38 auto screens = ScreenManager::GetInstance().GetAllScreens(); in SetUpTestCase()
|
D | display_change_test.cpp | 87 defaultScreen_ = ScreenManager::GetInstance().GetScreenById(screenId); in SetUpTestCase()
|
/foundation/windowmanager/dm/src/ |
D | screen_manager.cpp | 33 class ScreenManager::Impl : public RefBase { 37 static inline SingletonDelegator<ScreenManager> delegator; 62 class ScreenManager::Impl::ScreenManagerListener : public DisplayManagerAgentDefault { 142 WM_IMPLEMENT_SINGLE_INSTANCE(ScreenManager) in WM_IMPLEMENT_SINGLE_INSTANCE() argument 144 ScreenManager::ScreenManager() in WM_IMPLEMENT_SINGLE_INSTANCE() 149 ScreenManager::~ScreenManager() in ~ScreenManager() 153 ScreenManager::Impl::~Impl() in ~Impl() 168 sptr<Screen> ScreenManager::Impl::GetScreen(ScreenId screenId) in GetScreen() 179 sptr<Screen> ScreenManager::GetScreenById(ScreenId screenId) in GetScreenById() 184 sptr<ScreenGroup> ScreenManager::Impl::GetScreenGroup(ScreenId screenId) in GetScreenGroup() [all …]
|
/foundation/distributedhardware/distributedscreen/services/screenservice/sourceservice/dscreenmgr/src/ |
D | screen_manager_adapter.cpp | 52 uint64_t screenId = Rosen::ScreenManager::GetInstance().CreateVirtualScreen(option); in CreateVirtualScreen() 56 int32_t ScreenMgrAdapter::RegisterScreenGroupListener(sptr<Rosen::ScreenManager::IScreenGroupListen… in RegisterScreenGroupListener() 63 bool ret = Rosen::ScreenManager::GetInstance().RegisterScreenGroupListener(listener); in RegisterScreenGroupListener() 72 int32_t ScreenMgrAdapter::UnregisterScreenGroupListener(sptr<Rosen::ScreenManager::IScreenGroupList… in UnregisterScreenGroupListener() 79 bool ret = Rosen::ScreenManager::GetInstance().UnregisterScreenGroupListener(listener); in UnregisterScreenGroupListener() 93 Rosen::ScreenManager::GetInstance().RemoveVirtualScreenFromGroup(screenIds); in RemoveScreenFromGroup() 99 Rosen::DMError err = Rosen::ScreenManager::GetInstance().DestroyVirtualScreen(screenId); in RemoveVirtualScreen() 110 Rosen::ScreenManager::GetInstance().SetVirtualScreenSurface(screenId, surface); in SetImageSurface() 118 sptr<Rosen::Screen> screen = Rosen::ScreenManager::GetInstance().GetScreenById(screenId); in GetMapRelation()
|
/foundation/windowmanager/dm/test/unittest/ |
D | screen_manager_test.cpp | 65 ScreenId id = ScreenManager::GetInstance().CreateVirtualScreen(wrongOption); 66 DMError ret = ScreenManager::GetInstance().DestroyVirtualScreen(id); 86 ScreenId id = ScreenManager::GetInstance().CreateVirtualScreen(defaultOption); 87 DMError ret = ScreenManager::GetInstance().DestroyVirtualScreen(id); 109 ScreenId vScreenId = ScreenManager::GetInstance().CreateVirtualScreen(defaultOption); 111 ScreenId expansionId = ScreenManager::GetInstance().MakeExpand(options); 113 DMError ret = ScreenManager::GetInstance().DestroyVirtualScreen(vScreenId); 127 ScreenId expansionId = ScreenManager::GetInstance().MakeExpand(options); 147 ScreenId id = ScreenManager::GetInstance().CreateVirtualScreen(defaultOption); 148 DMError surfaceRes = ScreenManager::GetInstance().SetVirtualScreenSurface(id, utils.psurface_); [all …]
|
D | screen_test.cpp | 56 auto screen = ScreenManager::GetInstance().GetScreenById(defaultScreenId_); 72 auto screen = ScreenManager::GetInstance().GetScreenById(defaultScreenId_); 88 auto screen = ScreenManager::GetInstance().GetScreenById(defaultScreenId_); 103 auto screen = ScreenManager::GetInstance().GetScreenById(defaultScreenId_); 118 auto screen = ScreenManager::GetInstance().GetScreenById(defaultScreenId_); 133 auto screen = ScreenManager::GetInstance().GetScreenById(defaultScreenId_); 148 auto screen = ScreenManager::GetInstance().GetScreenById(defaultScreenId_); 163 auto screen = ScreenManager::GetInstance().GetScreenById(defaultScreenId_);
|
D | display_power_unit_test.cpp | 58 initialPowerState_ = ScreenManager::GetInstance().GetScreenPower(defaultId_); in SetUp() 64 …ScreenManager::GetInstance().SetScreenPowerForAll(initialPowerState_, PowerStateChangeReason::POWE… in TearDown() 249 bool ret = ScreenManager::GetInstance().SetScreenPowerForAll(ScreenPowerState::POWER_OFF, 253 ScreenPowerState state = ScreenManager::GetInstance().GetScreenPower(defaultId_);
|
/foundation/windowmanager/interfaces/innerkits/dm/ |
D | screen_manager.h | 27 class ScreenManager : public RefBase { 28 WM_DECLARE_SINGLE_INSTANCE_BASE(ScreenManager); 60 ScreenManager(); 61 ~ScreenManager();
|
D | screen_group.h | 32 friend class ScreenManager; variable
|
D | screen.h | 61 friend class ScreenManager; variable
|
/foundation/windowmanager/snapshot/ |
D | snapshot_virtual_screen.cpp | 39 auto defaultScreen = ScreenManager::GetInstance().GetScreenById(mainId); in InitOption() 63 ScreenId virtualScreenId = ScreenManager::GetInstance().CreateVirtualScreen(option); in main() 66 ScreenManager::GetInstance().MakeMirror(mainId, mirrorIds); in main() 94 ScreenManager::GetInstance().DestroyVirtualScreen(virtualScreenId); in main()
|
/foundation/windowmanager/wm/test/systemtest/ |
D | window_rotation_test.cpp | 38 class ScreenListener : public ScreenManager::IScreenListener { 111 ScreenManager::GetInstance().RegisterScreenListener(screenListener_); in SetUp() 121 ScreenManager::GetInstance().UnregisterScreenListener(screenListener_); in TearDown() 146 auto screen = ScreenManager::GetInstance().GetScreenById(screenId); 175 auto screen = ScreenManager::GetInstance().GetScreenById(screenId); 186 screen = ScreenManager::GetInstance().GetScreenById(screenId); 212 auto screen = ScreenManager::GetInstance().GetAllScreens()[0]; 231 auto defaultScreen = ScreenManager::GetInstance().GetScreenById(defaultScreenId); 245 auto screen = ScreenManager::GetInstance().GetScreenById(screenId); 256 screen = ScreenManager::GetInstance().GetScreenById(screenId);
|
/foundation/distributedhardware/distributedscreen/services/screenservice/sourceservice/dscreenmgr/include/ |
D | screen_manager_adapter.h | 35 int32_t RegisterScreenGroupListener(sptr<Rosen::ScreenManager::IScreenGroupListener> listener); 36 … int32_t UnregisterScreenGroupListener(sptr<Rosen::ScreenManager::IScreenGroupListener> listener);
|
D | dscreen_manager.h | 39 class DScreenGroupListener : public Rosen::ScreenManager::IScreenGroupListener {
|
/foundation/distributedhardware/distributedscreen/screenhandler/src/ |
D | dscreen_handler.cpp | 42 Rosen::ScreenManager::GetInstance().UnregisterScreenListener(screenListener_); in ~DScreenHandler() 51 bool ret = Rosen::ScreenManager::GetInstance().RegisterScreenListener(screenListener_); in Initialize() 64 sptr<Rosen::Screen> screen = Rosen::ScreenManager::GetInstance().GetScreenById(screenId); in OnConnect() 109 std::vector<sptr<Rosen::Screen>> screens = Rosen::ScreenManager::GetInstance().GetAllScreens(); in Query()
|
/foundation/windowmanager/interfaces/kits/napi/display_runtime/napi/ |
D | js_screen_manager.cpp | 91 … std::vector<sptr<Screen>> screens = SingletonContainer::Get<ScreenManager>().GetAllScreens(); in OnGetAllScreen() 148 SingletonContainer::Get<ScreenManager>().RegisterScreenListener(screenListener); in RegisterScreenListenerWithType() 169 sptr<ScreenManager::IScreenListener> thisListener(it->second); in UnregisterAllScreenListenerWithType() 170 SingletonContainer::Get<ScreenManager>().UnregisterScreenListener(thisListener); in UnregisterAllScreenListenerWithType() 189 sptr<ScreenManager::IScreenListener> thisListener(it->second); in UnRegisterScreenListenerWithType() 190 SingletonContainer::Get<ScreenManager>().UnregisterScreenListener(thisListener); in UnRegisterScreenListenerWithType() 292 … ScreenId id = SingletonContainer::Get<ScreenManager>().MakeMirror(mainScreenId, screenIds); in OnMakeMirror() 337 ScreenId id = SingletonContainer::Get<ScreenManager>().MakeExpand(options); in OnMakeExpand()
|
D | js_screen_listener.h | 27 class JsScreenListener : public ScreenManager::IScreenListener {
|
/foundation/distributedhardware/distributedscreen/screenhandler/include/ |
D | dscreen_handler.h | 26 class ScreenListener : public Rosen::ScreenManager::IScreenListener {
|