Searched refs:uevent_fd_ (Results 1 – 2 of 2) sorted by relevance
/external/drm_hwcomposer/ |
D | drmeventlistener.cpp | 36 uevent_fd_.Set(socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT)); in Init() 37 if (uevent_fd_.get() < 0) { in Init() 38 ALOGE("Failed to open uevent socket %d", uevent_fd_.get()); in Init() 39 return uevent_fd_.get(); in Init() 48 int ret = bind(uevent_fd_.get(), (struct sockaddr *)&addr, sizeof(addr)); in Init() 56 FD_SET(uevent_fd_.get(), &fds_); in Init() 57 max_fd_ = std::max(drm_->fd(), uevent_fd_.get()); in Init() 91 ret = read(uevent_fd_.get(), &buffer, sizeof(buffer)); in UEventHandler() 132 if (FD_ISSET(uevent_fd_.get(), &fds_)) in Routine()
|
D | drmeventlistener.h | 57 UniqueFd uevent_fd_; variable
|