Home
last modified time | relevance | path

Searched refs:SetTaskProfiles (Results 1 – 12 of 12) sorted by relevance

/system/core/libprocessgroup/
Dsched_policy.cpp49 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 …]
Dprocessgroup.cpp174 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()
Dtask_profiles.cpp1038 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,
Dtask_profiles.h243 bool SetTaskProfiles(int tid, std::span<const T> profiles, bool use_fd_cache);
/system/core/libprocessgroup/include/processgroup/
Dprocessgroup.h37 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/
Dsettaskprofile.cpp45 if (!SetTaskProfiles(tid, {argv[i]})) { in main()
/system/memory/lmkd/
Dwatchdog.cpp33 if (!SetTaskProfiles(gettid(), {"CPUSET_SP_FOREGROUND"}, true)) { in watchdog_main()
Dreaper.cpp98 if (!SetTaskProfiles(tid, {"CPUSET_SP_FOREGROUND"}, true)) { in reaper_main()
/system/libartpalette/
Dpalette_android.cc260 return SetTaskProfiles(tid, p, false) ? PALETTE_STATUS_OK : PALETTE_STATUS_FAILED_CHECK_LOG; in PaletteSetTaskProfiles()
/system/core/init/
Dservice.cpp556 SetTaskProfiles(getpid(), task_profiles_) in RunService()
/system/extras/simpleperf/testdata/
Dperf_display_bitmaps.header.perf-script14134 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)
Dperf_display_bitmaps.perf-script14119 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)