Searched defs:ev (Results 1 - 7 of 7) sorted by relevance

/system/extras/tests/suspend_stress/
H A Dsuspend_stress.cpp108 struct epoll_event ev = epoll_event(); local
109 ev.events = EPOLLIN | EPOLLWAKEUP;
110 int ret = epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev);
/system/core/healthd/
H A Dhealthd.cpp137 struct epoll_event ev; local
139 ev.events = EPOLLIN | EPOLLWAKEUP;
140 ev.data.ptr = (void *)handler;
141 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) {
H A Dhealthd_mode_charger.cpp500 struct input_event *ev)
502 if (ev->type != EV_KEY)
504 set_key_callback(ev->code, ev->value, charger);
628 struct input_event ev; local
653 struct input_event ev; local
656 ret = ev_get_input(fd, epevents, &ev);
659 update_input_state(charger, &ev);
499 update_input_state(struct charger *charger, struct input_event *ev) argument
/system/core/adb/
H A Dfdevent.c119 struct epoll_event ev; local
121 memset(&ev, 0, sizeof(ev));
122 ev.events = 0;
123 ev.data.ptr = fde;
126 if(epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fde->fd, &ev)) {
135 struct epoll_event ev; local
137 memset(&ev, 0, sizeof(ev));
138 ev
151 struct epoll_event ev; local
210 struct epoll_event *ev = events + i; local
508 fdevent_subproc_event_func(int fd, unsigned ev, void *userdata) argument
[all...]
H A Dsockets.c283 static void local_socket_event_func(int fd, unsigned ev, void *_s) argument
287 D("LS(%d): event_func(fd=%d(==%d), ev=%04x)\n", s->id, s->fd, fd, ev);
292 if(ev & FDE_WRITE){
340 if(ev & FDE_READ){
401 if(ev & FDE_ERROR){
H A Dtransport.c571 static void transport_registration_func(int _fd, unsigned ev, void *data) argument
579 if(!(ev & FDE_READ)) {
H A Dadb.c672 static void ss_listener_event_func(int _fd, unsigned ev, void *_l) argument
676 if(ev & FDE_READ) {
697 static void listener_event_func(int _fd, unsigned ev, void *_l) argument
702 if(ev & FDE_READ) {

Completed in 203 milliseconds