/system/bt/btif/co/ |
D | bta_hh_co.c | 60 static int uhid_write(int fd, const struct uhid_event *ev) in uhid_write() argument 63 OSI_NO_INTR(ret = write(fd, ev, sizeof(*ev))); in uhid_write() 70 } else if (ret != (ssize_t)sizeof(*ev)) { in uhid_write() 72 __FUNCTION__, ret, sizeof(*ev)); in uhid_write() 84 struct uhid_event ev; in uhid_read_event() local 85 memset(&ev, 0, sizeof(ev)); in uhid_read_event() 88 OSI_NO_INTR(ret = read(p_dev->fd, &ev, sizeof(ev))); in uhid_read_event() 98 } else if ((ev.type == UHID_OUTPUT) || (ev.type==UHID_OUTPUT_EV)) { in uhid_read_event() 101 if (ret < (ssize_t)sizeof(ev)) { in uhid_read_event() 103 __FUNCTION__, ret, sizeof(ev.type)); in uhid_read_event() [all …]
|
/system/extras/slideshow/ |
D | slideshow.cpp | 33 struct input_event ev; in input_cb() local 38 if (ev_get_input(fd, epevents, &ev)) { in input_cb() 42 if (ev.type == EV_KEY && ev.value == 1) { in input_cb() 43 *key_code = ev.code; in input_cb()
|
/system/bt/vendor_libs/linux/ |
D | bt_vendor_linux.c | 152 struct mgmt_pkt ev; in bt_vendor_wait_hcidev() local 179 ev.opcode = MGMT_OP_INDEX_LIST; in bt_vendor_wait_hcidev() 180 ev.index = HCI_DEV_NONE; in bt_vendor_wait_hcidev() 181 ev.len = 0; in bt_vendor_wait_hcidev() 184 OSI_NO_INTR(wrote = write(fd, &ev, 6)); in bt_vendor_wait_hcidev() 205 OSI_NO_INTR(n = read(fd, &ev, sizeof(struct mgmt_pkt))); in bt_vendor_wait_hcidev() 213 if (ev.opcode == MGMT_EV_INDEX_ADDED && ev.index == hci_interface) { in bt_vendor_wait_hcidev() 215 } else if (ev.opcode == MGMT_EV_COMMAND_COMP) { in bt_vendor_wait_hcidev() 219 cc = (struct mgmt_event_read_index *)ev.data; in bt_vendor_wait_hcidev()
|
/system/extras/tests/suspend_stress/ |
D | suspend_stress.cpp | 110 struct epoll_event ev = epoll_event(); in main() local 111 ev.events = EPOLLIN | EPOLLWAKEUP; in main() 112 int ret = epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev); in main()
|
/system/core/healthd/ |
D | healthd.cpp | 140 struct epoll_event ev; in healthd_register_event() local 142 ev.events = EPOLLIN | EPOLLWAKEUP; in healthd_register_event() 143 ev.data.ptr = (void *)handler; in healthd_register_event() 144 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) { in healthd_register_event()
|
D | healthd_mode_charger.cpp | 492 struct input_event *ev) in update_input_state() argument 494 if (ev->type != EV_KEY) in update_input_state() 496 set_key_callback(ev->code, ev->value, charger); in update_input_state() 656 struct input_event ev; in input_callback() local 659 ret = ev_get_input(fd, epevents, &ev); in input_callback() 662 update_input_state(charger, &ev); in input_callback()
|
/system/core/adb/ |
D | adb_listeners.cpp | 35 static void ss_listener_event_func(int _fd, unsigned ev, void *_l) { in ss_listener_event_func() argument 36 if (ev & FDE_READ) { in ss_listener_event_func() 56 static void listener_event_func(int _fd, unsigned ev, void* _l) in listener_event_func() argument 61 if (ev & FDE_READ) { in listener_event_func()
|
D | fdevent.cpp | 295 static void fdevent_subproc_event_func(int fd, unsigned ev, in fdevent_subproc_event_func() argument 299 D("subproc handling on fd = %d, ev = %x", fd, ev); in fdevent_subproc_event_func() 303 if (ev & FDE_READ) { in fdevent_subproc_event_func()
|
D | sockets.cpp | 250 static void local_socket_event_func(int fd, unsigned ev, void* _s) { in local_socket_event_func() argument 252 D("LS(%d): event_func(fd=%d(==%d), ev=%04x)", s->id, s->fd, fd, ev); in local_socket_event_func() 257 if (ev & FDE_WRITE) { in local_socket_event_func() 307 if (ev & FDE_READ) { in local_socket_event_func() 375 if (ev & FDE_ERROR) { in local_socket_event_func()
|
D | transport.cpp | 481 static void transport_registration_func(int _fd, unsigned ev, void *data) in transport_registration_func() argument 487 if(!(ev & FDE_READ)) { in transport_registration_func()
|
/system/core/init/ |
D | init.cpp | 89 epoll_event ev; in register_epoll_handler() local 90 ev.events = EPOLLIN; in register_epoll_handler() 91 ev.data.ptr = reinterpret_cast<void*>(fn); in register_epoll_handler() 92 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev) == -1) { in register_epoll_handler() 739 epoll_event ev; in main() local 740 int nr = TEMP_FAILURE_RETRY(epoll_wait(epoll_fd, &ev, 1, timeout)); in main() 744 ((void (*)()) ev.data.ptr)(); in main()
|
/system/extras/tests/framebuffer/ |
D | minui.h | 45 int ev_get(event *ev, unsigned dont_wait);
|
/system/netd/tests/ |
D | dns_responder.cpp | 623 epoll_event ev; in startServer() local 624 ev.events = EPOLLIN; in startServer() 625 ev.data.fd = s; in startServer() 626 if (epoll_ctl(ep_fd, EPOLL_CTL_ADD, s, &ev) < 0) { in startServer()
|
/system/ca-certificates/google/files/ |
D | 75680d2e.0 | 23 l2D4kF501KKaU73yqWjgom7C12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3
|
/system/ca-certificates/files/ |
D | 75680d2e.0 | 23 l2D4kF501KKaU73yqWjgom7C12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3
|
/system/ca-certificates/google/ |
D | roots.pem | 31 l2D4kF501KKaU73yqWjgom7C12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3
|