Home
last modified time | relevance | path

Searched refs:SetCurrentThreadType (Results 1 – 9 of 9) sorted by relevance

/aosp_15_r20/external/cronet/base/threading/
H A Dscoped_thread_priority_unittest.cc38 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()
H A Dscoped_thread_priority.cc25 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()
H A Dplatform_thread.cc25 void PlatformThreadBase::SetCurrentThreadType(ThreadType thread_type) { in SetCurrentThreadType() function in base::PlatformThreadBase
35 internal::SetCurrentThreadType(thread_type, message_pump_type); in SetCurrentThreadType()
63 void SetCurrentThreadType(ThreadType thread_type, in SetCurrentThreadType() function
H A Dplatform_thread_unittest.cc267 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
H A Dplatform_thread.h259 static void SetCurrentThreadType(ThreadType thread_type);
409 void SetCurrentThreadType(ThreadType thread_type,
H A Dplatform_thread_win.cc111 internal::SetCurrentThreadType(thread_params->thread_type, in ThreadFunc()
154 PlatformThread::SetCurrentThreadType(ThreadType::kDefault); in ThreadFunc()
H A Dplatform_thread_posix.cc93 PlatformThread::SetCurrentThreadType(thread_params->thread_type); in ThreadFunc()
/aosp_15_r20/external/cronet/base/process/
H A Dprocess_unittest.cc431 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()
/aosp_15_r20/external/cronet/base/task/thread_pool/
H A Dworker_thread.cc268 PlatformThread::SetCurrentThreadType(desired_thread_type); in UpdateThreadType()