Searched refs:set_sched_policy (Results 1 – 6 of 6) sorted by relevance
/system/core/include/cutils/ |
D | sched_policy.h | 46 extern int set_sched_policy(int tid, SchedPolicy policy);
|
/system/core/libcutils/ |
D | sched_policy.c | 278 return set_sched_policy(tid, policy); in set_cpuset_policy() 326 int set_sched_policy(int tid, SchedPolicy policy) in set_sched_policy() function 418 int set_sched_policy(int tid UNUSED, SchedPolicy policy UNUSED) in set_sched_policy() function
|
/system/core/libutils/ |
D | Threads.cpp | 90 set_sched_policy(0, SP_BACKGROUND); in trampoline() 92 set_sched_policy(0, SP_FOREGROUND); in trampoline() 312 rc = set_sched_policy(tid, SP_BACKGROUND); in androidSetThreadPriority() 314 rc = set_sched_policy(tid, SP_FOREGROUND); in androidSetThreadPriority()
|
/system/bt/utils/src/ |
D | bt_utils.c | 134 rc = set_sched_policy(tid, SP_AUDIO_SYS); in raise_priority_a2dp()
|
/system/core/logd/ |
D | main.cpp | 93 if (set_sched_policy(0, SP_BACKGROUND) < 0) { in drop_privs() 242 set_sched_policy(0, SP_BACKGROUND); in reinit_thread_start()
|
/system/core/logcat/ |
D | logcat.cpp | 241 if (set_sched_policy(0, SP_BACKGROUND) < 0) { in setupOutput()
|