Home
last modified time | relevance | path

Searched refs:AccountBundleInfo (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_priority_manager/
H A Daccount_bundle_info.cpp25 AccountBundleInfo::AccountBundleInfo(int accountId):id_(accountId) in AccountBundleInfo() function in OHOS::Memory::AccountBundleInfo
29 bool AccountBundleInfo::HasBundle(int bundleUid) in HasBundle()
37 std::shared_ptr<BundlePriorityInfo> AccountBundleInfo::FindBundleById(int bundleUid) in FindBundleById()
47 void AccountBundleInfo::AddBundleToOsAccount(std::shared_ptr<BundlePriorityInfo> bundle) in AddBundleToOsAccount()
52 void AccountBundleInfo::RemoveBundleById(int bundleUid) in RemoveBundleById()
57 int AccountBundleInfo::GetBundlesCount() in GetBundlesCount()
H A Dmulti_account_manager.cpp212 std::shared_ptr<AccountBundleInfo> MultiAccountManager::GetAccountBundleInfo(int accountId, in GetAccountBundleInfo()
213 std::map<int, std::shared_ptr<AccountBundleInfo>> &osAccountsInfoMap_) in GetAccountBundleInfo()
215 …std::map<int, std::shared_ptr<AccountBundleInfo>>::iterator iter = osAccountsInfoMap_.find(account… in GetAccountBundleInfo()
223 std::map<int, std::shared_ptr<AccountBundleInfo>> &osAccountsInfoMap_) in KillProcessesOfAccount()
225 …std::shared_ptr<AccountBundleInfo> accountBundleInfo = GetAccountBundleInfo(accountId, osAccountsI… in KillProcessesOfAccount()
244 std::map<int, std::shared_ptr<AccountBundleInfo>> &osAccountsInfoMap_) in HandleAccountColdSwitch()
257 std::map<int, std::shared_ptr<AccountBundleInfo>> &osAccountsInfoMap_) in HandleAccountHotSwitch()
260 …std::shared_ptr<AccountBundleInfo> accountBundleInfo = GetAccountBundleInfo(accountId, osAccountsI… in HandleAccountHotSwitch()
285 … std::map<int, std::shared_ptr<AccountBundleInfo>> &osAccountsInfoMap_) in HandleOsAccountsChanged()
H A Dreclaim_priority_manager.cpp307 std::shared_ptr<AccountBundleInfo> account = FindOsAccountById(accountId); in SetBundleState()
361 void ReclaimPriorityManager::AddOsAccountInfo(std::shared_ptr<AccountBundleInfo> account) in AddOsAccountInfo()
368 std::shared_ptr<AccountBundleInfo> account = FindOsAccountById(accountId); in IsProcExist()
444 std::shared_ptr<AccountBundleInfo> account = FindOsAccountById(accountId); in HandleAbilityStart()
478 std::shared_ptr<AccountBundleInfo> account = FindOsAccountById(accountId); in CheckAbilityStartCompleted()
561 std::shared_ptr<AccountBundleInfo> account = FindOsAccountById(accountId); in CheckCreateProcPriorityDelay()
571 std::shared_ptr<AccountBundleInfo> account = FindOsAccountById(accountId); in HandleCreateProcess()
577 DECLARE_SHARED_POINTER(AccountBundleInfo, tmpAccount); in HandleCreateProcess()
747 std::shared_ptr<AccountBundleInfo> account = FindOsAccountById(accountId); in UpdateExtensionStatusForTarget()
817 std::shared_ptr<AccountBundleInfo> account = FindOsAccountById(accountId); in GetConnectedExtensionProc()
[all …]
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/include/reclaim_priority_manager/
H A Dmulti_account_manager.h45 … 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_);
58 std::shared_ptr<AccountBundleInfo> GetAccountBundleInfo(int accountId,
59 std::map<int, std::shared_ptr<AccountBundleInfo>> &osAccountsInfoMap_);
60 …void KillProcessesOfAccount(int accountId, std::map<int, std::shared_ptr<AccountBundleInfo>> &osAc…
H A Daccount_bundle_info.h24 class AccountBundleInfo {
28 explicit AccountBundleInfo(int accountId);
H A Dreclaim_priority_manager.h138 using OsAccountsMap = std::map<int, std::shared_ptr<AccountBundleInfo>>;
201 std::shared_ptr<AccountBundleInfo> account);
206 std::shared_ptr<AccountBundleInfo> FindOsAccountById(int accountId);
208 void AddOsAccountInfo(std::shared_ptr<AccountBundleInfo> account);
/ohos5.0/foundation/resourceschedule/memmgr/test/unittest/phone/
H A Dmulti_account_manager_test.cpp96 std::shared_ptr<AccountBundleInfo> account = std::make_shared<AccountBundleInfo>(accountId);
104 std::map<int, std::shared_ptr<AccountBundleInfo>> osAccountsInfoMap;
119 std::shared_ptr<AccountBundleInfo> account = std::make_shared<AccountBundleInfo>(accountId);
127 std::map<int, std::shared_ptr<AccountBundleInfo>> osAccountsInfoMap;
231 std::map<int, std::shared_ptr<AccountBundleInfo>> osAccountsInfoMap;
H A Dreclaim_priority_manager_test.cpp106 std::shared_ptr<AccountBundleInfo> account = std::make_shared<AccountBundleInfo>(accountId);
116 std::shared_ptr<AccountBundleInfo> account = std::make_shared<AccountBundleInfo>(accountId);
159 …std::shared_ptr<AccountBundleInfo> account = ReclaimPriorityManager::GetInstance().FindOsAccountBy…
189 …std::shared_ptr<AccountBundleInfo> account = ReclaimPriorityManager::GetInstance().FindOsAccountBy…
213 …std::shared_ptr<AccountBundleInfo> account = ReclaimPriorityManager::GetInstance().FindOsAccountBy…
238 …std::shared_ptr<AccountBundleInfo> account = ReclaimPriorityManager::GetInstance().FindOsAccountBy…
279 …std::shared_ptr<AccountBundleInfo> account = ReclaimPriorityManager::GetInstance().FindOsAccountBy…
313 …std::shared_ptr<AccountBundleInfo> account = ReclaimPriorityManager::GetInstance().FindOsAccountBy…
809 std::shared_ptr<AccountBundleInfo> account = manager.FindOsAccountById(accountId);
844 std::shared_ptr<AccountBundleInfo> account = manager.FindOsAccountById(accountId);
[all …]