Home
last modified time | relevance | path

Searched refs:uevent_fd (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/usb/1.0/default/
DUsb.cpp315 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/interfaces/usb/aidl/default/
DUsb.cpp590 int uevent_fd; member
599 n = uevent_kernel_multicast_recv(payload->uevent_fd, msg, UEVENT_MSG_LEN); in uevent_event()
643 int epoll_fd, uevent_fd; in work() local
648 uevent_fd = uevent_open_socket(UEVENT_MAX_EVENTS * UEVENT_MSG_LEN, true); in work()
650 if (uevent_fd < 0) { in work()
655 payload.uevent_fd = uevent_fd; in work()
658 fcntl(uevent_fd, F_SETFL, O_NONBLOCK); in work()
669 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, uevent_fd, &ev) == -1) { in work()
694 close(uevent_fd); in work()
/hardware/qcom/display/msm8909/hdmi_cec/
Dqhdmi_cec.cpp78 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/
Dqhdmi_cec.cpp78 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()