/external/libbrillo/brillo/message_loops/ |
D | base_message_loop.cc | 66 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/ |
D | unix_task_runner.cc | 135 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/ |
D | delayed_task_manager.cc | 162 for (auto& delayed_task : ripe_delayed_tasks) { in ProcessRipeTasks() local 163 std::move(delayed_task.callback).Run(std::move(delayed_task.task)); in ProcessRipeTasks()
|
D | task_tracker_unittest.cc | 633 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()
|
D | sequence.cc | 265 bool Sequence::DelayedSortKeyWillChange(const Task& delayed_task) const { in DelayedSortKeyWillChange() 276 return delayed_task.latest_delayed_run_time() < in DelayedSortKeyWillChange()
|
D | sequence.h | 135 bool DelayedSortKeyWillChange(const Task& delayed_task) const
|
/external/libchrome/base/message_loop/ |
D | incoming_task_queue.cc | 184 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/ |
D | task_tracker_unittest.cc | 579 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/ |
D | repeating_task_unittest.cc | 337 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/ |
D | task_runner_unittest.cc | 208 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/ |
D | task_queue_impl.cc | 1069 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()
|
D | task_queue_impl.h | 525 Task MakeDelayedTask(PostedTask delayed_task, LazyNow* lazy_now) const;
|