Home
last modified time | relevance | path

Searched refs:PidIterator (Results 1 – 2 of 2) sorted by relevance

/system/libbase/include/android-base/
Dprocess.h30 class PidIterator {
32 PidIterator(DIR* dir) : dir_(dir, closedir) { Increment(); } in PidIterator() function
33 PidIterator& operator++() {
37 bool operator==(const PidIterator& other) const { return pid_ == other.pid_; }
38 bool operator!=(const PidIterator& other) const { return !(*this == other); }
55 PidIterator begin() { return opendir("/proc"); } in begin()
56 PidIterator end() { return nullptr; } in end()
/system/libbase/
Dprocess.cpp22 void AllPids::PidIterator::Increment() { in Increment()