Searched refs:uevent_fd (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/health/2.0/default/ |
D | healthd_common.cpp | 72 static int uevent_fd; variable 155 n = uevent_kernel_multicast_recv(uevent_fd, msg, UEVENT_MSG_LEN); in uevent_event() 177 uevent_fd = uevent_open_socket(64 * 1024, true); in uevent_init() 179 if (uevent_fd < 0) { in uevent_init() 184 fcntl(uevent_fd, F_SETFL, O_NONBLOCK); in uevent_init() 185 if (healthd_register_event(uevent_fd, uevent_event, EVENT_WAKEUP_FD)) in uevent_init()
|
/hardware/interfaces/usb/1.0/default/ |
D | Usb.cpp | 315 int uevent_fd; member 324 n = uevent_kernel_multicast_recv(payload->uevent_fd, msg, UEVENT_MSG_LEN); in uevent_event() 353 int epoll_fd, uevent_fd; in work() local 360 uevent_fd = uevent_open_socket(64*1024, true); in work() 362 if (uevent_fd < 0) { in work() 367 payload.uevent_fd = uevent_fd; in work() 370 fcntl(uevent_fd, F_SETFL, O_NONBLOCK); in work() 381 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, uevent_fd, &ev) == -1) { in work() 406 close(uevent_fd); in work()
|
/hardware/qcom/display/msm8909/hdmi_cec/ |
D | qhdmi_cec.cpp | 78 static int uevent_init(int *uevent_fd); 679 static int uevent_init(int *uevent_fd) { in uevent_init() argument 700 *uevent_fd = s; in uevent_init() 701 return (*uevent_fd > 0); in uevent_init()
|
/hardware/qcom/display/msm8909w_3100/hdmi_cec/ |
D | qhdmi_cec.cpp | 78 static int uevent_init(int *uevent_fd); 679 static int uevent_init(int *uevent_fd) { in uevent_init() argument 700 *uevent_fd = s; in uevent_init() 701 return (*uevent_fd > 0); in uevent_init()
|