Home
last modified time | relevance | path

Searched refs:test_task_runner_ (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/timer/
Dmock_timer.cc28 test_task_runner_(MakeRefCounted<TestSimpleTaskRunner>()) { in MockOneShotTimer()
29 OneShotTimer::SetTaskRunner(test_task_runner_); in MockOneShotTimer()
42 FlushPendingTasks(test_task_runner_.get()); in Fire()
47 test_task_runner_(MakeRefCounted<TestSimpleTaskRunner>()) { in MockRepeatingTimer()
48 RepeatingTimer::SetTaskRunner(test_task_runner_); in MockRepeatingTimer()
61 FlushPendingTasks(test_task_runner_.get()); in Fire()
66 test_task_runner_(MakeRefCounted<TestSimpleTaskRunner>()) { in MockRetainingOneShotTimer()
67 RetainingOneShotTimer::SetTaskRunner(test_task_runner_); in MockRetainingOneShotTimer()
80 FlushPendingTasks(test_task_runner_.get()); in Fire()
Dmock_timer.h33 scoped_refptr<TestSimpleTaskRunner> test_task_runner_; variable
52 scoped_refptr<TestSimpleTaskRunner> test_task_runner_; variable
71 scoped_refptr<TestSimpleTaskRunner> test_task_runner_; variable
/external/libchrome/base/task/sequence_manager/
Dsequence_manager_impl_unittest.cc95 test_task_runner_ = WrapRefCounted(new TestMockTimeTaskRunner( in SetUp()
98 test_task_runner_->AdvanceMockTickClock(TimeDelta::FromMilliseconds(1)); in SetUp()
103 test_task_runner_->GetMockTickClock()); in SetUp()
107 return test_task_runner_->GetMockTickClock(); in GetTickClock()
113 test_task_runner_->PostTask(FROM_HERE, run_loop.QuitClosure()); in RunPendingTasks()
133 test_task_runner_->AdvanceMockTickClock(*delay); in RunUntilManagerIsIdle()
143 scoped_refptr<TestMockTimeTaskRunner> test_task_runner_; member in base::sequence_manager::internal::sequence_manager_impl_unittest::SequenceManagerTest
443 test_task_runner_->AdvanceMockTickClock(delay); in TEST_P()
465 test_task_runner_->NextPendingTaskDelay()); in TEST_P()
470 test_task_runner_->FastForwardBy(TimeDelta::FromMilliseconds(9)); in TEST_P()
[all …]