Searched refs:get_cpuset_policy_profile_name (Results 1 – 4 of 4) sorted by relevance
114 TEST(SchedPolicy, get_cpuset_policy_profile_name) { in TEST() argument115 EXPECT_STREQ("CPUSET_SP_BACKGROUND", get_cpuset_policy_profile_name(SP_BACKGROUND)); in TEST()116 EXPECT_EQ(nullptr, get_cpuset_policy_profile_name(SchedPolicy(-2))); in TEST()117 EXPECT_EQ(nullptr, get_cpuset_policy_profile_name(SP_CNT)); in TEST()
82 extern const char* get_cpuset_policy_profile_name(SchedPolicy policy);
246 const char* get_cpuset_policy_profile_name(SchedPolicy policy) { in get_cpuset_policy_profile_name() function
228 … int res = SetTaskProfiles(tid, {get_cpuset_policy_profile_name((SchedPolicy)grp)}, true) ? 0 : -1; in android_os_Process_setThreadGroupAndCpuset()347 if (!SetTaskProfiles(t_pid, {get_cpuset_policy_profile_name((SchedPolicy)grp)}, true)) { in android_os_Process_setProcessGroup()