Home
last modified time | relevance | path

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

/external/perfetto/src/base/
Dandroid_task_runner.cc113 if (delayed_tasks_.empty()) in RunDelayedTask()
115 auto it = delayed_tasks_.begin(); in RunDelayedTask()
118 delayed_tasks_.erase(it); in RunDelayedTask()
119 if (!delayed_tasks_.empty()) in RunDelayedTask()
120 next_wake_up = delayed_tasks_.begin()->first; in RunDelayedTask()
160 auto it = delayed_tasks_.insert(std::make_pair(runtime, std::move(task))); in PostDelayedTask()
161 if (it == delayed_tasks_.begin()) in PostDelayedTask()
Dunix_task_runner.cc106 if (!delayed_tasks_.empty()) { in RunImmediateAndDelayedTask()
107 auto it = delayed_tasks_.begin(); in RunImmediateAndDelayedTask()
110 delayed_tasks_.erase(it); in RunImmediateAndDelayedTask()
173 if (!delayed_tasks_.empty()) { in GetDelayMsToNextTaskLocked()
174 TimeMillis diff = delayed_tasks_.begin()->first - GetWallTimeMs(); in GetDelayMsToNextTaskLocked()
196 delayed_tasks_.insert(std::make_pair(runtime, std::move(task))); in PostDelayedTask()
/external/libbrillo/brillo/message_loops/
Dbase_message_loop.cc70 for (const auto& delayed_task : delayed_tasks_) { in ~BaseMessageLoop()
100 delayed_tasks_.emplace(task_id, in PostDelayedTask()
172 auto delayed_task_it = delayed_tasks_.find(task_id); in CancelTask()
173 if (delayed_task_it == delayed_tasks_.end()) { in CancelTask()
241 delayed_tasks_.find(res) != delayed_tasks_.end() || in NextTaskId()
247 auto task_it = delayed_tasks_.find(task_id); in OnRanPostedTask()
248 DCHECK(task_it != delayed_tasks_.end()); in OnRanPostedTask()
266 delayed_tasks_.erase(task_it); in OnRanPostedTask()
Dbase_message_loop.h163 std::map<MessageLoop::TaskId, DelayedTask> delayed_tasks_; variable
/external/libchrome/base/message_loop/
Dincoming_task_queue.h111 Queue& delayed_tasks() { return delayed_tasks_; } in delayed_tasks()
117 return delayed_tasks_.HasPendingHighResolutionTasks(); in HasPendingHighResolutionTasks()
247 DelayedQueue delayed_tasks_; variable
Dincoming_task_queue.cc89 delayed_tasks_.Size()); in ReportMetricsOnIdle()
/external/perfetto/include/perfetto/base/
Dandroid_task_runner.h84 std::multimap<TimeMillis, std::function<void()>> delayed_tasks_; variable
Dunix_task_runner.h103 std::multimap<TimeMillis, std::function<void()>> delayed_tasks_; variable