Home
last modified time | relevance | path

Searched refs:SetTaskRunner (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/base/timer/
Dmock_timer.cc29 OneShotTimer::SetTaskRunner(test_task_runner_); in MockOneShotTimer()
34 void MockOneShotTimer::SetTaskRunner( in SetTaskRunner() function in base::MockOneShotTimer
48 RepeatingTimer::SetTaskRunner(test_task_runner_); in MockRepeatingTimer()
53 void MockRepeatingTimer::SetTaskRunner( in SetTaskRunner() function in base::MockRepeatingTimer
67 RetainingOneShotTimer::SetTaskRunner(test_task_runner_); in MockRetainingOneShotTimer()
72 void MockRetainingOneShotTimer::SetTaskRunner( in SetTaskRunner() function in base::MockRetainingOneShotTimer
Dmock_timer.h30 void SetTaskRunner(scoped_refptr<SequencedTaskRunner> task_runner) override;
49 void SetTaskRunner(scoped_refptr<SequencedTaskRunner> task_runner) override;
68 void SetTaskRunner(scoped_refptr<SequencedTaskRunner> task_runner) override;
Dtimer_unittest.cc110 void SetTaskRunner(scoped_refptr<SequencedTaskRunner> task_runner) { in SetTaskRunner() function in base::__anon487ef86c0111::OneShotTimerTester
111 timer_->SetTaskRunner(std::move(task_runner)); in SetTaskRunner()
421 f.SetTaskRunner(other_thread.task_runner()); in TEST()
439 message_loop.SetTaskRunner(task_runner); in TEST()
480 message_loop.SetTaskRunner(task_runner); in TEST()
520 message_loop.SetTaskRunner(task_runner); in TEST()
752 timer_->SetTaskRunner(std::move(task_runner)); in SetTaskRunnerForTimer()
Dtimer.h119 virtual void SetTaskRunner(scoped_refptr<SequencedTaskRunner> task_runner);
Dtimer.cc118 void Timer::SetTaskRunner(scoped_refptr<SequencedTaskRunner> task_runner) { in SetTaskRunner() function in base::Timer
/external/libchrome/base/task/sequence_manager/
Dthread_controller_impl.cc132 message_loop_->SetTaskRunner(task_runner); in SetDefaultTaskRunner()
138 message_loop_->SetTaskRunner(message_loop_task_runner_); in RestoreDefaultTaskRunner()
/external/libchrome/base/message_loop/
Dmessage_loop_current.cc56 void MessageLoopCurrent::SetTaskRunner( in SetTaskRunner() function in base::MessageLoopCurrent
59 current_->SetTaskRunner(std::move(task_runner)); in SetTaskRunner()
Dmessage_loop_current.h99 void SetTaskRunner(scoped_refptr<SingleThreadTaskRunner> task_runner);
Dmessage_loop.h178 void SetTaskRunner(scoped_refptr<SingleThreadTaskRunner> task_runner);
Dmessage_loop.cc377 void MessageLoop::SetTaskRunner( in SetTaskRunner() function in base::MessageLoop
Dmessage_loop_unittest.cc2132 TEST_P(MessageLoopTest, SetTaskRunner) { in TEST_P() argument
2136 loop.SetTaskRunner(new_runner); in TEST_P()
2145 loop.SetTaskRunner(new_runner); in TEST_P()