Searched refs:ThreadPriority (Results 1 – 14 of 14) sorted by relevance
/external/libchrome/base/threading/ |
D | platform_thread_unittest.cc | 223 const ThreadPriority kThreadPriorityTestValues[] = { 229 ThreadPriority::REALTIME_AUDIO, 231 ThreadPriority::DISPLAY, 234 ThreadPriority::BACKGROUND, 235 ThreadPriority::NORMAL, 236 ThreadPriority::BACKGROUND}; 251 explicit ThreadPriorityTestThread(ThreadPriority priority) in ThreadPriorityTestThread() 258 EXPECT_EQ(ThreadPriority::NORMAL, in RunTest() 266 const ThreadPriority priority_; 280 PlatformThread::SetCurrentThreadPriority(ThreadPriority::DISPLAY); in TEST() [all …]
|
D | platform_thread_linux.cc | 36 {ThreadPriority::BACKGROUND, 10}, 37 {ThreadPriority::NORMAL, 0}, 38 {ThreadPriority::DISPLAY, -8}, 39 {ThreadPriority::REALTIME_AUDIO, -10}, 42 bool SetCurrentThreadPriorityForPlatform(ThreadPriority priority) { in SetCurrentThreadPriorityForPlatform() 44 return priority == ThreadPriority::REALTIME_AUDIO && in SetCurrentThreadPriorityForPlatform() 51 bool GetCurrentThreadPriorityForPlatform(ThreadPriority* priority) { in GetCurrentThreadPriorityForPlatform() 59 *priority = ThreadPriority::REALTIME_AUDIO; in GetCurrentThreadPriorityForPlatform()
|
D | platform_thread_internal_posix.h | 16 ThreadPriority priority; 27 int ThreadPriorityToNiceValue(ThreadPriority priority); 31 BASE_EXPORT ThreadPriority NiceValueToThreadPriority(int nice_value); 37 bool SetCurrentThreadPriorityForPlatform(ThreadPriority priority); 42 bool GetCurrentThreadPriorityForPlatform(ThreadPriority* priority);
|
D | platform_thread_posix.cc | 40 : delegate(NULL), joinable(false), priority(ThreadPriority::NORMAL) {} in ThreadParams() 44 ThreadPriority priority; 84 ThreadPriority priority) { in CreateThread() 189 ThreadPriority priority) { in CreateWithPriority() 199 delegate, &unused, ThreadPriority::NORMAL); in CreateNonJoinable() 221 void PlatformThread::SetCurrentThreadPriority(ThreadPriority priority) { in SetCurrentThreadPriority() 243 ThreadPriority PlatformThread::GetCurrentThreadPriority() { in GetCurrentThreadPriority() 246 return ThreadPriority::NORMAL; in GetCurrentThreadPriority() 249 ThreadPriority platform_specific_priority; in GetCurrentThreadPriority() 262 return ThreadPriority::NORMAL; in GetCurrentThreadPriority()
|
D | platform_thread.h | 102 enum class ThreadPriority : int { enum 164 ThreadPriority::NORMAL); in Create() 171 ThreadPriority priority); 194 static void SetCurrentThreadPriority(ThreadPriority priority); 196 static ThreadPriority GetCurrentThreadPriority();
|
D | platform_thread_mac.mm | 165 void PlatformThread::SetCurrentThreadPriority(ThreadPriority priority) { 171 case ThreadPriority::NORMAL: 172 case ThreadPriority::BACKGROUND: 173 case ThreadPriority::DISPLAY: 177 case ThreadPriority::REALTIME_AUDIO: 188 ThreadPriority PlatformThread::GetCurrentThreadPriority() { 193 return ThreadPriority::NORMAL; 195 ThreadPriority thread_priority = 196 static_cast<ThreadPriority>(priority.intValue); 198 case ThreadPriority::BACKGROUND: [all …]
|
D | simple_thread.h | 63 Options() : stack_size_(0), priority_(ThreadPriority::NORMAL) {} in Options() 64 explicit Options(ThreadPriority priority) in Options() 75 void set_priority(ThreadPriority priority) { priority_ = priority; } in set_priority() 76 ThreadPriority priority() const { return priority_; } in priority() 79 ThreadPriority priority_;
|
D | platform_thread_internal_posix.cc | 14 int ThreadPriorityToNiceValue(ThreadPriority priority) { in ThreadPriorityToNiceValue() 23 ThreadPriority NiceValueToThreadPriority(int nice_value) { in NiceValueToThreadPriority() 34 return ThreadPriority::BACKGROUND; in NiceValueToThreadPriority()
|
D | thread.cc | 44 priority(ThreadPriority::NORMAL) { in Options() 52 priority(ThreadPriority::NORMAL) { in Options()
|
D | thread.h | 70 ThreadPriority priority;
|
D | simple_thread.cc | 42 if (options_.priority() == ThreadPriority::NORMAL) { in Start()
|
/external/webrtc/webrtc/base/ |
D | platform_thread.h | 38 enum ThreadPriority { enum 72 bool SetPriority(ThreadPriority priority);
|
D | platform_thread.cc | 196 bool PlatformThread::SetPriority(ThreadPriority priority) { in SetPriority()
|
/external/libchrome/sandbox/win/src/ |
D | nt_internals.h | 282 ThreadPriority, enumerator
|