/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | multi_screen_manager_test.cpp | 170 std::vector<ScreenId> screenIds = {2, 3}; in HWTEST_F() local 171 DMError ret = MultiScreenManager::GetInstance().PhysicalScreenMirrorSwitch(screenIds); in HWTEST_F() 182 std::vector<ScreenId> screenIds = {1002, 1003}; in HWTEST_F() local 186 DMError ret = MultiScreenManager::GetInstance().PhysicalScreenMirrorSwitch(screenIds); in HWTEST_F() 197 std::vector<ScreenId> screenIds = {1002, 1003}; in HWTEST_F() local 203 DMError ret = MultiScreenManager::GetInstance().PhysicalScreenMirrorSwitch(screenIds); in HWTEST_F() 214 std::vector<ScreenId> screenIds = {101, 102}; in HWTEST_F() local 218 DMError ret = MultiScreenManager::GetInstance().PhysicalScreenMirrorSwitch(screenIds); in HWTEST_F() 230 std::vector<ScreenId> screenIds = {12, 13}; in HWTEST_F() local 236 DMError ret = MultiScreenManager::GetInstance().PhysicalScreenMirrorSwitch(screenIds); in HWTEST_F() 247 std::vector<ScreenId> screenIds = {2, 3}; HWTEST_F() local 259 std::vector<ScreenId> screenIds = {1002, 1003}; HWTEST_F() local 271 std::vector<ScreenId> screenIds = {1002, 1003}; HWTEST_F() local 289 std::vector<ScreenId> screenIds = {1002, 1003}; HWTEST_F() local 307 std::vector<ScreenId> screenIds = {2, 3}; HWTEST_F() local 326 std::vector<ScreenId> screenIds = {2, 3}; HWTEST_F() local 339 std::vector<ScreenId> screenIds = {2, 3}; HWTEST_F() local 352 std::vector<ScreenId> screenIds = {1012, 1002}; HWTEST_F() local 365 std::vector<ScreenId> screenIds = {12, 1001}; HWTEST_F() local 378 std::vector<ScreenId> screenIds = {12, 1002}; HWTEST_F() local 391 std::vector<ScreenId> screenIds = {12, 1003}; HWTEST_F() local 404 std::vector<ScreenId> screenIds = {1003, 1003}; HWTEST_F() local 417 std::vector<ScreenId> screenIds = {1003, 1002}; HWTEST_F() local 430 std::vector<ScreenId> screenIds = {1003, 1001}; HWTEST_F() local 443 std::vector<ScreenId> screenIds = {1004, 1001}; HWTEST_F() local 456 std::vector<ScreenId> screenIds = {1003, 11}; HWTEST_F() local 469 std::vector<ScreenId> screenIds = {1004, 1001}; HWTEST_F() local 481 std::vector<ScreenId> screenIds = {}; HWTEST_F() local 493 std::vector<ScreenId> screenIds = {1001, 1002}; HWTEST_F() local 505 std::vector<ScreenId> screenIds = {}; HWTEST_F() local 518 std::vector<ScreenId> screenIds = {1001, 1002}; HWTEST_F() local 531 std::vector<ScreenId> screenIds = {2, 3}; HWTEST_F() local 544 std::vector<ScreenId> screenIds = {1003, 1002}; HWTEST_F() local 557 std::vector<ScreenId> screenIds = {1003, 2}; HWTEST_F() local [all...] |
/foundation/window/window_manager/utils/test/unittest/ |
H A D | screen_group_info_test.cpp | 57 std::vector<ScreenId> screenIds; in HWTEST_F() local 58 screenIds.push_back(1); in HWTEST_F() 59 screenIds.push_back(2); in HWTEST_F() 60 screenIds.push_back(3); in HWTEST_F() 62 screenGroupInfoSrc.SetChildren(screenIds); in HWTEST_F()
|
/foundation/window/window_manager/window_scene/screen_session_manager/include/ |
H A D | multi_screen_manager.h | 31 DMError VirtualScreenUniqueSwitch(sptr<ScreenSession> screenSession, const std::vector<ScreenId>& screenIds); 33 DMError UniqueSwitch(const std::vector<ScreenId>& screenIds); 35 DMError MirrorSwitch(const ScreenId mainScreenId, const std::vector<ScreenId>& screenIds, 57 DMError VirtualScreenMirrorSwitch(const ScreenId mainScreenId, const std::vector<ScreenId>& screenIds, 60 DMError PhysicalScreenMirrorSwitch(const std::vector<ScreenId>& screenIds); 62 DMError PhysicalScreenUniqueSwitch(const std::vector<ScreenId>& screenIds);
|
H A D | screen_session_manager.h | 120 DMError MakeUniqueScreen(const std::vector<ScreenId>& screenIds) override; 153 std::vector<ScreenId> GetAllValidScreenIds(const std::vector<ScreenId>& screenIds) const; 172 DMError StopScreens(const std::vector<ScreenId>& screenIds, ScreenCombination stopCombination); 283 DMError VirtualScreenUniqueSwitch(const std::vector<ScreenId>& screenIds); 516 void UpdateDisplayState(std::vector<ScreenId> screenIds, DisplayState state);
|
/foundation/window/window_manager/test/systemtest/dms/ |
H A D | screen_manager_test.cpp | 106 virtual void OnChange(const std::vector<ScreenId>& screenIds, ScreenGroupChangeEvent event) override
108 for (auto screenId : screenIds) {
1190 std::vector<ScreenId> screenIds;
in HWTEST_F() local 1191 screenIds.push_back(virtualScreenId);
in HWTEST_F() 1192 ScreenManager::GetInstance().MakeUniqueScreen(screenIds);
in HWTEST_F() 1220 std::vector<ScreenId> screenIds;
in HWTEST_F() local 1221 screenIds.push_back(virtualScreenId);
in HWTEST_F() 1222 ScreenManager::GetInstance().MakeUniqueScreen(screenIds);
in HWTEST_F() 1254 std::vector<ScreenId> screenIds;
in HWTEST_F() local 1255 screenIds in HWTEST_F() 1305 std::vector<ScreenId> screenIds; HWTEST_F() local 1342 std::vector<ScreenId> screenIds; HWTEST_F() local 1379 std::vector<ScreenId> screenIds; HWTEST_F() local 1416 std::vector<ScreenId> screenIds; HWTEST_F() local 1453 std::vector<ScreenId> screenIds; HWTEST_F() local 1490 std::vector<ScreenId> screenIds; HWTEST_F() local 1527 std::vector<ScreenId> screenIds; HWTEST_F() local 1564 std::vector<ScreenId> screenIds; HWTEST_F() local 1601 std::vector<ScreenId> screenIds; HWTEST_F() local 1638 std::vector<ScreenId> screenIds; HWTEST_F() local 1675 std::vector<ScreenId> screenIds; HWTEST_F() local 1712 std::vector<ScreenId> screenIds; HWTEST_F() local 1749 std::vector<ScreenId> screenIds; HWTEST_F() local 1786 std::vector<ScreenId> screenIds; HWTEST_F() local [all...] |
/foundation/window/window_manager/window_scene/screen_session_manager/src/ |
H A D | multi_screen_manager.cpp | 67 const std::vector<ScreenId>& screenIds, ScreenId& screenGroupId) in VirtualScreenMirrorSwitch() 70 static_cast<uint32_t>(screenIds.size())); in VirtualScreenMirrorSwitch() 77 DMError ret = ScreenSessionManager::GetInstance().SetMirror(mainScreenId, screenIds); in VirtualScreenMirrorSwitch() 92 DMError MultiScreenManager::PhysicalScreenMirrorSwitch(const std::vector<ScreenId>& screenIds) in PhysicalScreenMirrorSwitch() argument 100 static_cast<uint32_t>(screenIds.size())); in PhysicalScreenMirrorSwitch() 103 for (ScreenId physicalScreenId : screenIds) { in PhysicalScreenMirrorSwitch() 122 DMError MultiScreenManager::PhysicalScreenUniqueSwitch(const std::vector<ScreenId>& screenIds) in PhysicalScreenUniqueSwitch() argument 125 static_cast<uint32_t>(screenIds.size())); in PhysicalScreenUniqueSwitch() 127 for (ScreenId physicalScreenId : screenIds) { in PhysicalScreenUniqueSwitch() 148 const std::vector<ScreenId>& screenIds) in VirtualScreenUniqueSwitch() 66 VirtualScreenMirrorSwitch(const ScreenId mainScreenId, const std::vector<ScreenId>& screenIds, ScreenId& screenGroupId) VirtualScreenMirrorSwitch() argument 147 VirtualScreenUniqueSwitch(sptr<ScreenSession> screenSession, const std::vector<ScreenId>& screenIds) VirtualScreenUniqueSwitch() argument 188 UniqueSwitch(const std::vector<ScreenId>& screenIds) UniqueSwitch() argument 213 MirrorSwitch(const ScreenId mainScreenId, const std::vector<ScreenId>& screenIds, ScreenId& screenGroupId) MirrorSwitch() argument [all...] |
H A D | screen_session_manager.cpp | 1815 auto screenIds = GetAllScreenIds(); in SetDisplayState() local 1816 if (screenIds.empty()) { in SetDisplayState() 1821 UpdateDisplayState(screenIds, state); in SetDisplayState() 1825 UpdateDisplayState(screenIds, state); in SetDisplayState() 1831 void ScreenSessionManager::UpdateDisplayState(std::vector<ScreenId> screenIds, DisplayState state) in UpdateDisplayState() argument 1833 for (auto screenId : screenIds) { in UpdateDisplayState() 2063 auto screenIds = GetAllScreenIds(); in SetScreenPower() local 2064 if (screenIds.empty()) { in SetScreenPower() 2065 TLOGI(WmsLogTag::DMS, "[UL_POWER]SetScreenPower screenIds empty"); in SetScreenPower() 2085 for (auto screenId : screenIds) { in SetScreenPower() 2685 auto screenIds = GetAllScreenIds(); NotifyDisplayPowerEvent() local 2720 std::vector<ScreenId> screenIds = GetAllScreenIds(); GetAllScreenInfos() local 3150 std::vector<ScreenId> screenIds; DisableMirror() local 3280 StopScreens(const std::vector<ScreenId>& screenIds, ScreenCombination stopCombination) StopScreens() argument 3391 VirtualScreenUniqueSwitch(const std::vector<ScreenId>& screenIds) VirtualScreenUniqueSwitch() argument 3410 MakeUniqueScreen(const std::vector<ScreenId>& screenIds) MakeUniqueScreen() argument 4362 std::vector<ScreenId> screenIds = GetAllScreenIds(); SetPrivacyStateByDisplayId() local 4385 std::vector<ScreenId> screenIds = GetAllScreenIds(); SetScreenPrivacyWindowList() local 4418 std::vector<ScreenId> screenIds = GetAllScreenIds(); HasPrivateWindow() local [all...] |
/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sourceservice/dscreenmgr/1.0/include/ |
H A D | screen_manager_adapter_test.h | 37 void OnChange(const std::vector<uint64_t> &screenIds, Rosen::ScreenGroupChangeEvent event) override 39 (void) screenIds; variable
|
/foundation/CastEngine/castengine_wifi_display/services/impl/screen_capture/mediasource/ |
H A D | video_source_screen.cpp | 24 void VideoSourceScreen::ScreenGroupListener::OnChange(const std::vector<uint64_t> &screenIds, in OnChange() argument 182 std::vector<uint64_t> screenIds; in RemoveScreenFromGroup() local 183 screenIds.push_back(screenId_); in RemoveScreenFromGroup() 184 Rosen::DMError err = Rosen::ScreenManager::GetInstance().RemoveVirtualScreenFromGroup(screenIds); in RemoveScreenFromGroup()
|
H A D | video_source_screen.h | 33 void OnChange(const std::vector<uint64_t> &screenIds, Rosen::ScreenGroupChangeEvent event) override;
|
/foundation/window/window_manager/dm/src/ |
H A D | screen_manager.cpp | 146 std::vector<ScreenId> screenIds;
in OnScreenGroupChange() local 149 screenIds.push_back(screenInfo->GetScreenId());
in OnScreenGroupChange() 154 listener->OnChange(screenIds, groupEvent);
in OnScreenGroupChange() 156 NotifyVirtualScreenGroupChanged(screenInfos[0], trigger, screenIds, groupEvent);
in OnScreenGroupChange() 444 std::vector<ScreenId> screenIds;
in MakeExpand() local 447 if (std::find(screenIds.begin(), screenIds.end(), option.screenId_) != screenIds.end()) {
in MakeExpand() 450 screenIds.emplace_back(option.screenId_);
in MakeExpand() 453 DMError ret = SingletonContainer::Get<ScreenManagerAdapter>().MakeExpand(screenIds, startPoint in MakeExpand() 460 MakeUniqueScreen(const std::vector<ScreenId>& screenIds) MakeUniqueScreen() argument [all...] |
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/common/src/ |
H A D | screen_manager_adapter.cpp | 130 std::vector<uint64_t> screenIds; in RemoveScreenFromGroup() local 131 screenIds.push_back(screenId); in RemoveScreenFromGroup() 132 Rosen::ScreenManager::GetInstance().RemoveVirtualScreenFromGroup(screenIds); in RemoveScreenFromGroup()
|
/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | abstract_screen_controller_test.cpp | 294 std::vector<ScreenId> screenIds {0, 1, 1, 2, 2, 3, 4}; in HWTEST_F() 296 ASSERT_EQ(valid, absController_->GetAllValidScreenIds(screenIds)); in HWTEST_F() 740 std::vector<ScreenId> screenIds; in HWTEST_F() local 744 ASSERT_EQ(false, absController_->MakeExpand(screenIds, startPoints)); in HWTEST_F() 745 ASSERT_EQ(DMError::DM_OK, absController_->StopScreens(screenIds, ScreenCombination::SCREEN_EXPAND)); in HWTEST_F() 755 std::vector<ScreenId> screenIds; in HWTEST_F() local 763 ASSERT_EQ(false, absController_->MakeExpand(screenIds, startPoints)); in HWTEST_F() 764 ASSERT_EQ(DMError::DM_OK, absController_->StopScreens(screenIds, ScreenCombination::SCREEN_EXPAND)); in HWTEST_F() 1113 std::vector<ScreenId> screenIds = {7}; in HWTEST_F() local 1115 DMError ret = absController_->StopScreens(screenIds, stopCombinatio in HWTEST_F() [all...] |
/foundation/window/window_manager/test/fuzztest/dms/screenmanager_fuzzer/ |
H A D | screenmanager_fuzzer.cpp | 46 virtual void OnChange(const std::vector<ScreenId>& screenIds, ScreenGroupChangeEvent event) override 257 std::vector<ScreenId> screenIds = {screenId, screenId, screenId}; in RemoveVirtualScreenFromGroupFuzzTest() local 258 screenManager.RemoveVirtualScreenFromGroup(screenIds); in RemoveVirtualScreenFromGroupFuzzTest() 276 std::vector<ScreenId> screenIds; in MakeMirrorFuzzTest() local 280 screenIds.emplace_back(screenId); in MakeMirrorFuzzTest() 284 screenManager.MakeMirror(screenId, screenIds, screenGroupId); in MakeMirrorFuzzTest()
|
/foundation/distributedhardware/distributed_screen/services/screenservice/test/fuzztest/sourceservice/dscreenmgr/dscreenmanager_fuzzer/ |
H A D | dscreenmanager_fuzzer.cpp | 31 std::vector<uint64_t> screenIds; in OnChangeFuzzTest() local 33 screenIds.emplace_back(screenIdOne); in OnChangeFuzzTest() 36 dScreenGroupListener.OnChange(screenIds, event); in OnChangeFuzzTest()
|
/foundation/window/window_manager/dm/test/unittest/ |
H A D | screen_manager_test.cpp | 468 std::vector<ScreenId> screenIds; in HWTEST_F() local 469 ASSERT_EQ(DMError::DM_OK, ScreenManager::GetInstance().StopExpand(screenIds)); in HWTEST_F() 484 std::vector<ScreenId> screenIds; in HWTEST_F() local 485 ASSERT_EQ(DMError::DM_OK, ScreenManager::GetInstance().StopMirror(screenIds)); in HWTEST_F() 689 std::vector<ScreenId> screenIds; in HWTEST_F() local 690 DMError error = ScreenManager::GetInstance().MakeUniqueScreen(screenIds); in HWTEST_F() 701 std::vector<ScreenId> screenIds; in HWTEST_F() local 703 screenIds.emplace_back(i); in HWTEST_F() 705 DMError error = ScreenManager::GetInstance().MakeUniqueScreen(screenIds); in HWTEST_F() 716 std::vector<ScreenId> screenIds; in HWTEST_F() local [all...] |
/foundation/window/window_manager/test/fuzztest/window_scene/screensessionmanager_fuzzer/ |
H A D | screensessionmanager_fuzzer.cpp | 304 std::vector<ScreenId> screenIds{ in ProxyInterfaceFuzzTestPart3() 307 proxy->MakeMirror(mainScreenId, screenIds, screenGroupId); in ProxyInterfaceFuzzTestPart3() 308 proxy->StopMirror(screenIds); in ProxyInterfaceFuzzTestPart3() 312 proxy->MakeExpand(screenIds, startPoint, screenGroupId); in ProxyInterfaceFuzzTestPart3() 313 proxy->StopExpand(screenIds); in ProxyInterfaceFuzzTestPart3() 314 proxy->RemoveVirtualScreenFromGroup(screenIds); in ProxyInterfaceFuzzTestPart3()
|
/foundation/window/window_manager/dmserver/include/ |
H A D | abstract_screen_controller.h | 53 std::vector<ScreenId> GetAllValidScreenIds(const std::vector<ScreenId>& screenIds) const;
73 bool MakeExpand(std::vector<ScreenId> screenIds, std::vector<Point> startPoints);
74 DMError StopScreens(const std::vector<ScreenId>& screenIds, ScreenCombination stopCombination);
|
/foundation/window/window_manager/interfaces/kits/napi/screen_runtime/napi/ |
H A D | js_screen_manager.cpp | 417 std::vector<ScreenId> screenIds;
in OnMakeMirror() local 425 screenIds.emplace_back(static_cast<ScreenId>(screenId));
in OnMakeMirror() 434 auto asyncTask = [mainScreenId, screenIds, env, task = napiAsyncTask.get()]() {
in OnMakeMirror() 438 SingletonContainer::Get<ScreenManager>().MakeMirror(mainScreenId, screenIds, screenGroupId));
in OnMakeMirror() 604 std::vector<ScreenId> screenIds;
in OnStopMirror() local 612 screenIds.emplace_back(static_cast<ScreenId>(screenId));
in OnStopMirror() 620 auto asyncTask = [screenIds, env, task = napiAsyncTask.get()]() {
in OnStopMirror() 623 SingletonContainer::Get<ScreenManager>().StopMirror(screenIds));
in OnStopMirror() 656 std::vector<ScreenId> screenIds;
in OnStopExpand() local 664 screenIds in OnStopExpand() [all...] |
/foundation/window/window_manager/dmserver/src/ |
H A D | display_dumper.cpp | 160 std::vector<ScreenId> screenIds = abstractScreenController_->GetAllScreenIds(); in DumpAllScreenInfo() local 169 for (ScreenId screenId : screenIds) { in DumpAllScreenInfo() 183 oss << "total screen num: " << screenIds.size() << std::endl; in DumpAllScreenInfo()
|
H A D | abstract_screen_controller.cpp | 87 std::vector<ScreenId> AbstractScreenController::GetAllValidScreenIds(const std::vector<ScreenId>& screenIds) const
in GetAllValidScreenIds() 91 for (ScreenId screenId : screenIds) {
in GetAllValidScreenIds() 1113 DMError AbstractScreenController::StopScreens(const std::vector<ScreenId>& screenIds, ScreenCombination stopCombination)
in StopScreens() argument 1116 for (ScreenId screenId : screenIds) {
in StopScreens() 1224 bool AbstractScreenController::MakeExpand(std::vector<ScreenId> screenIds, std::vector<Point> startPoints)
in MakeExpand() argument 1237 ChangeScreenGroup(group, screenIds, startPoints, filterExpandScreen, ScreenCombination::SCREEN_EXPAND);
in MakeExpand() 1431 auto screenIds = GetAllScreenIds();
in SetScreenPowerForAll() local 1432 if (screenIds.empty()) {
in SetScreenPowerForAll() 1456 for (auto screenId : screenIds) {
in SetScreenPowerForAll()
|
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/2.0/src/ |
H A D | dscreen_manager.cpp | 96 void DScreenGroupListener::OnChange(const std::vector<uint64_t> &screenIds, Rosen::ScreenGroupChangeEvent event) in OnChange() argument 98 DHLOGI("On Screen change, screenIds size: %{public}zu", screenIds.size()); in OnChange() 99 for (uint64_t screenId : screenIds) { in OnChange()
|
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/1.0/include/ |
H A D | dscreen_manager.h | 44 void OnChange(const std::vector<uint64_t> &screenIds, Rosen::ScreenGroupChangeEvent event) override;
|
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/2.0/include/ |
H A D | dscreen_manager.h | 45 void OnChange(const std::vector<uint64_t> &screenIds, Rosen::ScreenGroupChangeEvent event) override;
|
/foundation/window/window_manager/interfaces/innerkits/dm/ |
H A D | screen_manager.h | 139 * @param screenIds Unique screen ids.
142 DMError MakeUniqueScreen(const std::vector<ScreenId>& screenIds);
|