/foundation/window/window_manager/utils/test/unittest/ |
D | screen_group_info_test.cpp | 57 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/ |
D | onchange_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/distributedhardware/distributed_screen/services/screenservice/test/unittest/sourceservice/dscreenmgr/1.0/include/ |
D | screen_manager_adapter_test.h | 36 …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/ |
D | screen_manager.cpp | 144 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/ |
D | screen_manager_adapter.cpp | 120 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/ |
D | screenmanager_fuzzer.cpp | 46 …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/ |
D | abstract_screen_controller_test.cpp | 228 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/ |
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/ |
D | js_screen_manager.cpp | 368 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/ |
D | dscreen_manager.h | 45 …void OnChange(const std::vector<uint64_t> &screenIds, Rosen::ScreenGroupChangeEvent event) overrid…
|
/foundation/window/window_manager/dmserver/src/ |
D | display_dumper.cpp | 135 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()
|
D | abstract_screen_controller.cpp | 84 …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()
|
D | display_manager_service.cpp | 633 std::vector<ScreenId> screenIds = abstractScreenController_->GetAllScreenIds(); in GetAllScreenInfos() local 634 for (auto screenId: screenIds) { in GetAllScreenInfos()
|
/foundation/window/window_manager/dm/test/unittest/ |
D | screen_manager_test.cpp | 444 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/ |
D | dscreen_manager.cpp | 111 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/ |
D | screen_session_manager.cpp | 559 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/ |
D | dscreen_manager.h | 44 …void OnChange(const std::vector<uint64_t> &screenIds, Rosen::ScreenGroupChangeEvent event) overrid…
|
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/1.0/src/ |
D | dscreen_manager.cpp | 95 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/ |
D | rs_render_service_connection_proxy.cpp | 285 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/ |
D | screen_session_manager.h | 122 std::vector<ScreenId> GetAllValidScreenIds(const std::vector<ScreenId>& screenIds) const;
|
/foundation/window/window_manager/test/systemtest/dms/ |
D | screen_manager_test.cpp | 95 …virtual void OnChange(const std::vector<ScreenId>& screenIds, ScreenGroupChangeEvent event) overri… in OnChange() argument 97 for (auto screenId : screenIds) { in OnChange()
|