Searched refs:switchMod (Results 1 - 6 of 6) sorted by relevance
/foundation/resourceschedule/memmgr/services/memmgrservice/src/event/ |
H A D | account_observer.cpp | 38 AccountSA::OS_ACCOUNT_SWITCH_MOD switchMod = AccountSA::OsAccountManager::GetOsAccountSwitchMod(); in OnAccountsChanged() local 39 ReclaimPriorityManager::GetInstance().OsAccountChanged(id, switchMod); in OnAccountsChanged()
|
/foundation/resourceschedule/memmgr/services/memmgrservice/include/reclaim_priority_manager/ |
H A D | reclaim_priority_manager.h | 144 bool OsAccountChanged(int accountId, AccountSA::OS_ACCOUNT_SWITCH_MOD switchMod); 194 bool OsAccountChangedInner(int accountId, AccountSA::OS_ACCOUNT_SWITCH_MOD switchMod); 195 bool UpdateAllPrioForOsAccountChanged(int accountId, AccountSA::OS_ACCOUNT_SWITCH_MOD switchMod);
|
H A D | multi_account_manager.h | 44 bool HandleOsAccountsChanged(int accountId, AccountSA::OS_ACCOUNT_SWITCH_MOD switchMod,
|
/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_priority_manager/ |
H A D | multi_account_manager.cpp | 284 bool MultiAccountManager::HandleOsAccountsChanged(int accountId, AccountSA::OS_ACCOUNT_SWITCH_MOD switchMod, in HandleOsAccountsChanged() argument 305 switch (switchMod) { in HandleOsAccountsChanged() 311 HILOGI("Switch mode incorrect, mode = %{public}d.", static_cast<int>(switchMod)); in HandleOsAccountsChanged()
|
H A D | reclaim_priority_manager.cpp | 1222 bool ReclaimPriorityManager::OsAccountChanged(int accountId, AccountSA::OS_ACCOUNT_SWITCH_MOD switchMod) in OsAccountChanged() argument 1232 return handler_->PostImmediateTask([this, accountId, switchMod] { in OsAccountChanged() 1233 this->OsAccountChangedInner(accountId, switchMod); in OsAccountChanged() 1237 bool ReclaimPriorityManager::OsAccountChangedInner(int accountId, AccountSA::OS_ACCOUNT_SWITCH_MOD switchMod) in OsAccountChangedInner() argument 1239 return UpdateAllPrioForOsAccountChanged(accountId, switchMod); in OsAccountChangedInner() 1243 AccountSA::OS_ACCOUNT_SWITCH_MOD switchMod) in UpdateAllPrioForOsAccountChanged() 1250 bool ret = MultiAccountManager::GetInstance().HandleOsAccountsChanged(accountId, switchMod, osAccountsInfoMap_); in UpdateAllPrioForOsAccountChanged() 1242 UpdateAllPrioForOsAccountChanged(int accountId, AccountSA::OS_ACCOUNT_SWITCH_MOD switchMod) UpdateAllPrioForOsAccountChanged() argument
|
/foundation/resourceschedule/memmgr/test/unittest/phone/ |
H A D | reclaim_priority_manager_test.cpp | 653 AccountSA::OS_ACCOUNT_SWITCH_MOD switchMod = AccountSA::OsAccountManager::GetOsAccountSwitchMod(); in HWTEST_F() local 654 bool accChan = reclPri.OsAccountChanged(accountId, switchMod); in HWTEST_F() 660 accChan = ReclaimPriorityManager::GetInstance().OsAccountChanged(accountId, switchMod); in HWTEST_F() 665 accChan = ReclaimPriorityManager::GetInstance().OsAccountChanged(accountId, switchMod); in HWTEST_F()
|
Completed in 7 milliseconds