Home
last modified time | relevance | path

Searched refs:set_sched_policy (Results 1 – 6 of 6) sorted by relevance

/system/core/include/cutils/
Dsched_policy.h46 extern int set_sched_policy(int tid, SchedPolicy policy);
/system/core/libcutils/
Dsched_policy.c278 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/
DThreads.cpp90 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/
Dbt_utils.c134 rc = set_sched_policy(tid, SP_AUDIO_SYS); in raise_priority_a2dp()
/system/core/logd/
Dmain.cpp93 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/
Dlogcat.cpp241 if (set_sched_policy(0, SP_BACKGROUND) < 0) { in setupOutput()