/system/bt/btif/co/ |
H A D | bta_hh_co.c | 47 static int uhid_write(int fd, const struct uhid_event *ev) argument 50 ret = write(fd, ev, sizeof(*ev)); 56 } else if (ret != (ssize_t)sizeof(*ev)) { 58 __FUNCTION__, ret, sizeof(*ev)); 68 struct uhid_event ev; local 70 memset(&ev, 0, sizeof(ev)); 76 ret = read(p_dev->fd, &ev, sizeof(ev)); 217 struct uhid_event ev; local 228 struct uhid_event ev; local 426 struct uhid_event ev; local [all...] |
/system/core/adb/ |
H A D | adb_listeners.h | 36 void listener_event_func(int _fd, unsigned ev, void *_l); 37 void ss_listener_event_func(int _fd, unsigned ev, void *_l);
|
H A D | fdevent.cpp | 123 struct epoll_event ev; local 125 memset(&ev, 0, sizeof(ev)); 126 ev.events = 0; 127 ev.data.ptr = fde; 130 if(epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fde->fd, &ev)) { 139 struct epoll_event ev; local 141 memset(&ev, 0, sizeof(ev)); 142 ev 155 struct epoll_event ev; local 214 struct epoll_event *ev = events + i; local 513 fdevent_subproc_event_func(int fd, unsigned ev, void* ) argument [all...] |
H A D | adb_listeners.cpp | 34 void ss_listener_event_func(int _fd, unsigned ev, void *_l) argument 38 if(ev & FDE_READ) { 59 void listener_event_func(int _fd, unsigned ev, void* _l) argument 64 if (ev & FDE_READ) {
|
H A D | sockets.cpp | 272 static void local_socket_event_func(int fd, unsigned ev, void* _s) argument 275 D("LS(%d): event_func(fd=%d(==%d), ev=%04x)\n", s->id, s->fd, fd, ev); 280 if (ev & FDE_WRITE) { 330 if (ev & FDE_READ) { 394 if (ev & FDE_ERROR){
|
H A D | transport.cpp | 530 static void transport_registration_func(int _fd, unsigned ev, void *data) argument 538 if(!(ev & FDE_READ)) {
|
/system/extras/slideshow/ |
H A D | slideshow.cpp | 32 struct input_event ev; local 37 if (ev_get_input(fd, epevents, &ev)) { 41 if (ev.type == EV_KEY) { 42 *key_code = ev.code;
|
/system/extras/tests/framebuffer/ |
H A D | minui.h | 45 int ev_get(event *ev, unsigned dont_wait);
|
/system/extras/tests/suspend_stress/ |
H A D | suspend_stress.cpp | 110 struct epoll_event ev = epoll_event(); local 111 ev.events = EPOLLIN | EPOLLWAKEUP; 112 int ret = epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev);
|
/system/core/healthd/ |
H A D | healthd.cpp | 138 struct epoll_event ev; local 140 ev.events = EPOLLIN | EPOLLWAKEUP; 141 ev.data.ptr = (void *)handler; 142 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) {
|
H A D | healthd_mode_charger.cpp | 492 struct input_event *ev) 494 if (ev->type != EV_KEY) 496 set_key_callback(ev->code, ev->value, charger); 656 struct input_event ev; local 659 ret = ev_get_input(fd, epevents, &ev); 662 update_input_state(charger, &ev); 491 update_input_state(struct charger *charger, struct input_event *ev) argument
|
/system/core/init/ |
H A D | init.cpp | 88 epoll_event ev; local 89 ev.events = EPOLLIN; 90 ev.data.ptr = reinterpret_cast<void*>(fn); 91 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev) == -1) { 1128 epoll_event ev; local 1129 int nr = TEMP_FAILURE_RETRY(epoll_wait(epoll_fd, &ev, 1, timeout)); 1133 ((void (*)()) ev.data.ptr)();
|