Home
last modified time | relevance | path

Searched refs:delayed_tasks_ (Results 1 – 6 of 6) sorted by relevance

/external/libbrillo/brillo/message_loops/
Dbase_message_loop.cc69 for (const auto& delayed_task : delayed_tasks_) { in ~BaseMessageLoop()
99 delayed_tasks_.emplace(task_id, in PostDelayedTask()
171 auto delayed_task_it = delayed_tasks_.find(task_id); in CancelTask()
172 if (delayed_task_it == delayed_tasks_.end()) { in CancelTask()
240 delayed_tasks_.find(res) != delayed_tasks_.end() || in NextTaskId()
246 auto task_it = delayed_tasks_.find(task_id); in OnRanPostedTask()
247 DCHECK(task_it != delayed_tasks_.end()); in OnRanPostedTask()
265 delayed_tasks_.erase(task_it); in OnRanPostedTask()
Dbase_message_loop.h162 std::map<MessageLoop::TaskId, DelayedTask> delayed_tasks_; variable
/external/perfetto/src/base/
Dandroid_task_runner.cc121 if (delayed_tasks_.empty()) in RunDelayedTask()
123 auto it = delayed_tasks_.begin(); in RunDelayedTask()
126 delayed_tasks_.erase(it); in RunDelayedTask()
127 if (!delayed_tasks_.empty()) in RunDelayedTask()
128 next_wake_up = delayed_tasks_.begin()->first; in RunDelayedTask()
172 auto it = delayed_tasks_.insert(std::make_pair(runtime, std::move(task))); in PostDelayedTask()
173 if (it == delayed_tasks_.begin()) in PostDelayedTask()
Dunix_task_runner.cc129 if (!delayed_tasks_.empty()) { in RunImmediateAndDelayedTask()
130 auto it = delayed_tasks_.begin(); in RunImmediateAndDelayedTask()
133 delayed_tasks_.erase(it); in RunImmediateAndDelayedTask()
202 if (!delayed_tasks_.empty()) { in GetDelayMsToNextTaskLocked()
203 TimeMillis diff = delayed_tasks_.begin()->first - GetWallTimeMs(); in GetDelayMsToNextTaskLocked()
225 delayed_tasks_.insert(std::make_pair(runtime, std::move(task))); in PostDelayedTask()
/external/perfetto/include/perfetto/base/
Dandroid_task_runner.h82 std::multimap<TimeMillis, std::function<void()>> delayed_tasks_; variable
Dunix_task_runner.h78 std::multimap<TimeMillis, std::function<void()>> delayed_tasks_; variable