Searched refs:task_tracker_ (Results 1 – 7 of 7) sorted by relevance
/external/libchrome/base/task/ |
D | cancelable_task_tracker_unittest.cc | 36 CancelableTaskTracker task_tracker_; member in base::__anon420444740111::CancelableTaskTrackerTest 88 ignore_result(task_tracker_.PostTask(worker_thread.task_runner().get(), in TEST_F() 92 ignore_result(task_tracker_.PostTaskAndReply( in TEST_F() 97 ignore_result(task_tracker_.NewTrackedTaskId(&is_canceled)); in TEST_F() 112 CancelableTaskTracker::TaskId task_id = task_tracker_.PostTask( in TEST_F() 118 task_tracker_.TryCancel(task_id); in TEST_F() 131 task_tracker_.PostTaskAndReply(test_task_runner.get(), in TEST_F() 137 task_tracker_.TryCancel(task_id); in TEST_F() 150 task_tracker_.PostTaskAndReply(test_task_runner.get(), in TEST_F() 158 task_tracker_.TryCancel(task_id); in TEST_F() [all …]
|
/external/libchrome/base/test/ |
D | scoped_task_environment.cc | 121 task_tracker_(new TestTaskTracker()) { in ScopedTaskEnvironment() 137 "ScopedTaskEnvironment", WrapUnique(task_tracker_))); in ScopedTaskEnvironment() 143 CHECK(task_tracker_->DisallowRunTasks()); in ScopedTaskEnvironment() 154 task_tracker_->AllowRunTasks(); in ~ScopedTaskEnvironment() 210 task_tracker_->AllowRunTasks(); in RunUntilIdle() 223 if (!task_tracker_->DisallowRunTasks()) in RunUntilIdle() 250 if (!task_tracker_->HasIncompleteUndelayedTasksForTesting()) in RunUntilIdle() 257 task_tracker_->AllowRunTasks(); in RunUntilIdle()
|
D | scoped_task_environment.h | 165 TestTaskTracker* const task_tracker_; variable
|
/external/libchrome/base/task_scheduler/ |
D | scheduler_worker_pool_unittest.cc | 117 task_tracker_.GetTrackedRef(), &delayed_task_manager_); in CreateWorkerPool() 122 task_tracker_.GetTrackedRef(), &delayed_task_manager_); in CreateWorkerPool() 153 TaskTracker task_tracker_ = {"Test"}; member in base::internal::__anondfc7130c0111::TaskSchedulerWorkerPoolTest 186 task_tracker_.FlushForTesting(); in TEST_P() 208 task_tracker_.FlushForTesting(); in TEST_P() 216 task_tracker_.Shutdown(); in TEST_P() 227 task_tracker_.Shutdown(); in TEST_P() 317 task_tracker_.FlushForTesting(); in TEST_P()
|
D | service_thread.cc | 28 : Thread("TaskSchedulerServiceThread"), task_tracker_(task_tracker) {} in ServiceThread() 39 if (task_tracker_ && TaskScheduler::GetInstance()) { in Init() 87 BindOnce(&TaskTracker::RecordLatencyHistogram, Unretained(task_tracker_), in PerformHeartbeatLatencyReport()
|
D | scheduler_worker_pool.cc | 148 if (!task_tracker_->WillPostTask(&task)) in PostTaskWithSequence() 173 : task_tracker_(std::move(task_tracker)), in SchedulerWorkerPool() 175 DCHECK(task_tracker_); in SchedulerWorkerPool() 212 sequence = task_tracker_->WillScheduleSequence(std::move(sequence), this); in PostTaskWithSequenceNow()
|
D | service_thread.h | 47 const TaskTracker* const task_tracker_; variable
|