Home
last modified time | relevance | path

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

/external/libchrome/base/task/sequence_manager/
Dtask_queue.cc33 TaskQueue::Task::Task(TaskQueue::PostedTask task, TimeTicks desired_run_time) in Task()
57 TaskQueue::PostedTask::PostedTask(OnceClosure callback, in PostedTask() function in base::sequence_manager::TaskQueue::PostedTask
68 TaskQueue::PostedTask::PostedTask(PostedTask&& move_from) in PostedTask() function in base::sequence_manager::TaskQueue::PostedTask
75 TaskQueue::PostedTask::~PostedTask() = default;
102 PostedTask(std::move(task), from_here, delay, Nestable::kNestable)); in PostDelayedTask()
109 PostedTask(std::move(task), from_here, delay, Nestable::kNonNestable)); in PostNonNestableDelayedTask()
112 bool TaskQueue::PostTaskWithMetadata(PostedTask task) { in PostTaskWithMetadata()
Dtask_queue.h56 struct BASE_EXPORT PostedTask { struct
57 PostedTask(OnceClosure callback,
62 PostedTask(PostedTask&& move_from);
63 PostedTask(const PostedTask& copy_from) = delete;
64 ~PostedTask();
141 Task(PostedTask posted_task, TimeTicks desired_run_time);
322 bool PostTaskWithMetadata(PostedTask task);
Dtask_queue_impl.h109 Task(TaskQueue::PostedTask task,
113 Task(TaskQueue::PostedTask task,
151 PostTaskResult(bool success, TaskQueue::PostedTask task);
157 static PostTaskResult Fail(TaskQueue::PostedTask task);
160 TaskQueue::PostedTask task;
185 PostTaskResult PostDelayedTask(TaskQueue::PostedTask task);
370 PostTaskResult PostImmediateTaskImpl(TaskQueue::PostedTask task);
371 PostTaskResult PostDelayedTaskImpl(TaskQueue::PostedTask task);
Dtask_queue_selector_unittest.cc112 TaskQueueImpl::Task(TaskQueue::PostedTask(test_closure_, FROM_HERE), in PushTasks()
126 TaskQueue::PostedTask(test_closure_, FROM_HERE), TimeTicks(), in PushTasksWithEnqueueOrder()
734 TaskQueue::PostedTask(test_closure_, FROM_HERE), TimeTicks(), in TEST_F()
748 TaskQueue::PostedTask(test_closure_, FROM_HERE), TimeTicks(), in TEST_F()
773 TaskQueueImpl::Task task(TaskQueue::PostedTask(test_closure_, FROM_HERE), in TEST_F()
804 TaskQueueImpl::Task task1(TaskQueue::PostedTask(test_closure_, FROM_HERE), in TEST_F()
807 TaskQueueImpl::Task task2(TaskQueue::PostedTask(test_closure_, FROM_HERE), in TEST_F()
854 TaskQueue::PostedTask(test_closure_, FROM_HERE), TimeTicks(), in TEST_P()
860 TaskQueue::PostedTask(test_closure_, FROM_HERE), TimeTicks(), in TEST_P()
Dtask_queue_impl.cc71 TaskQueue::PostedTask task) in PostTaskResult()
80 return PostTaskResult(true, TaskQueue::PostedTask(OnceClosure(), Location())); in Success()
84 TaskQueue::PostedTask task) { in Fail()
88 TaskQueueImpl::Task::Task(TaskQueue::PostedTask task, in Task()
96 TaskQueueImpl::Task::Task(TaskQueue::PostedTask task, in Task()
187 TaskQueue::PostedTask task) { in PostDelayedTask()
195 TaskQueue::PostedTask task) { in PostImmediateTaskImpl()
213 TaskQueue::PostedTask task) { in PostDelayedTaskImpl()
270 TaskQueue::PostedTask(BindOnce(&TaskQueueImpl::ScheduleDelayedWorkTask, in PushOntoDelayedIncomingQueueLocked()
Dwork_queue_unittest.cc54 TaskQueue::PostedTask(BindOnce(&Cancelable::NopTask, weak_ptr), in FakeCancelableTaskWithEnqueueOrder()
63 TaskQueue::PostedTask(BindOnce(&NopTask), FROM_HERE), TimeTicks(), in FakeTaskWithEnqueueOrder()
70 TaskQueue::PostedTask(BindOnce(&NopTask), FROM_HERE), TimeTicks(), in FakeNonNestableTaskWithEnqueueOrder()
Dwork_queue_sets_unittest.cc48 TaskQueue::PostedTask(BindOnce([] {}), FROM_HERE), TimeTicks(), in FakeTaskWithEnqueueOrder()
55 TaskQueue::PostedTask(BindOnce([] {}), FROM_HERE), TimeTicks(), in FakeNonNestableTaskWithEnqueueOrder()
/external/libchrome/base/task/sequence_manager/test/
Dfake_task.cc11 : TaskQueue::Task(TaskQueue::PostedTask(OnceClosure(), FROM_HERE), in FakeTask()