Home
last modified time | relevance | path

Searched refs:mirrorScreenIds (Results 1 - 20 of 20) sorted by relevance

/foundation/window/window_manager/dmserver/test/unittest/
H A Ddisplay_manager_service_test.cpp359 std::vector<ScreenId> mirrorScreenIds; in HWTEST_F() local
361 dms_->MakeMirror(DISPLAY_ID_INVALID, mirrorScreenIds, screenGroupId1); in HWTEST_F()
363 ASSERT_EQ(DMError::DM_OK, dms_->StopMirror(mirrorScreenIds)); in HWTEST_F()
522 std::vector<ScreenId> mirrorScreenIds = { 2 }; in HWTEST_F() local
527 DMError ret = dms_->MakeMirror(mainScreenId, mirrorScreenIds, screenGroupId); in HWTEST_F()
539 std::vector<ScreenId> mirrorScreenIds = { 2 }; in HWTEST_F() local
543 DMError ret = dms_->StopMirror(mirrorScreenIds); in HWTEST_F()
/foundation/window/window_manager/dmserver/include/
H A Ddisplay_manager_service.h99 DMError MakeMirror(ScreenId mainScreenId, std::vector<ScreenId> mirrorScreenIds, ScreenId& screenGroupId) override;
102 DMError StopMirror(const std::vector<ScreenId>& mirrorScreenIds) override;
H A Ddisplay_manager_interface.h138 virtual DMError MakeMirror(ScreenId mainScreenId, std::vector<ScreenId> mirrorScreenIds,
152 virtual DMError StopMirror(const std::vector<ScreenId>& mirrorScreenIds) = 0;
H A Ddisplay_manager_proxy.h86 DMError StopMirror(const std::vector<ScreenId>& mirrorScreenIds) override;
/foundation/window/window_manager/interfaces/innerkits/dm/
H A Dscreen_manager.h155 * @param mirrorScreenIds Mirror screen ids.
158 DMError StopMirror(const std::vector<ScreenId>& mirrorScreenIds);
/foundation/window/window_manager/dmserver/src/
H A Ddisplay_manager_service.cpp527 DMError DisplayManagerService::MakeMirror(ScreenId mainScreenId, std::vector<ScreenId> mirrorScreenIds, in MakeMirror() argument
535 auto allMirrorScreenIds = abstractScreenController_->GetAllValidScreenIds(mirrorScreenIds); in MakeMirror()
560 DMError DisplayManagerService::StopMirror(const std::vector<ScreenId>& mirrorScreenIds) in StopMirror() argument
567 auto allMirrorScreenIds = abstractScreenController_->GetAllValidScreenIds(mirrorScreenIds); in StopMirror()
H A Ddisplay_manager_stub.cpp404 std::vector<ScreenId> mirrorScreenIds; in OnRemoteRequest() local
405 if (!data.ReadUInt64Vector(&mirrorScreenIds)) { in OnRemoteRequest()
409 DMError ret = StopMirror(mirrorScreenIds); in OnRemoteRequest()
H A Ddisplay_manager_proxy.cpp1320 DMError DisplayManagerProxy::StopMirror(const std::vector<ScreenId>& mirrorScreenIds) in StopMirror() argument
1335 bool res = data.WriteUInt64Vector(mirrorScreenIds); in StopMirror()
/foundation/window/window_manager/window_scene/screen_session_manager/include/
H A Dscreen_session_manager.h109 virtual DMError MakeMirror(ScreenId mainScreenId, std::vector<ScreenId> mirrorScreenIds,
115 virtual DMError StopMirror(const std::vector<ScreenId>& mirrorScreenIds) override;
374 void SetMirrorScreenIds(std::vector<ScreenId>& mirrorScreenIds);
514 void RegisterCastObserver(std::vector<ScreenId>& mirrorScreenIds);
/foundation/window/window_manager/window_scene/screen_session_manager/include/zidl/
H A Dscreen_session_manager_interface.h110 virtual DMError MakeMirror(ScreenId mainScreenId, std::vector<ScreenId> mirrorScreenIds,
118 virtual DMError StopMirror(const std::vector<ScreenId>& mirrorScreenIds) override { return DMError::DM_OK; }
H A Dscreen_session_manager_proxy.h86 virtual DMError MakeMirror(ScreenId mainScreenId, std::vector<ScreenId> mirrorScreenIds,
92 virtual DMError StopMirror(const std::vector<ScreenId>& mirrorScreenIds) override;
/foundation/window/window_manager/dm/src/
H A Dscreen_manager.cpp520 DMError ScreenManager::StopMirror(const std::vector<ScreenId>& mirrorScreenIds) in StopMirror() argument
523 if (mirrorScreenIds.empty()) { in StopMirror()
526 return SingletonContainer::Get<ScreenManagerAdapter>().StopMirror(mirrorScreenIds); in StopMirror()
H A Ddisplay_manager_adapter.cpp500 DMError ScreenManagerAdapter::StopMirror(const std::vector<ScreenId>& mirrorScreenIds) in StopMirror() argument
504 return displayManagerServiceProxy_->StopMirror(mirrorScreenIds); in StopMirror()
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_manager_proxy_test.cpp920 std::vector<ScreenId> mirrorScreenIds = {1003, 1004, 1005}; in HWTEST_F() local
924 screenSessionManagerProxy->MakeMirror(Id, mirrorScreenIds, screenGroupId)); in HWTEST_F()
927 screenSessionManagerProxy->MakeMirror(Id, mirrorScreenIds, screenGroupId)); in HWTEST_F()
942 const std::vector<ScreenId> mirrorScreenIds = {1003, 1004, 1005}; in HWTEST_F() local
945 screenSessionManagerProxy->StopMirror(mirrorScreenIds)); in HWTEST_F()
948 screenSessionManagerProxy->StopMirror(mirrorScreenIds)); in HWTEST_F()
H A Dscreen_session_manager_test.cpp1000 std::vector<ScreenId> mirrorScreenIds; in HWTEST_F() local
1003 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, ssm_->MakeMirror(mainScreenId, mirrorScreenIds, screenGroupId)); in HWTEST_F()
1004 mirrorScreenIds.push_back(VIRTUAL_SCREEN_ID); in HWTEST_F()
1005 ASSERT_NE(DMError::DM_OK, ssm_->MakeMirror(mainScreenId, mirrorScreenIds, screenGroupId)); in HWTEST_F()
1434 std::vector<ScreenId> mirrorScreenIds; in HWTEST_F() local
1437 ASSERT_NE(DMError::DM_ERROR_RENDER_SERVICE_FAILED, ssm_->MakeExpand(mirrorScreenIds, startPoints, screenGroupId2)); in HWTEST_F()
2373 std::vector<ScreenId> mirrorScreenIds {0, 1, 2, 3, 4, 5}; in HWTEST_F()
2374 EXPECT_EQ(DMError::DM_OK, ssm_->StopMirror(mirrorScreenIds)); in HWTEST_F()
/foundation/window/window_manager/dm/test/unittest/
H A Ddisplay_manager_adapter_test.cpp614 std::vector<ScreenId> mirrorScreenIds; in HWTEST_F() local
615 DMError err = SingletonContainer::Get<ScreenManagerAdapter>().StopMirror(mirrorScreenIds); in HWTEST_F()
/foundation/window/window_manager/window_scene/screen_session_manager/src/zidl/
H A Dscreen_session_manager_stub.cpp302 std::vector<ScreenId> mirrorScreenIds; in OnRemoteRequest() local
303 if (!data.ReadUInt64Vector(&mirrorScreenIds)) { in OnRemoteRequest()
307 DMError ret = StopMirror(mirrorScreenIds); in OnRemoteRequest()
H A Dscreen_session_manager_proxy.cpp1242 std::vector<ScreenId> mirrorScreenIds, ScreenId& screenGroupId) in MakeMirror()
1259 data.WriteUInt64Vector(mirrorScreenIds); in MakeMirror()
1339 DMError ScreenSessionManagerProxy::StopMirror(const std::vector<ScreenId>& mirrorScreenIds) in StopMirror() argument
1354 bool res = data.WriteUInt64Vector(mirrorScreenIds); in StopMirror()
1241 MakeMirror(ScreenId mainScreenId, std::vector<ScreenId> mirrorScreenIds, ScreenId& screenGroupId) MakeMirror() argument
/foundation/window/window_manager/dm/include/
H A Ddisplay_manager_adapter.h127 virtual DMError StopMirror(const std::vector<ScreenId>& mirrorScreenIds);
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_session_manager.cpp3172 DMError ScreenSessionManager::MakeMirror(ScreenId mainScreenId, std::vector<ScreenId> mirrorScreenIds, in MakeMirror() argument
3187 auto allMirrorScreenIds = GetAllValidScreenIds(mirrorScreenIds); in MakeMirror()
3211 void ScreenSessionManager::RegisterCastObserver(std::vector<ScreenId>& mirrorScreenIds) in RegisterCastObserver() argument
3213 mirrorScreenIds_ = mirrorScreenIds; in RegisterCastObserver()
3256 DMError ScreenSessionManager::StopMirror(const std::vector<ScreenId>& mirrorScreenIds) in StopMirror() argument
3263 auto allMirrorScreenIds = GetAllValidScreenIds(mirrorScreenIds); in StopMirror()

Completed in 38 milliseconds