Searched refs:set_sched_policy (Results 1 – 6 of 6) sorted by relevance
/system/core/libcutils/ |
D | sched_policy_test.cpp | 69 TEST(SchedPolicy, set_sched_policy) { in TEST() argument 77 ASSERT_EQ(0, set_sched_policy(0, SP_BACKGROUND)); in TEST() 80 ASSERT_EQ(0, set_sched_policy(0, SP_FOREGROUND)); in TEST() 99 ASSERT_EQ(0, set_sched_policy(0, SP_BACKGROUND)); in TEST() 102 ASSERT_EQ(0, set_sched_policy(0, SP_FOREGROUND)); in TEST()
|
/system/core/libprocessgroup/include/processgroup/ |
D | sched_policy.h | 64 extern int set_sched_policy(int tid, SchedPolicy policy);
|
/system/core/libprocessgroup/ |
D | sched_policy.cpp | 67 int set_sched_policy(int tid, SchedPolicy policy) { in set_sched_policy() function 206 int set_sched_policy(int, SchedPolicy) { in set_sched_policy() function
|
/system/bt/utils/src/ |
D | bt_utils.cc | 130 rc = set_sched_policy(tid, SP_AUDIO_SYS); in raise_priority_a2dp()
|
/system/core/logd/ |
D | main.cpp | 66 if (set_sched_policy(0, SP_BACKGROUND) < 0) { in DropPrivs()
|
/system/core/logcat/ |
D | logcat.cpp | 251 if (set_sched_policy(0, SP_BACKGROUND) < 0) { in SetupOutputAndSchedulingPolicy()
|