Searched refs:GetPkg (Results 1 - 6 of 6) sorted by relevance
/foundation/resourceschedule/background_task_mgr/services/transient_task/include/ |
H A D | key_info.h | 30 return (pkg_ < o.GetPkg()) || ((pkg_ == o.GetPkg()) && (uid_ < o.GetUid())); in operator <() 35 return (other.GetPkg() == pkg_ && other.GetUid() == uid_); in IsEqual() 43 inline const std::string& GetPkg() const in GetPkg() function in OHOS::BackgroundTaskMgr::KeyInfo 75 return (x->GetPkg() < y->GetPkg()) || ((x->GetPkg() == y->GetPkg()) && (x->GetUid() < y->GetUid())); in operator ()()
|
H A D | pkg_delay_suspend_info.h | 47 inline const string& GetPkg() const in GetPkg() function in OHOS::BackgroundTaskMgr::PkgDelaySuspendInfo
|
/foundation/resourceschedule/background_task_mgr/services/transient_task/src/ |
H A D | suspend_controller.cpp | 31 BGTASK_LOGD("Add delayed suspend app uid: %{public}d, name: %{public}s", key->GetUid(), key->GetPkg().c_str()); in RequestSuspendDelay() 41 BGTASK_LOGD("Remove delayed suspend app uid: %{public}d, name: %{public}s", key->GetUid(), key->GetPkg().c_str()); in CancelSuspendDelay()
|
H A D | watchdog.cpp | 59 if (decision_->IsFrontApp(info->GetPkg(), info->GetUid())) { in ProcessEvent() 70 if (!KillApplicationByUid(info->GetPkg(), info->GetUid())) { in ProcessEvent()
|
H A D | decision_maker.cpp | 199 const string &name = key->GetPkg(); in Decide() 227 "APP_NAME", key->GetPkg(), "TASKID", delayInfo->GetRequestId(), "VALUE", delayInfo->GetActualDelayTime()); in Decide() 286 auto appInfo = make_shared<TransientTaskAppInfo>(key->GetPkg(), key->GetUid(), key->GetPid()); in RemoveRequest() 291 auto info = make_shared<TransientTaskAppInfo>(key->GetPkg(), key->GetUid()); in RemoveRequest() 298 "APP_NAME", key->GetPkg(), "TASKID", requestId); in RemoveRequest() 365 if (fgApp.bundleName == pkgInfo->GetPkg() && fgApp.uid == pkgInfo->GetUid()) { in CanStartAccountingLocked()
|
H A D | bg_transient_task_mgr.cpp | 612 return (record.second->GetPkg() == info->GetPackageName()) && in GetTransientTaskApps() 617 auto appInfo = make_shared<TransientTaskAppInfo>(record.second->GetPkg(), in GetTransientTaskApps() 747 stream << "\tAppName: " << record.second->GetPkg() << "\n"; in DumpAllRequestId()
|
Completed in 4 milliseconds