Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dthermal_watcher.cpp374 thermal_genl_fd_.reset(nl_socket_get_fd(sk_thermal)); in registerFilesToWatchNl()
375 if (thermal_genl_fd_.get() < 0) { in registerFilesToWatchNl()
394 fcntl(thermal_genl_fd_, F_SETFL, O_NONBLOCK); in registerFilesToWatchNl()
395 looper_->addFd(thermal_genl_fd_.get(), 0, Looper::EVENT_INPUT, nullptr, nullptr); in registerFilesToWatchNl()
510 if (fd != uevent_fd_.get() && fd != thermal_genl_fd_.get()) { in threadLoop()
512 } else if (fd == thermal_genl_fd_.get()) { in threadLoop()
Dthermal_watcher.h96 android::base::unique_fd thermal_genl_fd_; variable