Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dthermal_watcher.h49 : Thread(false), cb_(cb), looper_(new Looper(true)) {} in ThermalWatcher()
91 sp<Looper> looper_; variable
Dthermal_watcher.cpp354 looper_->addFd(uevent_fd_.get(), 0, Looper::EVENT_INPUT, nullptr, nullptr); in registerFilesToWatch()
395 looper_->addFd(thermal_genl_fd_.get(), 0, Looper::EVENT_INPUT, nullptr, nullptr); in registerFilesToWatchNl()
496 looper_->wake(); in wake()
509 looper_->pollOnce(sleep_ms_.count(), &fd, nullptr, nullptr) >= 0) { in threadLoop()