Home
last modified time | relevance | path

Searched refs:GetPkg (Results 1 - 6 of 6) sorted by relevance

/foundation/resourceschedule/background_task_mgr/services/transient_task/include/
H A Dkey_info.h30 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 Dpkg_delay_suspend_info.h47 inline const string& GetPkg() const in GetPkg() function in OHOS::BackgroundTaskMgr::PkgDelaySuspendInfo
/foundation/resourceschedule/background_task_mgr/services/transient_task/src/
H A Dsuspend_controller.cpp31 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 Dwatchdog.cpp59 if (decision_->IsFrontApp(info->GetPkg(), info->GetUid())) { in ProcessEvent()
70 if (!KillApplicationByUid(info->GetPkg(), info->GetUid())) { in ProcessEvent()
H A Ddecision_maker.cpp199 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 Dbg_transient_task_mgr.cpp612 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