Home
last modified time | relevance | path

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

/external/cronet/base/task/thread_pool/
Denvironment_config_unittest.cc16 EXPECT_TRUE(CanUseBackgroundThreadTypeForWorkerThread()); in TEST()
19 EXPECT_FALSE(CanUseBackgroundThreadTypeForWorkerThread()); in TEST()
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()
Denvironment_config.cc62 bool CanUseBackgroundThreadTypeForWorkerThread() { in CanUseBackgroundThreadTypeForWorkerThread() function
Denvironment_config.h51 bool BASE_EXPORT CanUseBackgroundThreadTypeForWorkerThread();
Dthread_pool_impl_unittest.cc84 CanUseBackgroundThreadTypeForWorkerThread(); in TraitsSupportBackgroundThreadType()
1170 CanUseBackgroundThreadTypeForWorkerThread() ? 1 : 0; in TEST_P()
1181 CanUseBackgroundThreadTypeForWorkerThread() ? 2 : 0; in TEST_P()
1340 CanUseBackgroundThreadTypeForWorkerThread()); in TEST_P()
1468 expected_previous_event = CanUseBackgroundThreadTypeForWorkerThread() in CreateTaskRunnersAndEvents()
Dworker_thread.cc150 DCHECK(CanUseBackgroundThreadTypeForWorkerThread() || in WorkerThread()
Dthread_pool_impl.cc92 if (CanUseBackgroundThreadTypeForWorkerThread()) { in ThreadPoolImpl()
Dthread_group_impl_unittest.cc536 if (!CanUseBackgroundThreadTypeForWorkerThread()) in CreateAndStartThreadGroup()
551 if (!CanUseBackgroundThreadTypeForWorkerThread()) in TEST_F()
Dpooled_single_thread_task_runner_manager.cc67 CanUseBackgroundThreadTypeForWorkerThread(); in GetEnvironmentIndexForTraits()
Dworker_thread_unittest.cc797 if (!CanUseBackgroundThreadTypeForWorkerThread()) in TEST()
/external/cronet/base/threading/
Dscoped_blocking_call_internal.cc62 CanUseBackgroundThreadTypeForWorkerThread(); in IsBackgroundPriorityWorker()
Dscoped_blocking_call_unittest.cc731 if (internal::CanUseBackgroundThreadTypeForWorkerThread()) in TEST_F()
777 if (internal::CanUseBackgroundThreadTypeForWorkerThread()) in TEST_F()