Searched refs:uevent_fd_ (Results 1 – 6 of 6) sorted by relevance
/hardware/google/pixel/thermal/utils/ |
D | thermal_watcher.cpp | 45 uevent_fd_.reset((TEMP_FAILURE_RETRY(uevent_open_socket(64 * 1024, true)))); in registerFilesToWatch() 46 if (uevent_fd_.get() < 0) { in registerFilesToWatch() 52 fcntl(uevent_fd_, F_SETFL, O_NONBLOCK); in registerFilesToWatch() 54 looper_->addFd(uevent_fd_.get(), 0, Looper::EVENT_INPUT, nullptr, nullptr); in registerFilesToWatch() 80 int n = uevent_kernel_multicast_recv(uevent_fd_.get(), msg, kUeventMsgLen); in parseUevent() 143 if (fd != uevent_fd_.get()) { in threadLoop()
|
D | thermal_watcher.h | 88 android::base::unique_fd uevent_fd_; variable
|
/hardware/interfaces/health/utils/libhealthloop/ |
D | HealthLoop.cpp | 136 n = uevent_kernel_multicast_recv(uevent_fd_, msg, UEVENT_MSG_LEN); in UeventEvent() 158 uevent_fd_.reset(uevent_open_socket(64 * 1024, true)); in UeventInit() 160 if (uevent_fd_ < 0) { in UeventInit() 165 fcntl(uevent_fd_, F_SETFL, O_NONBLOCK); in UeventInit() 166 if (RegisterEvent(uevent_fd_, &HealthLoop::UeventEvent, EVENT_WAKEUP_FD)) in UeventInit()
|
/hardware/google/pixel/pixelstats/ |
D | UeventListener.cpp | 309 if (uevent_fd_ < 0) { in ProcessUevent() 310 uevent_fd_ = uevent_open_socket(64 * 1024, true); in ProcessUevent() 311 if (uevent_fd_ < 0) { in ProcessUevent() 317 n = uevent_kernel_multicast_recv(uevent_fd_, msg, UEVENT_MSG_LEN); in ProcessUevent() 375 uevent_fd_(-1), in UeventListener()
|
/hardware/interfaces/health/utils/libhealthloop/include/health/ |
D | HealthLoop.h | 94 android::base::unique_fd uevent_fd_; variable
|
/hardware/google/pixel/pixelstats/include/pixelstats/ |
D | UeventListener.h | 73 int uevent_fd_; variable
|