Searched refs:ev (Results 1 - 12 of 12) sorted by relevance

/system/bt/btif/co/
H A Dbta_hh_co.c47 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 Dadb_listeners.h36 void listener_event_func(int _fd, unsigned ev, void *_l);
37 void ss_listener_event_func(int _fd, unsigned ev, void *_l);
H A Dfdevent.cpp123 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 Dadb_listeners.cpp34 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 Dsockets.cpp272 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 Dtransport.cpp530 static void transport_registration_func(int _fd, unsigned ev, void *data) argument
538 if(!(ev & FDE_READ)) {
/system/extras/slideshow/
H A Dslideshow.cpp32 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 Dminui.h45 int ev_get(event *ev, unsigned dont_wait);
/system/extras/tests/suspend_stress/
H A Dsuspend_stress.cpp110 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 Dhealthd.cpp138 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 Dhealthd_mode_charger.cpp492 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 Dinit.cpp88 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)();

Completed in 1214 milliseconds