Home
last modified time | relevance | path

Searched refs:CanUseBackgroundThreadTypeForWorkerThread (Results 1 – 13 of 13) sorted by relevance

/aosp_15_r20/external/cronet/base/task/thread_pool/
H A Dpooled_single_thread_task_runner_manager_unittest.cc267 CanUseBackgroundThreadTypeForWorkerThread() ? ThreadType::kBackground in TEST_P()
271 CanUseBackgroundThreadTypeForWorkerThread() ? ThreadType::kBackground in TEST_P()
328 CanUseBackgroundThreadTypeForWorkerThread() ? background in TEST_P()
332 CanUseBackgroundThreadTypeForWorkerThread() ? background in TEST_P()
351 CanUseBackgroundThreadTypeForWorkerThread() ? background_blocking in TEST_P()
355 CanUseBackgroundThreadTypeForWorkerThread() ? background_blocking in TEST_P()
H A Denvironment_config_unittest.cc16 EXPECT_TRUE(CanUseBackgroundThreadTypeForWorkerThread()); in TEST()
19 EXPECT_FALSE(CanUseBackgroundThreadTypeForWorkerThread()); in TEST()
H A Dthread_pool_impl_unittest.cc84 CanUseBackgroundThreadTypeForWorkerThread(); in TraitsSupportBackgroundThreadType()
1172 CanUseBackgroundThreadTypeForWorkerThread() ? 1 : 0; in TEST_P()
1183 CanUseBackgroundThreadTypeForWorkerThread() ? 2 : 0; in TEST_P()
1342 CanUseBackgroundThreadTypeForWorkerThread()); in TEST_P()
1471 CanUseBackgroundThreadTypeForWorkerThread() || in CreateTaskRunnersAndEvents()
H A Denvironment_config.cc62 bool CanUseBackgroundThreadTypeForWorkerThread() { in CanUseBackgroundThreadTypeForWorkerThread() function
H A Denvironment_config.h51 bool BASE_EXPORT CanUseBackgroundThreadTypeForWorkerThread();
H A Dworker_thread.cc156 DCHECK(CanUseBackgroundThreadTypeForWorkerThread() || in WorkerThread()
H A Dthread_group_semaphore_unittest.cc540 if (!CanUseBackgroundThreadTypeForWorkerThread()) { in CreateAndStartThreadGroup()
556 if (!CanUseBackgroundThreadTypeForWorkerThread()) { in TEST_F()
H A Dthread_group_impl_unittest.cc536 if (!CanUseBackgroundThreadTypeForWorkerThread()) in CreateAndStartThreadGroup()
551 if (!CanUseBackgroundThreadTypeForWorkerThread()) in TEST_F()
H A Dthread_pool_impl.cc95 if (CanUseBackgroundThreadTypeForWorkerThread()) { in ThreadPoolImpl()
H A Dpooled_single_thread_task_runner_manager.cc68 CanUseBackgroundThreadTypeForWorkerThread(); in GetEnvironmentIndexForTraits()
H A Dworker_thread_waitable_event_unittest.cc902 if (!CanUseBackgroundThreadTypeForWorkerThread()) { in TYPED_TEST()
/aosp_15_r20/external/cronet/base/threading/
H A Dscoped_blocking_call_internal.cc62 CanUseBackgroundThreadTypeForWorkerThread(); in IsBackgroundPriorityWorker()
H A Dscoped_blocking_call_unittest.cc731 if (internal::CanUseBackgroundThreadTypeForWorkerThread()) in TEST_F()
777 if (internal::CanUseBackgroundThreadTypeForWorkerThread()) in TEST_F()