Home
last modified time | relevance | path

Searched refs:watch_tasks_ (Results 1 – 4 of 4) sorted by relevance

/external/perfetto/src/base/
Dunix_task_runner.cc89 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()
Dandroid_task_runner.cc40 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()
/external/perfetto/include/perfetto/base/
Dandroid_task_runner.h85 std::map<int, std::function<void()>> watch_tasks_; variable
Dunix_task_runner.h111 std::map<int, WatchTask> watch_tasks_; variable