Home
last modified time | relevance | path

Searched refs:task_tracker_ (Results 1 – 7 of 7) sorted by relevance

/external/libchrome/base/task/
Dcancelable_task_tracker_unittest.cc36 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/
Dscoped_task_environment.cc121 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()
Dscoped_task_environment.h165 TestTaskTracker* const task_tracker_; variable
/external/libchrome/base/task_scheduler/
Dscheduler_worker_pool_unittest.cc117 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()
Dservice_thread.cc28 : 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()
Dscheduler_worker_pool.cc148 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()
Dservice_thread.h47 const TaskTracker* const task_tracker_; variable