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 | 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/libartpalette/ |
D | palette_android.cc | 77 set_sched_policy(tid, SP_BACKGROUND); in PaletteSchedSetPriority() 79 set_sched_policy(tid, SP_FOREGROUND); in PaletteSchedSetPriority()
|
/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 | 78 if (set_sched_policy(0, SP_BACKGROUND) < 0) { in DropPrivs()
|
/system/core/logcat/ |
D | logcat.cpp | 253 if (set_sched_policy(0, SP_BACKGROUND) < 0) { in SetupOutputAndSchedulingPolicy()
|