Home
last modified time | relevance | path

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

/external/cronet/base/task/thread_pool/
Dtask_tracker.cc156 bool HasShutdownStarted() const { in HasShutdownStarted() function in base::internal::TaskTracker::State
237 DCHECK(!state_->HasShutdownStarted()); in StartShutdown()
312 if (state_->HasShutdownStarted()) { in WillPostTask()
341 if (!task.delayed_run_time.is_null() && state_->HasShutdownStarted()) in WillPostTaskNow()
396 if (!task->delayed_run_time.is_null() && state_->HasShutdownStarted()) in RunAndPopNextTask()
411 bool TaskTracker::HasShutdownStarted() const { in HasShutdownStarted() function in base::internal::TaskTracker
412 return state_->HasShutdownStarted(); in HasShutdownStarted()
521 return !state_->HasShutdownStarted(); in BeforeQueueTaskSource()
535 DCHECK(!state_->HasShutdownStarted() || !IsShutdownComplete()); in BeforeRunTask()
556 return !state_->HasShutdownStarted(); in BeforeRunTask()
Dtask_tracker.h130 bool HasShutdownStarted() const;
Dworker_thread.cc292 if (task_tracker_->HasShutdownStarted()) in GetDesiredThreadType()
Dthread_pool_impl.cc559 task_tracker_->HasShutdownStarted()) { in UpdateCanRunPolicy()
Dtask_tracker_unittest.cc187 ASSERT_TRUE(tracker_.HasShutdownStarted()); in ExpectAsyncCompleteShutdownBlocks()
205 EXPECT_TRUE(tracker_.HasShutdownStarted()); in VerifyAsyncShutdownInProgress()
/external/libchrome/base/task_scheduler/
Dtask_tracker.cc153 bool HasShutdownStarted() const { in HasShutdownStarted() function in base::internal::TaskTracker::State
428 bool TaskTracker::HasShutdownStarted() const { in HasShutdownStarted() function in base::internal::TaskTracker
429 return state_->HasShutdownStarted(); in HasShutdownStarted()
549 DCHECK(!state_->HasShutdownStarted()); in PerformShutdown()
703 return !state_->HasShutdownStarted(); in BeforePostTask()
717 DCHECK(!state_->HasShutdownStarted() || !IsShutdownComplete()); in BeforeRunTask()
742 return !state_->HasShutdownStarted(); in BeforeRunTask()
764 DCHECK(state_->HasShutdownStarted()); in OnBlockingShutdownTasksComplete()
Dtask_tracker.h164 bool HasShutdownStarted() const;
Dscheduler_worker.cc163 if (task_tracker_->HasShutdownStarted()) in GetDesiredThreadPriority()
Dtask_tracker_unittest.cc194 while (!tracker_.HasShutdownStarted()) in CallShutdownAsync()
208 EXPECT_TRUE(tracker_.HasShutdownStarted()); in VerifyAsyncShutdownInProgress()