Home
last modified time | relevance | path

Searched refs:TestSimpleTaskRunner (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/base/test/
Dtest_simple_task_runner.cc15 TestSimpleTaskRunner::TestSimpleTaskRunner() = default;
17 TestSimpleTaskRunner::~TestSimpleTaskRunner() = default;
19 bool TestSimpleTaskRunner::PostDelayedTask(const Location& from_here, in PostDelayedTask()
29 bool TestSimpleTaskRunner::PostNonNestableDelayedTask(const Location& from_here, in PostNonNestableDelayedTask()
42 bool TestSimpleTaskRunner::RunsTasksInCurrentSequence() const { in RunsTasksInCurrentSequence()
46 base::circular_deque<TestPendingTask> TestSimpleTaskRunner::TakePendingTasks() { in TakePendingTasks()
51 size_t TestSimpleTaskRunner::NumPendingTasks() const { in NumPendingTasks()
56 bool TestSimpleTaskRunner::HasPendingTask() const { in HasPendingTask()
61 base::TimeDelta TestSimpleTaskRunner::NextPendingTaskDelay() const { in NextPendingTaskDelay()
66 base::TimeDelta TestSimpleTaskRunner::FinalPendingTaskDelay() const { in FinalPendingTaskDelay()
[all …]
Dtest_simple_task_runner.h40 class TestSimpleTaskRunner : public SingleThreadTaskRunner {
42 TestSimpleTaskRunner();
73 ~TestSimpleTaskRunner() override;
84 DISALLOW_COPY_AND_ASSIGN(TestSimpleTaskRunner);
/external/libchrome/base/task/
Dcancelable_task_tracker_unittest.cc109 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()
110 new TestSimpleTaskRunner()); in TEST_F()
127 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()
128 new TestSimpleTaskRunner()); in TEST_F()
146 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()
147 new TestSimpleTaskRunner()); in TEST_F()
213 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()
214 new TestSimpleTaskRunner()); in TEST_F()
242 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()
243 new TestSimpleTaskRunner()); in TEST_F()
[all …]
/external/libchrome/base/timer/
Dmock_timer.h13 class TestSimpleTaskRunner; variable
33 scoped_refptr<TestSimpleTaskRunner> test_task_runner_;
52 scoped_refptr<TestSimpleTaskRunner> test_task_runner_;
71 scoped_refptr<TestSimpleTaskRunner> test_task_runner_;
Dmock_timer.cc13 void FlushPendingTasks(TestSimpleTaskRunner* task_runner) { in FlushPendingTasks()
28 test_task_runner_(MakeRefCounted<TestSimpleTaskRunner>()) { in MockOneShotTimer()
47 test_task_runner_(MakeRefCounted<TestSimpleTaskRunner>()) { in MockRepeatingTimer()
66 test_task_runner_(MakeRefCounted<TestSimpleTaskRunner>()) { in MockRetainingOneShotTimer()
/external/libchrome/base/threading/
Dthread_checker_unittest.cc66 MakeRefCounted<TestSimpleTaskRunner>()); in ExpectNotCalledOnValidThreadWithSequenceTokenAndThreadTaskRunnerHandle()
82 MakeRefCounted<TestSimpleTaskRunner>()); in TEST()
133 MakeRefCounted<TestSimpleTaskRunner>()); in TEST()
150 MakeRefCounted<TestSimpleTaskRunner>()); in TEST()
183 MakeRefCounted<TestSimpleTaskRunner>()); in TEST()
/external/libchrome/base/message_loop/
Dmessage_loop_unittest.cc2134 scoped_refptr<SingleThreadTaskRunner> new_runner(new TestSimpleTaskRunner()); in TEST_P()
2143 scoped_refptr<SingleThreadTaskRunner> new_runner(new TestSimpleTaskRunner()); in TEST_P()
/external/libchrome/base/task/sequence_manager/
Dsequence_manager_impl_unittest.cc3114 MakeRefCounted<TestSimpleTaskRunner>(); in TEST_P()