Searched refs:uevent_fd_ (Results 1 – 4 of 4) sorted by relevance
/hardware/google/pixel/thermal/utils/ |
D | thermal_watcher.cpp | 58 uevent_fd_.reset((TEMP_FAILURE_RETRY(uevent_open_socket(64 * 1024, true)))); in registerFilesToWatch() 59 if (uevent_fd_.get() < 0) { in registerFilesToWatch() 65 fcntl(uevent_fd_, F_SETFL, O_NONBLOCK); in registerFilesToWatch() 67 looper_->addFd(uevent_fd_.get(), 0, Looper::EVENT_INPUT, nullptr, nullptr); in registerFilesToWatch() 92 int n = uevent_kernel_multicast_recv(uevent_fd_.get(), msg, kUeventMsgLen); in parseUevent() 152 if (fd != uevent_fd_.get()) { in threadLoop()
|
D | thermal_watcher.h | 88 android::base::unique_fd uevent_fd_; variable
|
/hardware/google/pixel/pixelstats/ |
D | UeventListener.cpp | 255 if (uevent_fd_ < 0) { in ProcessUevent() 256 uevent_fd_ = uevent_open_socket(64 * 1024, true); in ProcessUevent() 257 if (uevent_fd_ < 0) { in ProcessUevent() 263 n = uevent_kernel_multicast_recv(uevent_fd_, msg, UEVENT_MSG_LEN); in ProcessUevent() 316 uevent_fd_(-1) {} in UeventListener()
|
/hardware/google/pixel/pixelstats/include/pixelstats/ |
D | UeventListener.h | 65 int uevent_fd_; variable
|