Home
last modified time | relevance | path

Searched refs:SP_CNT (Results 1 – 3 of 3) sorted by relevance

/system/core/libprocessgroup/
Dsched_policy.cpp224 static_assert(arraysize(kSchedPolicyNames) == SP_CNT, "missing name"); in get_sched_policy_name()
225 if (policy < SP_BACKGROUND || policy >= SP_CNT) { in get_sched_policy_name()
240 static constexpr const char* kCpusetProfiles[SP_CNT + 1] = { in get_cpuset_policy_profile_name()
244 if (policy < SP_DEFAULT || policy >= SP_CNT) { in get_cpuset_policy_profile_name()
259 static constexpr const char* kSchedProfiles[SP_CNT + 1] = { in get_sched_policy_profile_name()
263 if (policy < SP_DEFAULT || policy >= SP_CNT) { in get_sched_policy_profile_name()
/system/core/libprocessgroup/include/processgroup/
Dsched_policy.h51 SP_CNT, enumerator
52 SP_MAX = SP_CNT - 1,
/system/core/libcutils/
Dsched_policy_test.cpp111 EXPECT_EQ(nullptr, get_sched_policy_name(SP_CNT)); in TEST()
117 EXPECT_EQ(nullptr, get_cpuset_policy_profile_name(SP_CNT)); in TEST()
123 EXPECT_EQ(nullptr, get_sched_policy_profile_name(SP_CNT)); in TEST()