Searched refs:set_sched_policy (Results 1 – 7 of 7) 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 | 84 int set_sched_policy(int tid, SchedPolicy policy) { in set_sched_policy() function 212 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/libutils/ |
D | Threads.cpp | 83 set_sched_policy(0, SP_BACKGROUND); in trampoline() 85 set_sched_policy(0, SP_FOREGROUND); in trampoline() 305 rc = set_sched_policy(tid, SP_BACKGROUND); in androidSetThreadPriority() 307 rc = set_sched_policy(tid, SP_FOREGROUND); in androidSetThreadPriority()
|
/system/core/logd/ |
D | main.cpp | 92 if (set_sched_policy(0, SP_BACKGROUND) < 0) { in drop_privs() 230 set_sched_policy(0, SP_BACKGROUND); in reinit_thread_start()
|
/system/core/logcat/ |
D | logcat.cpp | 385 if ((set_sched_policy(0, SP_BACKGROUND) < 0) && context->error) { in setupOutputAndSchedulingPolicy()
|