Searched refs:osAccountsInfoMap_ (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_priority_manager/ |
H A D | multi_account_manager.cpp | 213 std::map<int, std::shared_ptr<AccountBundleInfo>> &osAccountsInfoMap_) in GetAccountBundleInfo() argument 215 …std::map<int, std::shared_ptr<AccountBundleInfo>>::iterator iter = osAccountsInfoMap_.find(account… in GetAccountBundleInfo() 216 if (iter != osAccountsInfoMap_.end()) { in GetAccountBundleInfo() 223 std::map<int, std::shared_ptr<AccountBundleInfo>> &osAccountsInfoMap_) in KillProcessesOfAccount() argument 225 …red_ptr<AccountBundleInfo> accountBundleInfo = GetAccountBundleInfo(accountId, osAccountsInfoMap_); in KillProcessesOfAccount() 244 std::map<int, std::shared_ptr<AccountBundleInfo>> &osAccountsInfoMap_) in HandleAccountColdSwitch() argument 248 KillProcessesOfAccount(accountId, osAccountsInfoMap_); in HandleAccountColdSwitch() 257 std::map<int, std::shared_ptr<AccountBundleInfo>> &osAccountsInfoMap_) in HandleAccountHotSwitch() argument 260 …red_ptr<AccountBundleInfo> accountBundleInfo = GetAccountBundleInfo(accountId, osAccountsInfoMap_); in HandleAccountHotSwitch() 307 return HandleAccountColdSwitch(switchedAccountIds, osAccountsInfoMap_); in HandleOsAccountsChanged() [all …]
|
H A D | reclaim_priority_manager.cpp | 321 if (osAccountsInfoMap_.find(accountId) == osAccountsInfoMap_.end()) { in IsOsAccountExist() 346 auto iter = osAccountsInfoMap_.find(accountId); in FindOsAccountById() 347 if (iter != osAccountsInfoMap_.end()) { in FindOsAccountById() 358 osAccountsInfoMap_.erase(accountId); in RemoveOsAccountById() 363 osAccountsInfoMap_.insert(std::make_pair(account->id_, account)); in AddOsAccountInfo() 1216 …ltiAccountManager::GetInstance().HandleOsAccountsChanged(accountId, switchMod, osAccountsInfoMap_); in UpdateAllPrioForOsAccountChanged() 1226 totalBundlePrioSet_.size(), osAccountsInfoMap_.size()); in Reset() 1228 osAccountsInfoMap_.clear(); in Reset()
|
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/include/reclaim_priority_manager/ |
H A D | multi_account_manager.h | 45 … std::map<int, std::shared_ptr<AccountBundleInfo>> &osAccountsInfoMap_); 47 … std::map<int, std::shared_ptr<AccountBundleInfo>> &osAccountsInfoMap_); 49 … std::map<int, std::shared_ptr<AccountBundleInfo>> &osAccountsInfoMap_); 59 std::map<int, std::shared_ptr<AccountBundleInfo>> &osAccountsInfoMap_); 60 …sesOfAccount(int accountId, std::map<int, std::shared_ptr<AccountBundleInfo>> &osAccountsInfoMap_);
|
H A D | reclaim_priority_manager.h | 166 OsAccountsMap osAccountsInfoMap_; variable
|