Searched refs:uevent_fd_ (Results 1 – 8 of 8) sorted by relevance
/hardware/interfaces/health/utils/libhealthloop/ |
D | HealthLoop.cpp | 134 n = uevent_kernel_multicast_recv(uevent_fd_, msg, UEVENT_MSG_LEN); in UeventEvent() 156 uevent_fd_.reset(uevent_open_socket(64 * 1024, true)); in UeventInit() 158 if (uevent_fd_ < 0) { in UeventInit() 163 fcntl(uevent_fd_, F_SETFL, O_NONBLOCK); in UeventInit() 164 if (RegisterEvent(uevent_fd_, &HealthLoop::UeventEvent, EVENT_WAKEUP_FD)) in UeventInit()
|
/hardware/google/graphics/common/libhwc2.1/libdrmresource/drm/ |
D | drmeventlistener.cpp | 50 uevent_fd_.Set(socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT)); in Init() 51 if (uevent_fd_.get() < 0) { in Init() 53 return uevent_fd_.get(); in Init() 62 int ret = bind(uevent_fd_.get(), (struct sockaddr *)&addr, sizeof(addr)); in Init() 90 ev.data.fd = uevent_fd_.get(); in Init() 91 if (epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, uevent_fd_.get(), &ev) < 0) { in Init() 286 ret = read(uevent_fd_.get(), &buffer, sizeof(buffer)); in UEventHandler() 428 if (events[n].data.fd == uevent_fd_.get()) { in Routine()
|
/hardware/google/pixel/thermal/utils/ |
D | thermal_watcher.cpp | 348 uevent_fd_.reset((TEMP_FAILURE_RETRY(uevent_open_socket(64 * 1024, true)))); in registerFilesToWatch() 349 if (uevent_fd_.get() < 0) { in registerFilesToWatch() 354 fcntl(uevent_fd_, F_SETFL, O_NONBLOCK); in registerFilesToWatch() 356 looper_->addFd(uevent_fd_.get(), 0, ::android::Looper::EVENT_INPUT, nullptr, nullptr); in registerFilesToWatch() 422 int n = uevent_kernel_multicast_recv(uevent_fd_.get(), msg, kUeventMsgLen); in parseUevent() 511 if (fd != uevent_fd_.get() && fd != thermal_genl_fd_.get()) { in threadLoop() 515 } else if (fd == uevent_fd_.get()) { in threadLoop()
|
D | thermal_watcher.h | 97 ::android::base::unique_fd uevent_fd_;
|
/hardware/google/pixel/pixelstats/ |
D | UeventListener.cpp | 409 if (uevent_fd_ < 0) { in ProcessUevent() 410 uevent_fd_ = uevent_open_socket(64 * 1024, true); in ProcessUevent() 411 if (uevent_fd_ < 0) { in ProcessUevent() 426 n = uevent_kernel_multicast_recv(uevent_fd_, msg, UEVENT_MSG_LEN); in ProcessUevent() 518 uevent_fd_(-1), in UeventListener() 542 uevent_fd_(-1), in UeventListener()
|
/hardware/interfaces/health/utils/libhealthloop/include/health/ |
D | HealthLoop.h | 101 android::base::unique_fd uevent_fd_; variable
|
/hardware/google/graphics/common/libhwc2.1/libdrmresource/include/ |
D | drmeventlistener.h | 149 UniqueFd uevent_fd_; variable
|
/hardware/google/pixel/pixelstats/include/pixelstats/ |
D | UeventListener.h | 202 int uevent_fd_; variable
|