Home
last modified time | relevance | path

Searched refs:fds (Results 1 – 25 of 30) sorted by relevance

12

/hardware/intel/img/hwcomposer/moorefield_hdmi/common/observers/
DUeventObserver.cpp159 struct pollfd fds[2]; in threadLoop() local
162 fds[0].fd = mUeventFd; in threadLoop()
163 fds[0].events = POLLIN; in threadLoop()
164 fds[0].revents = 0; in threadLoop()
165 fds[1].fd = mExitRDFd; in threadLoop()
166 fds[1].events = POLLIN; in threadLoop()
167 fds[1].revents = 0; in threadLoop()
168 nr = poll(fds, 2, -1); in threadLoop()
170 if (nr > 0 && fds[0].revents == POLLIN) { in threadLoop()
175 } else if (fds[1].revents) { in threadLoop()
/hardware/intel/img/hwcomposer/merrifield/common/observers/
DUeventObserver.cpp159 struct pollfd fds[2]; in threadLoop() local
162 fds[0].fd = mUeventFd; in threadLoop()
163 fds[0].events = POLLIN; in threadLoop()
164 fds[0].revents = 0; in threadLoop()
165 fds[1].fd = mExitRDFd; in threadLoop()
166 fds[1].events = POLLIN; in threadLoop()
167 fds[1].revents = 0; in threadLoop()
168 nr = poll(fds, 2, -1); in threadLoop()
170 if (nr > 0 && fds[0].revents == POLLIN) { in threadLoop()
175 } else if (fds[1].revents) { in threadLoop()
/hardware/libhardware_legacy/
Duevent.c77 struct pollfd fds; in uevent_next_event() local
80 fds.fd = fd; in uevent_next_event()
81 fds.events = POLLIN; in uevent_next_event()
82 fds.revents = 0; in uevent_next_event()
83 nr = poll(&fds, 1, -1); in uevent_next_event()
85 if(nr > 0 && (fds.revents & POLLIN)) { in uevent_next_event()
/hardware/interfaces/bluetooth/1.0/default/
Dmct_protocol.cc32 MctProtocol::MctProtocol(int* fds, PacketReadCallback event_cb, in MctProtocol() argument
39 uart_fds_[i] = fds[i];
Dmct_protocol.h33 MctProtocol(int* fds, PacketReadCallback event_cb, PacketReadCallback acl_cb);
/hardware/qcom/gps/msm8996/utils/
DLocTimer.cpp450 int fds = epoll_wait(mFd, ev, 2, -1); in run() local
453 bool rerun = (fds > 0) || (errno == EINTR); in run()
455 if (fds > 0) { in run()
457 for (int i = 0; i < fds; i++) { in run()
/hardware/qcom/gps/msm8909/utils/
DLocTimer.cpp452 int fds = epoll_wait(mFd, ev, 2, -1); in run() local
455 bool rerun = (fds > 0) || (errno == EINTR); in run()
457 if (fds > 0) { in run()
459 for (int i = 0; i < fds; i++) { in run()
/hardware/qcom/gps/msm8998/utils/
DLocTimer.cpp450 int fds = epoll_wait(mFd, ev, 2, -1); in run() local
453 bool rerun = (fds > 0) || (errno == EINTR); in run()
455 if (fds > 0) { in run()
457 for (int i = 0; i < fds; i++) { in run()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Domx_video_encoder.cpp101 int fds[2]; in component_init() local
420 if(pipe(fds)) in component_init()
427 if(fds[0] == 0 || fds[1] == 0) in component_init()
429 if(pipe(fds)) in component_init()
437 m_pipe_in = fds[0]; in component_init()
438 m_pipe_out = fds[1]; in component_init()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_hevc.cpp101 int fds[2]; in component_init() local
327 if (pipe(fds)) { in component_init()
331 if (fds[0] == 0 || fds[1] == 0) { in component_init()
332 if (pipe(fds)) { in component_init()
338 m_pipe_in = fds[0]; in component_init()
339 m_pipe_out = fds[1]; in component_init()
Domx_video_encoder.cpp191 int fds[2]; in component_init() local
581 if (pipe(fds)) { in component_init()
586 if (fds[0] == 0 || fds[1] == 0) { in component_init()
587 if (pipe(fds)) { in component_init()
594 m_pipe_in = fds[0]; in component_init()
595 m_pipe_out = fds[1]; in component_init()
Domx_swvenc_mpeg4.cpp119 int fds[2]; in component_init() local
421 if (pipe(fds)) in component_init()
428 if ((fds[0] == 0) || (fds[1] == 0)) in component_init()
430 if (pipe(fds)) in component_init()
438 m_pipe_in = fds[0]; in component_init()
439 m_pipe_out = fds[1]; in component_init()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_hevc.cpp101 int fds[2]; in component_init() local
327 if (pipe(fds)) { in component_init()
331 if (fds[0] == 0 || fds[1] == 0) { in component_init()
332 if (pipe(fds)) { in component_init()
338 m_pipe_in = fds[0]; in component_init()
339 m_pipe_out = fds[1]; in component_init()
Domx_video_encoder.cpp196 int fds[2]; in component_init() local
566 if (pipe(fds)) { in component_init()
570 if (fds[0] == 0 || fds[1] == 0) { in component_init()
571 if (pipe(fds)) { in component_init()
577 m_pipe_in = fds[0]; in component_init()
578 m_pipe_out = fds[1]; in component_init()
Domx_swvenc_mpeg4.cpp119 int fds[2]; in component_init() local
421 if (pipe(fds)) in component_init()
428 if ((fds[0] == 0) || (fds[1] == 0)) in component_init()
430 if (pipe(fds)) in component_init()
438 m_pipe_in = fds[0]; in component_init()
439 m_pipe_out = fds[1]; in component_init()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp123 int fds[2]; in component_init() local
484 if (pipe(fds)) { in component_init()
488 if (fds[0] == 0 || fds[1] == 0) { in component_init()
489 if (pipe(fds)) { in component_init()
495 m_pipe_in = fds[0]; in component_init()
496 m_pipe_out = fds[1]; in component_init()
/hardware/qcom/media/msm8996/videopp/src/
Domx_vdpp.cpp1449 int fds[2]; in component_init() local
1714 if(pipe(fds)) in component_init()
1722 if(fds[0] == 0 || fds[1] == 0) in component_init()
1729 fds[0] = temp1 [0]; in component_init()
1730 fds[1] = temp1 [1]; in component_init()
1732 m_pipe_in = fds[0]; in component_init()
1733 m_pipe_out = fds[1]; in component_init()
/hardware/qcom/media/msm8998/videopp/src/
Domx_vdpp.cpp1449 int fds[2]; in component_init() local
1714 if(pipe(fds)) in component_init()
1722 if(fds[0] == 0 || fds[1] == 0) in component_init()
1729 fds[0] = temp1 [0]; in component_init()
1730 fds[1] = temp1 [1]; in component_init()
1732 m_pipe_in = fds[0]; in component_init()
1733 m_pipe_out = fds[1]; in component_init()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Domx_vdec_copper.cpp1193 int fds[2]; in component_init() local
1494 if(pipe(fds)) in component_init()
1502 if(fds[0] == 0 || fds[1] == 0) in component_init()
1511 fds[0] = temp1 [0]; in component_init()
1512 fds[1] = temp1 [1]; in component_init()
1514 m_pipe_in = fds[0]; in component_init()
1515 m_pipe_out = fds[1]; in component_init()
Domx_vdec.cpp1193 int fds[2]; in component_init() local
1578 if(pipe(fds)) in component_init()
1586 if(fds[0] == 0 || fds[1] == 0) in component_init()
1595 fds[0] = temp1 [0]; in component_init()
1596 fds[1] = temp1 [1]; in component_init()
1598 m_pipe_in = fds[0]; in component_init()
1599 m_pipe_out = fds[1]; in component_init()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp1241 int fds[2]; in component_init() local
1586 if (pipe(fds)) { in component_init()
1591 if (fds[0] == 0 || fds[1] == 0) { in component_init()
1598 fds[0] = temp1 [0]; in component_init()
1599 fds[1] = temp1 [1]; in component_init()
1601 m_pipe_in = fds[0]; in component_init()
1602 m_pipe_out = fds[1]; in component_init()
Domx_vdec.cpp1157 int fds[2]; in component_init() local
1544 if (pipe(fds)) { in component_init()
1550 if (fds[0] == 0 || fds[1] == 0) { in component_init()
1558 fds[0] = temp1 [0]; in component_init()
1559 fds[1] = temp1 [1]; in component_init()
1562 m_pipe_in = fds[0]; in component_init()
1563 m_pipe_out = fds[1]; in component_init()
Domx_vdec_msm8974.cpp1594 int fds[2]; in component_init() local
2039 if (pipe(fds)) { in component_init()
2044 if (fds[0] == 0 || fds[1] == 0) { in component_init()
2051 fds[0] = temp1 [0]; in component_init()
2052 fds[1] = temp1 [1]; in component_init()
2054 m_pipe_in = fds[0]; in component_init()
2055 m_pipe_out = fds[1]; in component_init()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp1236 int fds[2]; in component_init() local
1565 if (pipe(fds)) { in component_init()
1570 if (fds[0] == 0 || fds[1] == 0) { in component_init()
1577 fds[0] = temp1 [0]; in component_init()
1578 fds[1] = temp1 [1]; in component_init()
1580 m_pipe_in = fds[0]; in component_init()
1581 m_pipe_out = fds[1]; in component_init()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp1236 int fds[2]; in component_init() local
1565 if (pipe(fds)) { in component_init()
1570 if (fds[0] == 0 || fds[1] == 0) { in component_init()
1577 fds[0] = temp1 [0]; in component_init()
1578 fds[1] = temp1 [1]; in component_init()
1580 m_pipe_in = fds[0]; in component_init()
1581 m_pipe_out = fds[1]; in component_init()

12