Home
last modified time | relevance | path

Searched refs:uevent_fd_ (Results 1 – 4 of 4) sorted by relevance

/hardware/google/pixel/thermal/utils/
Dthermal_watcher.cpp58 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()
Dthermal_watcher.h88 android::base::unique_fd uevent_fd_; variable
/hardware/google/pixel/pixelstats/
DUeventListener.cpp255 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/
DUeventListener.h65 int uevent_fd_; variable