Home
last modified time | relevance | path

Searched refs:mapRelation (Results 1 - 7 of 7) sorted by relevance

/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/common/src/
H A Dscreen_manager_adapter.cpp161 std::shared_ptr<DScreenMapRelation> mapRelation = std::make_shared<DScreenMapRelation>(); in GetMapRelation() local
172 mapRelation->SetDisplayId(display->GetId()); in GetMapRelation()
173 mapRelation->SetScreenId(screenId); in GetMapRelation()
179 mapRelation->SetDisplayRect(displayRect); in GetMapRelation()
180 mapRelation->SetScreenRect(screenRect); in GetMapRelation()
181 return mapRelation; in GetMapRelation()
/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sinkservice/screenregionmgr/1.0/src/
H A Dscreenregion_test.cpp63 std::shared_ptr<DScreenMapRelation> mapRelation = std::make_shared<DScreenMapRelation>(); in HWTEST_F() local
64 screenRegion_->SetMapRelation(mapRelation); in HWTEST_F()
65 EXPECT_EQ(mapRelation, screenRegion_->mapRelation_); in HWTEST_F()
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/1.0/src/
H A Dscreenregion.cpp58 void ScreenRegion::SetMapRelation(std::shared_ptr<DScreenMapRelation> &mapRelation) in SetMapRelation() argument
60 mapRelation_ = mapRelation; in SetMapRelation()
99 DHLOGE("ScreenRegion::SetUp mapRelation is nullptr."); in SetUpWindow()
H A Dscreenregionmgr.cpp150 std::shared_ptr<DScreenMapRelation> mapRelation = in HandleNotifySetUp() local
156 screenRegion->SetMapRelation(mapRelation); in HandleNotifySetUp()
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/1.0/include/
H A Dscreenregion.h48 void SetMapRelation(std::shared_ptr<DScreenMapRelation> &mapRelation);
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/2.0/src/
H A Ddscreen.cpp474 auto mapRelation = ScreenMgrAdapter::GetInstance().GetMapRelation(screenId_); in SetUp() local
475 if (mapRelation == nullptr) { in SetUp()
479 DisplayRect displayRect = mapRelation->GetDisplayRect(); in SetUp()
487 paramJson[KEY_MAPRELATION] = *mapRelation; in SetUp()
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/1.0/src/
H A Ddscreen_manager.cpp141 std::shared_ptr<DScreenMapRelation> mapRelation = ScreenMgrAdapter::GetInstance().GetMapRelation(screenId); in AddToGroup() local
142 if (mapRelation == nullptr) { in AddToGroup()
143 DHLOGE("mapRelation construct failed. screenId: %{public}" PRIu64, screenId); in AddToGroup()
152 DisplayRect displayRect = mapRelation->GetDisplayRect(); in AddToGroup()
159 mapRelations_[screenId] = mapRelation; in AddToGroup()
494 DHLOGE("mapRelation not found, back to enabled state screedId: %{public}" PRIu64, dScreen->GetScreenId()); in NotifyRemoteSinkSetUp()

Completed in 7 milliseconds