/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | multi_screen_manager_test.cpp | 95 ScreenSessionManager::GetInstance().screenSessionMap_[mainScreenId] = session; in HWTEST_F() 111 ScreenSessionManager::GetInstance().screenSessionMap_[mainScreenId] = session; in HWTEST_F() 184 ScreenSessionManager::GetInstance().screenSessionMap_[ in HWTEST_F() 199 ScreenSessionManager::GetInstance().screenSessionMap_[ in HWTEST_F() 202 ScreenSessionManager::GetInstance().screenSessionMap_[1002] = session1; in HWTEST_F() 216 ScreenSessionManager::GetInstance().screenSessionMap_[ in HWTEST_F() 232 ScreenSessionManager::GetInstance().screenSessionMap_[ in HWTEST_F() 235 ScreenSessionManager::GetInstance().screenSessionMap_[12] = session1; in HWTEST_F() 273 ScreenSessionManager::GetInstance().screenSessionMap_[ in HWTEST_F() 276 ScreenSessionManager::GetInstance().screenSessionMap_[ in HWTEST_F() [all...] |
H A D | screen_session_manager_test.cpp | 448 ssm_->screenSessionMap_.insert(std::make_pair(id, session)); in HWTEST_F() 451 ssm_->screenSessionMap_.erase(0); in HWTEST_F() 908 ssm_->screenSessionMap_[id] = screenSession; in HWTEST_F() 922 ssm_->screenSessionMap_[id] = screenSession; in HWTEST_F() 937 ssm_->screenSessionMap_[id] = screenSession; in HWTEST_F() 951 ssm_->screenSessionMap_[id] = screenSession; in HWTEST_F() 968 ssm_->screenSessionMap_[id] = screenSession; in HWTEST_F() 1357 ssm_->screenSessionMap_[screenId] = screenSession; in HWTEST_F() 1377 ssm_->screenSessionMap_[id] = screenSession; in HWTEST_F() 1537 std::map<ScreenId, sptr<ScreenSession>> screenSessionMap_{ in HWTEST_F() [all...] |
H A D | screen_session_manager_client_test.cpp | 100 screenSessionManagerClient_->screenSessionMap_.emplace(screenId, screenSession); in HWTEST_F() 105 screenSessionManagerClient_->screenSessionMap_.clear(); in HWTEST_F() 261 screenSessionManagerClient_->screenSessionMap_.emplace(screenId, screenSession); in HWTEST_F() 278 screenSessionManagerClient_->screenSessionMap_.clear(); in HWTEST_F() 281 screenSessionManagerClient_->screenSessionMap_.emplace(screenId, screenSession); in HWTEST_F() 412 screenSessionManagerClient_->screenSessionMap_.emplace(screenId, screenSession); in HWTEST_F() 440 screenSessionManagerClient_->screenSessionMap_.clear(); in HWTEST_F() 1061 screenSessionManagerClient_->screenSessionMap_.emplace(screenId, screenSession); in HWTEST_F() 1066 screenSessionManagerClient_->screenSessionMap_.clear(); in HWTEST_F() 1206 screenSessionManagerClient_->screenSessionMap_ in HWTEST_F() [all...] |
H A D | dual_display_fold_policy_test.cpp | 100 ssm_.screenSessionMap_[screenId] = session; in HWTEST_F()
|
/foundation/window/window_manager/window_scene/screen_session_manager_client/src/ |
H A D | screen_session_manager_client.cpp | 123 screenSessionMap_.emplace(screenId, screenSession); in OnScreenConnectionChanged() 147 screenSessionMap_.erase(screenId); in OnScreenConnectionChanged() 165 auto iter = screenSessionMap_.find(screenId); in GetScreenSession() 166 if (iter == screenSessionMap_.end()) { in GetScreenSession() 188 if (screenSessionMap_.empty()) { in OnPowerStatusChanged() 189 WLOGFE("[UL_POWER]screenSessionMap_ is nullptr"); in OnPowerStatusChanged() 192 auto screenSession = screenSessionMap_.begin()->second; in OnPowerStatusChanged() 289 for (const auto& iter: screenSessionMap_) { in GetAllScreensProperties() 437 for (const auto& iter : screenSessionMap_) { in SwitchUserCallback() 508 auto iter = screenSessionMap_ in GetScreenSessionById() [all...] |
/foundation/window/window_manager/window_scene/session/screen/src/ |
H A D | screen_session.cpp | 1211 screenSessionMap_.clear(); in ~ScreenSessionGroup() 1264 auto iter = screenSessionMap_.find(screenId); in AddChild() 1265 if (iter != screenSessionMap_.end()) { in AddChild() 1266 WLOGE("AddChild, screenSessionMap_ has smsScreen:%{public}" PRIu64"", screenId); in AddChild() 1276 screenSessionMap_.insert(std::make_pair(screenId, std::make_pair(smsScreen, startPoint))); in AddChild() 1312 return screenSessionMap_.erase(screenId); in RemoveChild() 1317 return screenSessionMap_.find(childScreen) != screenSessionMap_.end(); in HasChild() 1323 for (auto iter = screenSessionMap_.begin(); iter != screenSessionMap_ in GetChildren() [all...] |
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_dirty_manager_test2.cpp | 407 ScreenSessionManagerClient::GetInstance().screenSessionMap_.insert(std::make_pair(screenId, screenSession)); in HWTEST_F() 446 ScreenSessionManagerClient::GetInstance().screenSessionMap_.clear(); in HWTEST_F() 447 ScreenSessionManagerClient::GetInstance().screenSessionMap_.insert(std::make_pair(screenId, screenSession)); in HWTEST_F() 486 ScreenSessionManagerClient::GetInstance().screenSessionMap_.insert(std::make_pair(screenId, screenSession)); in HWTEST_F() 523 ScreenSessionManagerClient::GetInstance().screenSessionMap_.insert(std::make_pair(screenId, screenSession)); in HWTEST_F() 560 ScreenSessionManagerClient::GetInstance().screenSessionMap_.insert(std::make_pair(screenId, screenSession)); in HWTEST_F()
|
H A D | scene_session_test5.cpp | 173 ScreenSessionManagerClient::GetInstance().screenSessionMap_.clear(); in HWTEST_F() 174 ScreenSessionManagerClient::GetInstance().screenSessionMap_.insert(std::make_pair(2024, screenSession)); in HWTEST_F() 177 ScreenSessionManagerClient::GetInstance().screenSessionMap_.clear(); in HWTEST_F() 215 ScreenSessionManagerClient::GetInstance().screenSessionMap_.clear(); in HWTEST_F() 216 ScreenSessionManagerClient::GetInstance().screenSessionMap_.insert(std::make_pair(2024, screenSession)); in HWTEST_F() 218 ScreenSessionManagerClient::GetInstance().screenSessionMap_.clear(); in HWTEST_F() 693 ScreenSessionManagerClient::GetInstance().screenSessionMap_.clear(); in HWTEST_F()
|
H A D | scene_session_dirty_manager_test.cpp | 248 Rosen::ScreenSessionManagerClient::GetInstance().screenSessionMap_.emplace(screenId, screenSession); in HWTEST_F() 596 Rosen::ScreenSessionManagerClient::GetInstance().screenSessionMap_.emplace(screenId, screenSession); in HWTEST_F() 601 Rosen::ScreenSessionManagerClient::GetInstance().screenSessionMap_.emplace(screenId, screenSession); in HWTEST_F()
|
H A D | session_test3.cpp | 1096 ScreenSessionManagerClient::GetInstance().screenSessionMap_.insert(std::make_pair(0, screenSession)); in HWTEST_F() 1099 ScreenSessionManagerClient::GetInstance().screenSessionMap_.clear(); in HWTEST_F() 1101 ScreenSessionManagerClient::GetInstance().screenSessionMap_.insert(std::make_pair(0, screenSession)); in HWTEST_F() 1123 ScreenSessionManagerClient::GetInstance().screenSessionMap_.clear(); in HWTEST_F()
|
H A D | keyboard_session_test.cpp | 1396 ScreenSessionManagerClient::GetInstance().screenSessionMap_.emplace(100, screenSession); in HWTEST_F()
|
/foundation/window/window_manager/window_scene/screen_session_manager_client/include/ |
H A D | screen_session_manager_client.h | 110 std::map<ScreenId, sptr<ScreenSession>> screenSessionMap_; member in OHOS::Rosen::ScreenSessionManagerClient
|
/foundation/window/window_manager/window_scene/screen_session_manager/src/ |
H A D | screen_session_manager.cpp | 839 screenSessionMap_.erase(screenId); in HandleScreenDisconnectEvent() 866 if (screenSessionMap_.empty()) { in GetScreenSession() 869 auto iter = screenSessionMap_.find(screenId); in GetScreenSession() 870 if (iter == screenSessionMap_.end()) { in GetScreenSession() 945 for (auto sessionIt : screenSessionMap_) { in GetDisplayInfoById() 971 for (auto sessionIt : screenSessionMap_) { in GetDisplayInfoByScreen() 996 for (auto sessionIt : screenSessionMap_) { in GetAllDisplayIds() 1530 screenSessionMap_[screenId] = session; in GetOrCreateScreenSession() 1677 for (auto sessionIt : screenSessionMap_) { in GetInternalScreenId() 1708 for (auto sessionIt : screenSessionMap_) { in SetScreenPowerById() [all...] |
/foundation/window/window_manager/window_scene/session/screen/include/ |
H A D | screen_session.h | 290 std::map<ScreenId, std::pair<sptr<ScreenSession>, Point>> screenSessionMap_; member in OHOS::Rosen::ScreenSessionGroup
|
/foundation/window/window_manager/window_scene/screen_session_manager/include/ |
H A D | screen_session_manager.h | 430 std::map<ScreenId, sptr<ScreenSession>> screenSessionMap_; member in OHOS::Rosen::ScreenSessionManager
|