Searched refs:delayed_tasks_ (Results 1 – 8 of 8) sorted by relevance
113 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()
106 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()
70 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()
163 std::map<MessageLoop::TaskId, DelayedTask> delayed_tasks_; variable
111 Queue& delayed_tasks() { return delayed_tasks_; } in delayed_tasks()117 return delayed_tasks_.HasPendingHighResolutionTasks(); in HasPendingHighResolutionTasks()247 DelayedQueue delayed_tasks_; variable
89 delayed_tasks_.Size()); in ReportMetricsOnIdle()
84 std::multimap<TimeMillis, std::function<void()>> delayed_tasks_; variable
103 std::multimap<TimeMillis, std::function<void()>> delayed_tasks_; variable