Searched refs:looper_ (Results 1 – 2 of 2) sorted by relevance
/hardware/google/pixel/thermal/utils/ |
D | thermal_watcher.h | 49 : Thread(false), cb_(cb), looper_(new Looper(true)) {} in ThermalWatcher() 91 sp<Looper> looper_; variable
|
D | thermal_watcher.cpp | 354 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()
|