Searched refs:SetTaskProfiles (Results 1 – 12 of 12) 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 | 174 bool SetTaskProfiles(int tid, const std::vector<std::string>& profiles, bool use_fd_cache) { in SetTaskProfiles() function 175 return TaskProfiles::GetInstance().SetTaskProfiles(tid, std::span<const std::string>(profiles), in SetTaskProfiles() 179 bool SetTaskProfiles(int tid, std::initializer_list<std::string_view> profiles, bool use_fd_cache) { in SetTaskProfiles() function 180 return TaskProfiles::GetInstance().SetTaskProfiles( in SetTaskProfiles() 184 bool SetTaskProfiles(int tid, std::span<const std::string_view> profiles, bool use_fd_cache) { in SetTaskProfiles() function 185 return TaskProfiles::GetInstance().SetTaskProfiles(tid, profiles, use_fd_cache); in SetTaskProfiles()
|
D | task_profiles.cpp | 1038 bool TaskProfiles::SetTaskProfiles(int tid, std::span<const T> profiles, bool use_fd_cache) { in SetTaskProfiles() function in TaskProfiles 1064 template bool TaskProfiles::SetTaskProfiles(int tid, std::span<const std::string> profiles, 1066 template bool TaskProfiles::SetTaskProfiles(int tid, std::span<const std::string_view> profiles,
|
D | task_profiles.h | 243 bool SetTaskProfiles(int tid, std::span<const T> profiles, bool use_fd_cache);
|
/system/core/libprocessgroup/include/processgroup/ |
D | processgroup.h | 37 bool SetTaskProfiles(int tid, const std::vector<std::string>& profiles, bool use_fd_cache = false); 43 bool SetTaskProfiles(int tid, std::initializer_list<std::string_view> profiles, 47 bool SetTaskProfiles(int tid, std::span<const std::string_view> profiles,
|
/system/core/libprocessgroup/tools/ |
D | settaskprofile.cpp | 45 if (!SetTaskProfiles(tid, {argv[i]})) { in main()
|
/system/memory/lmkd/ |
D | watchdog.cpp | 33 if (!SetTaskProfiles(gettid(), {"CPUSET_SP_FOREGROUND"}, true)) { in watchdog_main()
|
D | reaper.cpp | 98 if (!SetTaskProfiles(tid, {"CPUSET_SP_FOREGROUND"}, true)) { in reaper_main()
|
/system/libartpalette/ |
D | palette_android.cc | 260 return SetTaskProfiles(tid, p, false) ? PALETTE_STATUS_OK : PALETTE_STATUS_FAILED_CHECK_LOG; in PaletteSetTaskProfiles()
|
/system/core/init/ |
D | service.cpp | 556 SetTaskProfiles(getpid(), task_profiles_) in RunService()
|
/system/extras/simpleperf/testdata/ |
D | perf_display_bitmaps.header.perf-script | 14134 752fb62170 SetTaskProfiles (/system/lib64/libprocessgroup.so) 14495 752fb62170 SetTaskProfiles (/system/lib64/libprocessgroup.so) 14716 752fb62170 SetTaskProfiles (/system/lib64/libprocessgroup.so) 14979 752fb62170 SetTaskProfiles (/system/lib64/libprocessgroup.so)
|
D | perf_display_bitmaps.perf-script | 14119 752fb62170 SetTaskProfiles (/system/lib64/libprocessgroup.so) 14480 752fb62170 SetTaskProfiles (/system/lib64/libprocessgroup.so) 14701 752fb62170 SetTaskProfiles (/system/lib64/libprocessgroup.so) 14964 752fb62170 SetTaskProfiles (/system/lib64/libprocessgroup.so)
|