Searched refs:SetCurrentThreadType (Results 1 – 9 of 9) sorted by relevance
38 PlatformThread::SetCurrentThreadType(ThreadType::kDefault); in SetUp()114 PlatformThread::SetCurrentThreadType(ThreadType::kBackground); in TEST_F()124 PlatformThread::SetCurrentThreadType(ThreadType::kDefault); in TEST_F()132 PlatformThread::SetCurrentThreadType(ThreadType::kBackground); in TEST_F()151 PlatformThread::SetCurrentThreadType(ThreadType::kDefault); in TEST_F()159 PlatformThread::SetCurrentThreadType(ThreadType::kBackground); in TEST_F()166 PlatformThread::SetCurrentThreadType(ThreadType::kDefault); in TEST_F()170 PlatformThread::SetCurrentThreadType(ThreadType::kBackground); in TEST_F()176 PlatformThread::SetCurrentThreadType(ThreadType::kDefault); in TEST_F()
25 PlatformThread::SetCurrentThreadType(target_thread_type); in ScopedBoostPriority()31 PlatformThread::SetCurrentThreadType(original_thread_type_.value()); in ~ScopedBoostPriority()57 PlatformThread::SetCurrentThreadType(base::ThreadType::kDefault); in ScopedMayLoadLibraryAtBackgroundPriority()75 PlatformThread::SetCurrentThreadType(original_thread_type_.value()); in ~ScopedMayLoadLibraryAtBackgroundPriority()
25 void PlatformThreadBase::SetCurrentThreadType(ThreadType thread_type) { in SetCurrentThreadType() function in base::PlatformThreadBase35 internal::SetCurrentThreadType(thread_type, message_pump_type); in SetCurrentThreadType()63 void SetCurrentThreadType(ThreadType thread_type, in SetCurrentThreadType() function
267 PlatformThread::SetCurrentThreadType(from_); in RunTest()269 PlatformThread::SetCurrentThreadType(to_); in RunTest()290 PlatformThread::SetCurrentThreadType(thread_type_); in RunTest()377 PlatformThread::SetCurrentThreadType(thread_type); in GetCurrentThreadPriorityIfSetThreadTypeLater()407 TEST(PlatformThreadTest, SetCurrentThreadType) { in TEST() argument
259 static void SetCurrentThreadType(ThreadType thread_type);409 void SetCurrentThreadType(ThreadType thread_type,
111 internal::SetCurrentThreadType(thread_params->thread_type, in ThreadFunc()154 PlatformThread::SetCurrentThreadType(ThreadType::kDefault); in ThreadFunc()
93 PlatformThread::SetCurrentThreadType(thread_params->thread_type); in ThreadFunc()
431 PlatformThread::SetCurrentThreadType(ThreadType::kCompositing); in ThreadMain()447 PlatformThread::SetCurrentThreadType(ThreadType::kRealtimeAudio); in ThreadMain()463 PlatformThread::SetCurrentThreadType(ThreadType::kCompositing); in ThreadMain()513 PlatformThread::SetCurrentThreadType(ThreadType::kCompositing); in MULTIPROCESS_TEST_MAIN()605 PlatformThread::SetCurrentThreadType(ThreadType::kRealtimeAudio); in MULTIPROCESS_TEST_MAIN()670 PlatformThread::SetCurrentThreadType(ThreadType::kCompositing); in MULTIPROCESS_TEST_MAIN()
268 PlatformThread::SetCurrentThreadType(desired_thread_type); in UpdateThreadType()