Home
last modified time | relevance | path

Searched refs:TaskProfile (Results 1 – 2 of 2) sorted by relevance

/aosp12/system/core/libprocessgroup/
H A Dtask_profiles.h174 class TaskProfile {
176 TaskProfile() : res_cached_(false) {} in TaskProfile() function
179 void MoveTo(TaskProfile* profile);
194 ApplyProfileAction(const std::vector<std::shared_ptr<TaskProfile>>& profiles) in ApplyProfileAction()
203 std::vector<std::shared_ptr<TaskProfile>> profiles_;
211 TaskProfile* GetProfile(const std::string& name) const;
218 std::map<std::string, std::shared_ptr<TaskProfile>> profiles_;
H A Dtask_profiles.cpp384 void TaskProfile::MoveTo(TaskProfile* profile) { in MoveTo()
389 bool TaskProfile::ExecuteForProcess(uid_t uid, pid_t pid) const { in ExecuteForProcess()
398 bool TaskProfile::ExecuteForTask(int tid) const { in ExecuteForTask()
410 void TaskProfile::EnableResourceCaching() { in EnableResourceCaching()
422 void TaskProfile::DropResourceCaching() { in DropResourceCaching()
516 auto profile = std::make_shared<TaskProfile>(); in Load()
607 std::vector<std::shared_ptr<TaskProfile>> profiles; in Load()
626 auto profile = std::make_shared<TaskProfile>(); in Load()
635 TaskProfile* TaskProfiles::GetProfile(const std::string& name) const { in GetProfile()
656 TaskProfile* profile = GetProfile(name); in SetProcessProfiles()
[all …]