Home
last modified time | relevance | path

Searched refs:delayed_task (Results 1 – 12 of 12) sorted by relevance

/external/libbrillo/brillo/message_loops/
Dbase_message_loop.cc66 for (const auto& delayed_task : delayed_tasks_) { in ~BaseMessageLoop() local
67 if (delayed_task.second.closure.is_null()) { in ~BaseMessageLoop()
70 DVLOG_LOC(delayed_task.second.location, 1) in ~BaseMessageLoop()
71 << "Removing delayed task_id " << delayed_task.first in ~BaseMessageLoop()
/external/perfetto/src/base/
Dunix_task_runner.cc135 std::function<void()> delayed_task; in RunImmediateAndDelayedTask() local
146 delayed_task = std::move(it->second); in RunImmediateAndDelayedTask()
156 if (delayed_task) in RunImmediateAndDelayedTask()
157 RunTaskWithWatchdogGuard(delayed_task); in RunImmediateAndDelayedTask()
/external/cronet/base/task/thread_pool/
Ddelayed_task_manager.cc162 for (auto& delayed_task : ripe_delayed_tasks) { in ProcessRipeTasks() local
163 std::move(delayed_task.callback).Run(std::move(delayed_task.task)); in ProcessRipeTasks()
Dtask_tracker_unittest.cc633 Task delayed_task(FROM_HERE, DoNothing(), TimeTicks::Now(), Days(1)); in TEST_P() local
634 tracker_.WillPostTask(&delayed_task, GetParam()); in TEST_P()
640 Task delayed_task(FROM_HERE, DoNothing(), TimeTicks::Now(), Days(1)); in TEST_P() local
641 tracker_.WillPostTask(&delayed_task, GetParam()); in TEST_P()
776 Task delayed_task(FROM_HERE, DoNothing(), TimeTicks::Now(), Days(1)); in TEST_P() local
778 WillPostTaskAndQueueTaskSource(std::move(delayed_task), {GetParam()}); in TEST_P()
805 Task delayed_task(FROM_HERE, DoNothing(), TimeTicks::Now(), Days(1)); in TEST_P() local
807 WillPostTaskAndQueueTaskSource(std::move(delayed_task), {GetParam()}); in TEST_P()
931 Task delayed_task(FROM_HERE, DoNothing(), TimeTicks::Now(), Days(1)); in TEST_P() local
933 WillPostTaskAndQueueTaskSource(std::move(delayed_task), {GetParam()}); in TEST_P()
Dsequence.cc265 bool Sequence::DelayedSortKeyWillChange(const Task& delayed_task) const { in DelayedSortKeyWillChange()
276 return delayed_task.latest_delayed_run_time() < in DelayedSortKeyWillChange()
Dsequence.h135 bool DelayedSortKeyWillChange(const Task& delayed_task) const
/external/libchrome/base/message_loop/
Dincoming_task_queue.cc184 PendingTask delayed_task = std::move(const_cast<PendingTask&>(queue_.top())); in Pop() local
187 if (delayed_task.is_high_res) in Pop()
191 return delayed_task; in Pop()
/external/libchrome/base/task_scheduler/
Dtask_tracker_unittest.cc579 Task delayed_task(FROM_HERE, DoNothing(), TaskTraits(GetParam()), in TEST_P() local
581 tracker_.WillPostTask(&delayed_task); in TEST_P()
587 Task delayed_task(FROM_HERE, DoNothing(), TaskTraits(GetParam()), in TEST_P() local
589 tracker_.WillPostTask(&delayed_task); in TEST_P()
690 Task delayed_task(FROM_HERE, DoNothing(), TaskTraits(GetParam()), in TEST_P() local
692 tracker_.WillPostTask(&delayed_task); in TEST_P()
703 DispatchAndRunTaskWithTracker(std::move(delayed_task)); in TEST_P()
719 Task delayed_task(FROM_HERE, DoNothing(), TaskTraits(GetParam()), in TEST_P() local
721 tracker_.WillPostTask(&delayed_task); in TEST_P()
734 DispatchAndRunTaskWithTracker(std::move(delayed_task)); in TEST_P()
/external/webrtc/rtc_base/task_utils/
Drepeating_task_unittest.cc337 absl::AnyInvocable<void() &&> delayed_task; in TEST() local
345 delayed_task = std::move(task); in TEST()
360 absl::AnyInvocable<void()&&> task_to_run = std::move(delayed_task); in TEST()
363 EXPECT_NE(delayed_task, nullptr); in TEST()
/external/openscreen/platform/impl/
Dtask_runner_unittest.cc208 const auto delayed_task = [&ran_tasks] { ran_tasks += "A"; }; in TEST() local
210 runner.PostTaskWithDelay(delayed_task, milliseconds(10000)); in TEST()
/external/cronet/base/task/sequence_manager/
Dtask_queue_impl.cc1069 Task TaskQueueImpl::MakeDelayedTask(PostedTask delayed_task, in MakeDelayedTask() argument
1079 delayed_task.delay_or_delayed_run_time)) { in MakeDelayedTask()
1080 delay = absl::get<base::TimeDelta>(delayed_task.delay_or_delayed_run_time); in MakeDelayedTask()
1081 delayed_task.delay_or_delayed_run_time = lazy_now->Now() + delay; in MakeDelayedTask()
1085 delay = absl::get<base::TimeTicks>(delayed_task.delay_or_delayed_run_time) - in MakeDelayedTask()
1099 return Task(std::move(delayed_task), sequence_number, EnqueueOrder(), in MakeDelayedTask()
Dtask_queue_impl.h525 Task MakeDelayedTask(PostedTask delayed_task, LazyNow* lazy_now) const;