Searched refs:switchMod (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/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()
|
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_priority_manager/ |
H A D | multi_account_manager.cpp | 284 …iAccountManager::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 | 1188 …ReclaimPriorityManager::OsAccountChanged(int accountId, AccountSA::OS_ACCOUNT_SWITCH_MOD switchMod) in OsAccountChanged() argument 1198 return handler_->PostImmediateTask([this, accountId, switchMod] { in OsAccountChanged() 1199 this->OsAccountChangedInner(accountId, switchMod); in OsAccountChanged() 1203 …imPriorityManager::OsAccountChangedInner(int accountId, AccountSA::OS_ACCOUNT_SWITCH_MOD switchMod) in OsAccountChangedInner() argument 1205 return UpdateAllPrioForOsAccountChanged(accountId, switchMod); in OsAccountChangedInner() 1209 AccountSA::OS_ACCOUNT_SWITCH_MOD switchMod) in UpdateAllPrioForOsAccountChanged() argument 1216 …bool ret = MultiAccountManager::GetInstance().HandleOsAccountsChanged(accountId, switchMod, osAcco… in UpdateAllPrioForOsAccountChanged()
|
/ohos5.0/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,
|
/ohos5.0/foundation/resourceschedule/memmgr/test/unittest/phone/ |
H A D | reclaim_priority_manager_test.cpp | 653 … AccountSA::OS_ACCOUNT_SWITCH_MOD switchMod = AccountSA::OsAccountManager::GetOsAccountSwitchMod(); variable 654 bool accChan = reclPri.OsAccountChanged(accountId, switchMod); 660 accChan = ReclaimPriorityManager::GetInstance().OsAccountChanged(accountId, switchMod); 665 accChan = ReclaimPriorityManager::GetInstance().OsAccountChanged(accountId, switchMod);
|