Home
last modified time | relevance | path

Searched refs:screenIds (Results 1 – 21 of 21) sorted by relevance

/foundation/window/window_manager/utils/test/unittest/
Dscreen_group_info_test.cpp57 std::vector<ScreenId> screenIds; variable
58 screenIds.push_back(1);
59 screenIds.push_back(2);
60 screenIds.push_back(3);
62 screenGroupInfoSrc.SetChildren(screenIds);
/foundation/distributedhardware/distributed_screen/services/screenservice/test/fuzztest/sourceservice/dscreenmgr/onchange_fuzzer/
Donchange_fuzzer.cpp31 std::vector<uint64_t> screenIds; in OnChangeFuzzTest() local
33 screenIds.emplace_back(screenIdOne); in OnChangeFuzzTest()
36 dScreenGroupListener.OnChange(screenIds, event); in OnChangeFuzzTest()
/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sourceservice/dscreenmgr/1.0/include/
Dscreen_manager_adapter_test.h36 …void OnChange(const std::vector<uint64_t> &screenIds, Rosen::ScreenGroupChangeEvent event) override in OnChange() argument
38 (void) screenIds; in OnChange()
/foundation/window/window_manager/dm/src/
Dscreen_manager.cpp144 std::vector<ScreenId> screenIds; in OnScreenGroupChange() local
147 screenIds.push_back(screenInfo->GetScreenId()); in OnScreenGroupChange()
152 listener->OnChange(screenIds, groupEvent); in OnScreenGroupChange()
154 NotifyVirtualScreenGroupChanged(screenInfos[0], trigger, screenIds, groupEvent); in OnScreenGroupChange()
440 std::vector<ScreenId> screenIds; in MakeExpand() local
443 if (std::find(screenIds.begin(), screenIds.end(), option.screenId_) != screenIds.end()) { in MakeExpand()
446 screenIds.emplace_back(option.screenId_); in MakeExpand()
449 …DMError ret = SingletonContainer::Get<ScreenManagerAdapter>().MakeExpand(screenIds, startPoints, s… in MakeExpand()
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/common/src/
Dscreen_manager_adapter.cpp120 std::vector<uint64_t> screenIds; in RemoveScreenFromGroup() local
121 screenIds.push_back(screenId); in RemoveScreenFromGroup()
122 Rosen::ScreenManager::GetInstance().RemoveVirtualScreenFromGroup(screenIds); in RemoveScreenFromGroup()
/foundation/window/window_manager/test/fuzztest/dms/screenmanager_fuzzer/
Dscreenmanager_fuzzer.cpp46 …virtual void OnChange(const std::vector<ScreenId>& screenIds, ScreenGroupChangeEvent event) overri… in OnChange() argument
256 std::vector<ScreenId> screenIds = {screenId, screenId, screenId}; in RemoveVirtualScreenFromGroupFuzzTest() local
257 screenManager.RemoveVirtualScreenFromGroup(screenIds); in RemoveVirtualScreenFromGroupFuzzTest()
275 std::vector<ScreenId> screenIds; in MakeMirrorFuzzTest() local
279 screenIds.emplace_back(screenId); in MakeMirrorFuzzTest()
283 screenManager.MakeMirror(screenId, screenIds, screenGroupId); in MakeMirrorFuzzTest()
/foundation/window/window_manager/dmserver/test/unittest/
Dabstract_screen_controller_test.cpp228 std::vector<ScreenId> screenIds {0, 1, 1, 2, 2, 3, 4}; variable
230 ASSERT_EQ(valid, absController_->GetAllValidScreenIds(screenIds));
590 std::vector<ScreenId> screenIds; variable
594 ASSERT_EQ(false, absController_->MakeExpand(screenIds, startPoints));
595 …ASSERT_EQ(DMError::DM_OK, absController_->StopScreens(screenIds, ScreenCombination::SCREEN_EXPAND)…
605 std::vector<ScreenId> screenIds; variable
613 ASSERT_EQ(false, absController_->MakeExpand(screenIds, startPoints));
614 …ASSERT_EQ(DMError::DM_OK, absController_->StopScreens(screenIds, ScreenCombination::SCREEN_EXPAND)…
/foundation/window/window_manager/dmserver/include/
Dabstract_screen_controller.h53 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/
Djs_screen_manager.cpp368 std::vector<ScreenId> screenIds; in OnMakeMirror() local
376 screenIds.emplace_back(static_cast<ScreenId>(screenId)); in OnMakeMirror()
380 [mainScreenId, screenIds](NativeEngine& engine, AsyncTask& task, int32_t status) { in OnMakeMirror()
383 … SingletonContainer::Get<ScreenManager>().MakeMirror(mainScreenId, screenIds, screenGroupId)); in OnMakeMirror()
476 std::vector<ScreenId> screenIds; in OnStopMirror() local
484 screenIds.emplace_back(static_cast<ScreenId>(screenId)); in OnStopMirror()
488 [ screenIds](NativeEngine& engine, AsyncTask& task, int32_t status) { in OnStopMirror()
490 SingletonContainer::Get<ScreenManager>().StopMirror(screenIds)); in OnStopMirror()
529 std::vector<ScreenId> screenIds; in OnStopExpand() local
537 screenIds.emplace_back(static_cast<ScreenId>(screenId)); in OnStopExpand()
[all …]
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/2.0/include/
Ddscreen_manager.h45 …void OnChange(const std::vector<uint64_t> &screenIds, Rosen::ScreenGroupChangeEvent event) overrid…
/foundation/window/window_manager/dmserver/src/
Ddisplay_dumper.cpp135 std::vector<ScreenId> screenIds = abstractScreenController_->GetAllScreenIds(); in DumpAllScreenInfo() local
144 for (ScreenId screenId : screenIds) { in DumpAllScreenInfo()
158 oss << "total screen num: " << screenIds.size() << std::endl; in DumpAllScreenInfo()
Dabstract_screen_controller.cpp84 …eenId> AbstractScreenController::GetAllValidScreenIds(const std::vector<ScreenId>& screenIds) const in GetAllValidScreenIds()
88 for (ScreenId screenId : screenIds) { in GetAllValidScreenIds()
1035 DMError AbstractScreenController::StopScreens(const std::vector<ScreenId>& screenIds, ScreenCombina… in StopScreens() argument
1037 for (ScreenId screenId : screenIds) { in StopScreens()
1145 bool AbstractScreenController::MakeExpand(std::vector<ScreenId> screenIds, std::vector<Point> start… in MakeExpand() argument
1158 …ChangeScreenGroup(group, screenIds, startPoints, filterExpandScreen, ScreenCombination::SCREEN_EXP… in MakeExpand()
1352 auto screenIds = GetAllScreenIds(); in SetScreenPowerForAll() local
1353 if (screenIds.empty()) { in SetScreenPowerForAll()
1377 for (auto screenId : screenIds) { in SetScreenPowerForAll()
Ddisplay_manager_service.cpp633 std::vector<ScreenId> screenIds = abstractScreenController_->GetAllScreenIds(); in GetAllScreenInfos() local
634 for (auto screenId: screenIds) { in GetAllScreenInfos()
/foundation/window/window_manager/dm/test/unittest/
Dscreen_manager_test.cpp444 std::vector<ScreenId> screenIds; variable
445 ASSERT_EQ(DMError::DM_OK, ScreenManager::GetInstance().StopExpand(screenIds));
460 std::vector<ScreenId> screenIds; variable
461 ASSERT_EQ(DMError::DM_OK, ScreenManager::GetInstance().StopMirror(screenIds));
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/2.0/src/
Ddscreen_manager.cpp111 void DScreenGroupListener::OnChange(const std::vector<uint64_t> &screenIds, Rosen::ScreenGroupChang… in OnChange() argument
113 DHLOGI("On Screen change, screenIds size: %" PRId32, screenIds.size()); in OnChange()
114 for (uint64_t screenId : screenIds) { in OnChange()
/foundation/window/window_manager/window_scene/session_manager/src/
Dscreen_session_manager.cpp559 auto screenIds = GetAllScreenIds(); in SetScreenPowerForAll() local
560 if (screenIds.empty()) { in SetScreenPowerForAll()
581 for (auto screenId : screenIds) { in SetScreenPowerForAll()
849 std::vector<ScreenId> screenIds = GetAllScreenIds(); in GetAllScreenInfos() local
850 for (auto screenId: screenIds) { in GetAllScreenInfos()
1519 …<ScreenId> ScreenSessionManager::GetAllValidScreenIds(const std::vector<ScreenId>& screenIds) const in GetAllValidScreenIds()
1522 for (ScreenId screenId : screenIds) { in GetAllValidScreenIds()
1628 std::vector<ScreenId> screenIds = GetAllScreenIds(); in HasPrivateWindow() local
1629 auto iter = std::find(screenIds.begin(), screenIds.end(), id); in HasPrivateWindow()
1630 if (iter == screenIds.end()) { in HasPrivateWindow()
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/1.0/include/
Ddscreen_manager.h44 …void OnChange(const std::vector<uint64_t> &screenIds, Rosen::ScreenGroupChangeEvent event) overrid…
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/1.0/src/
Ddscreen_manager.cpp95 void DScreenGroupListener::OnChange(const std::vector<uint64_t> &screenIds, Rosen::ScreenGroupChang… in OnChange() argument
97 DHLOGI("On Screen change, screenIds size: %" PRId32, screenIds.size()); in OnChange()
98 for (uint64_t screenId : screenIds) { in OnChange()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
Drs_render_service_connection_proxy.cpp285 std::vector<ScreenId> screenIds; in GetAllScreenIds() local
301 if (len > readableSize || len > screenIds.max_size()) { in GetAllScreenIds()
304 return screenIds; in GetAllScreenIds()
307 screenIds.emplace_back(reply.ReadUint64()); in GetAllScreenIds()
310 return screenIds; in GetAllScreenIds()
/foundation/window/window_manager/window_scene/session_manager/include/
Dscreen_session_manager.h122 std::vector<ScreenId> GetAllValidScreenIds(const std::vector<ScreenId>& screenIds) const;
/foundation/window/window_manager/test/systemtest/dms/
Dscreen_manager_test.cpp95 …virtual void OnChange(const std::vector<ScreenId>& screenIds, ScreenGroupChangeEvent event) overri… in OnChange() argument
97 for (auto screenId : screenIds) { in OnChange()