Lines Matching refs:ThreadPriority
36 ThreadPriority priority) { in ThreadPriorityToCgroupDirectory()
38 case ThreadPriority::NORMAL: in ThreadPriorityToCgroupDirectory()
40 case ThreadPriority::BACKGROUND: in ThreadPriorityToCgroupDirectory()
42 case ThreadPriority::DISPLAY: in ThreadPriorityToCgroupDirectory()
43 case ThreadPriority::REALTIME_AUDIO: in ThreadPriorityToCgroupDirectory()
62 ThreadPriority priority) { in SetThreadCgroupForThreadPriority()
75 ThreadPriority priority) { in SetThreadCgroupsForThreadPriority()
95 {ThreadPriority::BACKGROUND, 10},
96 {ThreadPriority::NORMAL, 0},
97 {ThreadPriority::DISPLAY, -8},
98 {ThreadPriority::REALTIME_AUDIO, -10},
101 bool SetCurrentThreadPriorityForPlatform(ThreadPriority priority) { in SetCurrentThreadPriorityForPlatform()
104 return priority == ThreadPriority::REALTIME_AUDIO && in SetCurrentThreadPriorityForPlatform()
111 bool GetCurrentThreadPriorityForPlatform(ThreadPriority* priority) { in GetCurrentThreadPriorityForPlatform()
119 *priority = ThreadPriority::REALTIME_AUDIO; in GetCurrentThreadPriorityForPlatform()
156 ThreadPriority priority) { in SetThreadPriority()