Searched refs:watch_tasks_ (Results 1 – 4 of 4) sorted by relevance
89 for (auto& it : watch_tasks_) { in UpdateWatchTasksLocked()153 auto it = watch_tasks_.find(fd); in RunFileDescriptorWatch()154 if (it == watch_tasks_.end()) in RunFileDescriptorWatch()206 PERFETTO_DCHECK(!watch_tasks_.count(fd)); in AddFileDescriptorWatch()207 watch_tasks_[fd] = {std::move(task), SIZE_MAX}; in AddFileDescriptorWatch()217 PERFETTO_DCHECK(watch_tasks_.count(fd)); in RemoveFileDescriptorWatch()218 watch_tasks_.erase(fd); in RemoveFileDescriptorWatch()
40 for (const auto& watch : watch_tasks_) { in ~AndroidTaskRunner()173 PERFETTO_DCHECK(!watch_tasks_.count(fd)); in AddFileDescriptorWatch()174 watch_tasks_[fd] = std::move(task); in AddFileDescriptorWatch()197 auto it = watch_tasks_.find(signalled_fd); in OnFileDescriptorEvent()198 if (it == watch_tasks_.end()) in OnFileDescriptorEvent()211 PERFETTO_DCHECK(watch_tasks_.count(fd)); in RemoveFileDescriptorWatch()212 watch_tasks_.erase(fd); in RemoveFileDescriptorWatch()
85 std::map<int, std::function<void()>> watch_tasks_; variable
111 std::map<int, WatchTask> watch_tasks_; variable