Home
last modified time | relevance | path

Searched refs:PostDelayedTask (Results 1 – 25 of 88) sorted by relevance

1234

/external/libchrome/base/test/
Dtest_mock_time_task_runner_unittest.cc40 mock_time_task_runner->PostDelayedTask( in TEST()
44 mock_time_task_runner->PostDelayedTask( in TEST()
48 mock_time_task_runner->PostDelayedTask( in TEST()
53 mock_time_task_runner->PostDelayedTask( in TEST()
103 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST()
107 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST()
111 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST()
115 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST()
132 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST()
134 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST()
[all …]
Dscoped_task_environment_unittest.cc159 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST_P()
169 PostDelayedTask(FROM_HERE, in TEST_P()
180 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST_P()
188 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST_P()
281 ThreadTaskRunnerHandle::Get()->PostDelayedTask(FROM_HERE, base::DoNothing(), in TEST_F()
285 ThreadTaskRunnerHandle::Get()->PostDelayedTask(FROM_HERE, base::DoNothing(), in TEST_F()
Dtest_mock_time_task_runner.cc91 bool PostDelayedTask(const Location& from_here, in PostDelayedTask() function in base::TestMockTimeTaskRunner::NonOwningProxyTaskRunner
96 return target_->PostDelayedTask(from_here, std::move(task), delay); in PostDelayedTask()
354 bool TestMockTimeTaskRunner::PostDelayedTask(const Location& from_here, in PostDelayedTask() function in base::TestMockTimeTaskRunner
369 return PostDelayedTask(from_here, std::move(task), delay); in PostNonNestableDelayedTask()
Dtest_simple_task_runner.h45 bool PostDelayedTask(const Location& from_here,
/external/libbrillo/brillo/message_loops/
Dfake_message_loop_unittest.cc52 loop_->PostDelayedTask(Bind(callback, base::Unretained(&order), 1), in TEST_F()
54 loop_->PostDelayedTask(Bind(callback, base::Unretained(&order), 4), in TEST_F()
56 loop_->PostDelayedTask(Bind(callback, base::Unretained(&order), 3), in TEST_F()
58 loop_->PostDelayedTask(Bind(callback, base::Unretained(&order), 2), in TEST_F()
69 loop_->PostDelayedTask(base::DoNothing(), TimeDelta::FromSeconds(1)); in TEST_F()
70 loop_->PostDelayedTask(base::DoNothing(), TimeDelta::FromSeconds(2)); in TEST_F()
100 loop_->PostDelayedTask(Bind(&FakeMessageLoop::BreakLoop, in TEST_F()
104 loop_->PostDelayedTask(Bind(&FakeMessageLoop::BreakLoop, in TEST_F()
117 loop_->PostDelayedTask(base::DoNothing(), TimeDelta::FromSeconds(1)); in TEST_F()
Dmessage_loop.h52 virtual TaskId PostDelayedTask(const base::Location& from_here,
56 TaskId PostDelayedTask(const base::Closure& task, base::TimeDelta delay) { in PostDelayedTask() function
57 return PostDelayedTask(base::Location(), task, delay); in PostDelayedTask()
63 return PostDelayedTask(task, base::TimeDelta()); in PostTask()
67 return PostDelayedTask(from_here, task, base::TimeDelta()); in PostTask()
Dmock_message_loop.h35 ON_CALL(*this, PostDelayedTask(::testing::_, ::testing::_, ::testing::_)) in MockMessageLoop()
42 &FakeMessageLoop::PostDelayedTask))); in MockMessageLoop()
60 MOCK_METHOD3(PostDelayedTask,
64 using MessageLoop::PostDelayedTask;
Dfake_message_loop.h39 TaskId PostDelayedTask(const base::Location& from_here,
42 using MessageLoop::PostDelayedTask;
Dbase_message_loop.h43 TaskId PostDelayedTask(const base::Location& from_here,
46 using MessageLoop::PostDelayedTask;
Dmessage_loop_utils.cc17 MessageLoop::TaskId task_id = loop->PostDelayedTask( in MessageLoopRunUntil()
/external/libchrome/base/task/sequence_manager/
Dsequence_manager_impl_unittest.cc440 runners_[0]->PostDelayedTask(FROM_HERE, BindOnce(&TestTask, 1, &run_order), in TEST_P()
462 runners_[0]->PostDelayedTask(FROM_HERE, BindOnce(&TestTask, 1, &run_order), in TEST_P()
482 runners_[0]->PostDelayedTask(FROM_HERE, BindOnce(&NopTask), in TEST_P()
494 runners_[0]->PostDelayedTask(FROM_HERE, BindOnce(&TestTask, 1, &run_order), in TEST_P()
497 runners_[0]->PostDelayedTask(FROM_HERE, BindOnce(&TestTask, 2, &run_order), in TEST_P()
500 runners_[0]->PostDelayedTask(FROM_HERE, BindOnce(&TestTask, 3, &run_order), in TEST_P()
524 runners_[0]->PostDelayedTask(FROM_HERE, BindOnce(&TestTask, 1, &run_order), in TEST_P()
527 runners_[0]->PostDelayedTask(FROM_HERE, BindOnce(&TestTask, 2, &run_order), in TEST_P()
530 runners_[0]->PostDelayedTask(FROM_HERE, BindOnce(&TestTask, 3, &run_order), in TEST_P()
555 runners_[0]->PostDelayedTask(FROM_HERE, BindOnce(&TestTask, 1, &run_order), in TEST_P()
[all …]
Dthread_controller_impl.cc116 task_runner_->PostDelayedTask( in SetNextDelayedDoWork()
208 task_runner_->PostDelayedTask( in DoWork()
/external/perfetto/src/base/
Dtask_runner_unittest.cc84 TYPED_TEST(TaskRunnerTest, PostDelayedTask) { in TYPED_TEST() argument
87 task_runner.PostDelayedTask([&counter] { counter = (counter << 4) | 1; }, 5); in TYPED_TEST()
88 task_runner.PostDelayedTask([&counter] { counter = (counter << 4) | 2; }, 10); in TYPED_TEST()
89 task_runner.PostDelayedTask([&counter] { counter = (counter << 4) | 3; }, 15); in TYPED_TEST()
90 task_runner.PostDelayedTask([&counter] { counter = (counter << 4) | 4; }, 15); in TYPED_TEST()
91 task_runner.PostDelayedTask([&task_runner] { task_runner.Quit(); }, 20); in TYPED_TEST()
107 task_runner.PostDelayedTask([&task_runner] { task_runner.Quit(); }, 10); in TYPED_TEST()
134 task_runner.PostDelayedTask([&task_runner] { task_runner.Quit(); }, 10); in TYPED_TEST()
156 task_runner.PostDelayedTask([&task_runner] { task_runner.Quit(); }, 10); in TYPED_TEST()
172 task_runner.PostDelayedTask([&task_runner] { task_runner.Quit(); }, 10); in TYPED_TEST()
[all …]
/external/libbrillo/brillo/streams/
Dfake_stream_unittest.cc236 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, zero_delay)).Times(2); in TEST_F()
259 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, one_sec_delay)).Times(1); in TEST_F()
277 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, zero_delay)).Times(1); in TEST_F()
278 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, one_sec_delay)).Times(1); in TEST_F()
395 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, zero_delay)).Times(2); in TEST_F()
418 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, one_sec_delay)).Times(1); in TEST_F()
437 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, zero_delay)).Times(1); in TEST_F()
438 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, one_sec_delay)).Times(1); in TEST_F()
476 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, one_sec_delay)).Times(1); in TEST_F()
488 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, one_sec_delay)).Times(1); in TEST_F()
[all …]
/external/perfetto/src/base/test/
Dtest_task_runner.cc65 task_runner_.PostDelayedTask( in RunUntilCheckpoint()
99 void TestTaskRunner::PostDelayedTask(std::function<void()> closure, in PostDelayedTask() function in perfetto::base::TestTaskRunner
101 task_runner_.PostDelayedTask(std::move(closure), delay_ms); in PostDelayedTask()
/external/libchrome/base/message_loop/
Dmessage_pump_glib_unittest.cc261 loop()->task_runner()->PostDelayedTask(FROM_HERE, in TEST_F()
271 loop()->task_runner()->PostDelayedTask( in TEST_F()
472 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TestGLibLoopInternal()
475 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TestGLibLoopInternal()
505 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TestGtkLoopInternal()
508 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TestGtkLoopInternal()
Dmessage_loop_unittest.cc340 java_thread->message_loop()->task_runner()->PostDelayedTask( in RunTest_AbortDontRunMoreTasks()
385 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST_P()
427 message_loop.task_runner()->PostDelayedTask( in RunTest_PostDelayedTask_SharedTimer_SubPump()
432 message_loop.task_runner()->PostDelayedTask(FROM_HERE, in RunTest_PostDelayedTask_SharedTimer_SubPump()
889 loop.task_runner()->PostDelayedTask( in TEST_P()
905 loop.task_runner()->PostDelayedTask( in TEST_P()
910 loop.task_runner()->PostDelayedTask( in TEST_P()
936 loop.task_runner()->PostDelayedTask( in TEST_P()
938 loop.task_runner()->PostDelayedTask( in TEST_P()
960 loop.task_runner()->PostDelayedTask( in TEST_P()
[all …]
Dmessage_loop_task_runner.h34 bool PostDelayedTask(const Location& from_here,
/external/libchrome/base/task_scheduler/
Dscheduler_worker_pool.cc57 bool PostDelayedTask(const Location& from_here, in PostDelayedTask() function in base::internal::SchedulerParallelTaskRunner
95 bool PostDelayedTask(const Location& from_here, in PostDelayedTask() function in base::internal::SchedulerSequencedTaskRunner
112 return PostDelayedTask(from_here, std::move(closure), delay); in PostNonNestableDelayedTask()
Dpost_task.cc46 PostDelayedTask(from_here, std::move(task), TimeDelta()); in PostTask()
49 void PostDelayedTask(const Location& from_here, in PostDelayedTask() function
/external/perfetto/tools/dump_ftrace_stats/
Dmain.cc69 g_task_runner->PostDelayedTask(&DumpAllCpuStats, 500); in DumpAllCpuStats()
103 g_task_runner->PostDelayedTask(&DumpAllCpuStats, 500); in DumpAllCpuStats()
/external/libchrome/base/
Dtask_runner.h69 virtual bool PostDelayedTask(const Location& from_here,
Dtask_runner.cc44 return PostDelayedTask(from_here, std::move(task), base::TimeDelta()); in PostTask()
/external/perfetto/include/perfetto/base/
Dtask_runner.h55 virtual void PostDelayedTask(std::function<void()>, uint32_t delay_ms) = 0;
/external/v8/src/libplatform/
Ddefault-worker-threads-task-runner.h29 void PostDelayedTask(std::unique_ptr<Task> task, in NON_EXPORTED_BASE()

1234