Home
last modified time | relevance | path

Searched refs:SchedPolicy (Results 1 – 4 of 4) sorted by relevance

/system/core/libprocessgroup/include/processgroup/
Dsched_policy.h54 } SchedPolicy; typedef
56 extern int set_cpuset_policy(int tid, SchedPolicy policy);
64 extern int set_sched_policy(int tid, SchedPolicy policy);
70 extern int get_sched_policy(int tid, SchedPolicy* policy);
76 extern const char* get_sched_policy_name(SchedPolicy policy);
/system/core/libcutils/
Dsched_policy_test.cpp63 static void AssertPolicy(SchedPolicy expected_policy) { in AssertPolicy()
64 SchedPolicy current_policy; in AssertPolicy()
69 TEST(SchedPolicy, set_sched_policy) { in TEST() argument
84 TEST(SchedPolicy, set_sched_policy_timerslack) { in TEST() argument
108 TEST(SchedPolicy, get_sched_policy_name) { in TEST() argument
110 EXPECT_STREQ("error", get_sched_policy_name(SchedPolicy(-2))); in TEST()
/system/core/libprocessgroup/
Dsched_policy.cpp35 static inline SchedPolicy _policy(SchedPolicy p) { in _policy()
41 int set_cpuset_policy(int tid, SchedPolicy policy) { in set_cpuset_policy()
84 int set_sched_policy(int tid, SchedPolicy policy) { in set_sched_policy()
175 int get_sched_policy(int tid, SchedPolicy* policy) { in get_sched_policy()
212 int set_sched_policy(int, SchedPolicy) { in set_sched_policy() argument
216 int get_sched_policy(int, SchedPolicy* policy) { in get_sched_policy()
223 const char* get_sched_policy_name(SchedPolicy policy) { in get_sched_policy_name()
/system/core/lmkd/
Dlmkd.c1294 static void set_process_group_and_prio(int pid, SchedPolicy sp, int prio) { in set_process_group_and_prio()