Lines Matching refs:ThreadPriority
37 {ThreadPriority::BACKGROUND, 10},
38 {ThreadPriority::NORMAL, 0},
39 {ThreadPriority::DISPLAY, -6},
40 {ThreadPriority::REALTIME_AUDIO, -10},
43 bool SetCurrentThreadPriorityForPlatform(ThreadPriority priority) { in SetCurrentThreadPriorityForPlatform()
45 ThreadPriority current_priority; in SetCurrentThreadPriorityForPlatform()
46 if (priority != ThreadPriority::REALTIME_AUDIO && in SetCurrentThreadPriorityForPlatform()
48 current_priority == ThreadPriority::REALTIME_AUDIO) { in SetCurrentThreadPriorityForPlatform()
55 return priority == ThreadPriority::REALTIME_AUDIO && in SetCurrentThreadPriorityForPlatform()
62 bool GetCurrentThreadPriorityForPlatform(ThreadPriority* priority) { in GetCurrentThreadPriorityForPlatform()
70 *priority = ThreadPriority::REALTIME_AUDIO; in GetCurrentThreadPriorityForPlatform()