Home
last modified time | relevance | path

Searched refs:delayed_task (Results 1 – 6 of 6) 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/webrtc/rtc_base/task_utils/
Drepeating_task_unittest.cc247 std::unique_ptr<QueuedTask> delayed_task; in TEST() local
254 Invoke([&delayed_task, &expected_ms](std::unique_ptr<QueuedTask> task, in TEST()
257 delayed_task = std::move(task); in TEST()
272 QueuedTask* task_to_run = delayed_task.release(); in TEST()
275 EXPECT_NE(nullptr, delayed_task.get()); in TEST()
/external/perfetto/src/base/
Dunix_task_runner.cc132 std::function<void()> delayed_task; in RunImmediateAndDelayedTask() local
143 delayed_task = std::move(it->second); in RunImmediateAndDelayedTask()
153 if (delayed_task) in RunImmediateAndDelayedTask()
154 RunTaskWithWatchdogGuard(delayed_task); in RunImmediateAndDelayedTask()
/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/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()