/system/core/include/cutils/ |
sched_policy.h | 29 SP_SYSTEM = 2, // can't be used with set_sched_policy() 43 extern int set_sched_policy(int tid, SchedPolicy policy);
|
/dalvik/vm/os/ |
android.cpp | 59 set_sched_policy(dvmGetSysThreadId(), SP_BACKGROUND); 61 set_sched_policy(dvmGetSysThreadId(), SP_FOREGROUND); 110 set_sched_policy(dvmGetSysThreadId(), SP_FOREGROUND); 137 set_sched_policy(dvmGetSysThreadId(), SP_BACKGROUND);
|
/art/runtime/ |
thread_android.cc | 59 set_sched_policy(tid, SP_BACKGROUND); 61 set_sched_policy(tid, SP_FOREGROUND);
|
/frameworks/native/services/surfaceflinger/ |
main_surfaceflinger.cpp | 45 set_sched_policy(0, SP_FOREGROUND);
|
/external/bluetooth/bluedroid/utils/src/ |
bt_utils.c | 126 // set_sched_policy does not support tid == 0 127 rc = set_sched_policy(tid, SP_FOREGROUND);
|
/frameworks/av/media/libmedia/ |
IMediaMetadataRetriever.cpp | 50 set_sched_policy(gettid(), policy); 54 set_sched_policy(gettid(), SP_FOREGROUND);
|
AudioTrack.cpp | 441 set_sched_policy(0, mPreviousSchedulingGroup); 483 set_sched_policy(0, mPreviousSchedulingGroup); [all...] |
AudioRecord.cpp | 343 set_sched_policy(0, mPreviousSchedulingGroup);
|
/system/core/libcutils/ |
sched_policy.c | 54 #define CAN_SET_SP_SYSTEM 0 // non-zero means to implement set_sched_policy(tid, SP_SYSTEM) 261 int set_sched_policy(int tid, SchedPolicy policy) function 334 int set_sched_policy(int tid, SchedPolicy policy) function
|
/system/core/libutils/ |
Threads.cpp | 86 set_sched_policy(0, SP_BACKGROUND); 88 set_sched_policy(0, SP_FOREGROUND); 321 rc = set_sched_policy(tid, SP_BACKGROUND); 323 rc = set_sched_policy(tid, SP_FOREGROUND);
|
/frameworks/native/libs/binder/ |
IPCThreadState.cpp | 445 set_sched_policy(mMyThreadId, SP_FOREGROUND); 484 set_sched_policy(mMyThreadId, SP_FOREGROUND); 1054 set_sched_policy(mMyThreadId, SP_BACKGROUND); [all...] |
/art/runtime/native/ |
dalvik_system_Zygote.cc | 250 errno = -set_sched_policy(0, SP_DEFAULT); 252 PLOG(FATAL) << "set_sched_policy(0, SP_DEFAULT) failed";
|
/dalvik/vm/native/ |
dalvik_system_Zygote.cpp | 641 err = set_sched_policy(0, SP_DEFAULT); 643 ALOGE("cannot set_sched_policy(0, SP_DEFAULT): %s", strerror(-err));
|
/frameworks/base/core/jni/ |
android_util_Process.cpp | 164 int res = set_sched_policy(tid, sp); 248 int err = set_sched_policy(t_pid, sp);
|
/dalvik/vm/ |
Thread.cpp | [all...] |
/hardware/qcom/audio/hal/ |
audio_hw.c | 689 set_sched_policy(0, SP_FOREGROUND); [all...] |