Home
last modified time | relevance | path

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

/system/core/libcutils/
Dsched_policy_test.cpp69 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/
Dsched_policy.h64 extern int set_sched_policy(int tid, SchedPolicy policy);
/system/core/libprocessgroup/
Dsched_policy.cpp67 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/libartpalette/
Dpalette_android.cc77 set_sched_policy(tid, SP_BACKGROUND); in PaletteSchedSetPriority()
79 set_sched_policy(tid, SP_FOREGROUND); in PaletteSchedSetPriority()
/system/bt/utils/src/
Dbt_utils.cc130 rc = set_sched_policy(tid, SP_AUDIO_SYS); in raise_priority_a2dp()
/system/core/logd/
Dmain.cpp78 if (set_sched_policy(0, SP_BACKGROUND) < 0) { in DropPrivs()
/system/core/logcat/
Dlogcat.cpp253 if (set_sched_policy(0, SP_BACKGROUND) < 0) { in SetupOutputAndSchedulingPolicy()