Home
last modified time | relevance | path

Searched refs:TestSimpleTaskRunner (Results 1 – 14 of 14) 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/threading/
Dthread_task_runner_handle_unittest.cc15 scoped_refptr<SingleThreadTaskRunner> task_runner(new TestSimpleTaskRunner); in TEST()
27 scoped_refptr<SingleThreadTaskRunner> task_runner(new TestSimpleTaskRunner); in TEST()
29 new TestSimpleTaskRunner); in TEST()
37 scoped_refptr<SingleThreadTaskRunner> task_runner_1(new TestSimpleTaskRunner); in TEST()
38 scoped_refptr<SingleThreadTaskRunner> task_runner_2(new TestSimpleTaskRunner); in TEST()
39 scoped_refptr<SingleThreadTaskRunner> task_runner_3(new TestSimpleTaskRunner); in TEST()
40 scoped_refptr<SingleThreadTaskRunner> task_runner_4(new TestSimpleTaskRunner); in TEST()
85 scoped_refptr<SingleThreadTaskRunner> task_runner_1(new TestSimpleTaskRunner); in TEST()
86 scoped_refptr<SingleThreadTaskRunner> task_runner_2(new TestSimpleTaskRunner); in TEST()
112 scoped_refptr<SingleThreadTaskRunner> task_runner(new TestSimpleTaskRunner); in TEST()
[all …]
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()
Dsequenced_task_runner_handle_unittest.cc76 scoped_refptr<SequencedTaskRunner> test_task_runner(new TestSimpleTaskRunner); in TEST()
/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/components/policy/core/common/
Dpolicy_statistics_collector_unittest.cc78 task_runner_(new base::TestSimpleTaskRunner()) { in PolicyStatisticsCollectorTest()
133 scoped_refptr<base::TestSimpleTaskRunner> task_runner_;
/external/libchrome/base/test/metrics/
Duser_action_tester.cc14 : task_runner_(new base::TestSimpleTaskRunner), in UserActionTester()
/external/libchrome/base/task_scheduler/
Dtask_tracker_unittest.cc539 scoped_refptr<SequencedTaskRunner> test_task_runner(new TestSimpleTaskRunner); in TEST_P()
564 new TestSimpleTaskRunner); in TEST_P()
Dscheduler_worker_pool_impl_unittest.cc1326 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()