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