Searched refs:SetTaskProfiles (Results 1 – 8 of 8) sorted by relevance
/system/core/libprocessgroup/ |
D | sched_policy.cpp | 49 return SetTaskProfiles(tid, {"CPUSET_SP_BACKGROUND"}, true) ? 0 : -1; in set_cpuset_policy() 53 return SetTaskProfiles(tid, {"CPUSET_SP_FOREGROUND"}, true) ? 0 : -1; in set_cpuset_policy() 55 return SetTaskProfiles(tid, {"CPUSET_SP_TOP_APP"}, true) ? 0 : -1; in set_cpuset_policy() 57 return SetTaskProfiles(tid, {"CPUSET_SP_SYSTEM"}, true) ? 0 : -1; in set_cpuset_policy() 59 return SetTaskProfiles(tid, {"CPUSET_SP_RESTRICTED"}, true) ? 0 : -1; in set_cpuset_policy() 120 return SetTaskProfiles(tid, {"SCHED_SP_BACKGROUND"}, true) ? 0 : -1; in set_sched_policy() 124 return SetTaskProfiles(tid, {"SCHED_SP_FOREGROUND"}, true) ? 0 : -1; in set_sched_policy() 126 return SetTaskProfiles(tid, {"SCHED_SP_TOP_APP"}, true) ? 0 : -1; in set_sched_policy() 128 return SetTaskProfiles(tid, {"SCHED_SP_SYSTEM"}, true) ? 0 : -1; in set_sched_policy() 130 return SetTaskProfiles(tid, {"SCHED_SP_RT_APP"}, true) ? 0 : -1; in set_sched_policy() [all …]
|
D | processgroup.cpp | 122 bool SetTaskProfiles(int tid, const std::vector<std::string>& profiles, bool use_fd_cache) { in SetTaskProfiles() function 123 return TaskProfiles::GetInstance().SetTaskProfiles(tid, profiles, use_fd_cache); in SetTaskProfiles()
|
D | task_profiles.h | 198 bool SetTaskProfiles(int tid, const std::vector<std::string>& profiles, bool use_fd_cache);
|
D | task_profiles.cpp | 612 bool TaskProfiles::SetTaskProfiles(int tid, const std::vector<std::string>& profiles, in SetTaskProfiles() function in TaskProfiles
|
/system/core/libprocessgroup/include/processgroup/ |
D | processgroup.h | 32 bool SetTaskProfiles(int tid, const std::vector<std::string>& profiles, bool use_fd_cache = false);
|
/system/libartpalette/ |
D | palette_android.cc | 73 SetTaskProfiles(tid, {"SCHED_SP_BACKGROUND"}, true); in PaletteSchedSetPriority() 80 SetTaskProfiles(tid, {get_sched_policy_profile_name(policy)}, true); in PaletteSchedSetPriority()
|
/system/core/libutils/ |
D | Threads.cpp | 90 SetTaskProfiles(0, {"SCHED_SP_BACKGROUND"}, true); in trampoline() 316 rc = SetTaskProfiles(tid, {"SCHED_SP_BACKGROUND"}, true) ? 0 : -1; in androidSetThreadPriority() 321 rc = SetTaskProfiles(tid, {get_sched_policy_profile_name(policy)}, true) ? 0 : -1; in androidSetThreadPriority()
|
/system/core/init/ |
D | service.cpp | 534 if (task_profiles_.size() > 0 && !SetTaskProfiles(getpid(), task_profiles_)) { in Start()
|