Searched refs:event (Results 1 - 14 of 14) sorted by relevance

/system/core/debuggerd/
H A Dgetevent.h22 int get_event(struct input_event* event, int timeout);
H A Dgetevent.c101 struct inotify_event *event; local
104 if(res < (int)sizeof(*event)) {
107 fprintf(stderr, "could not get event, %s\n", strerror(errno));
110 //printf("got %d bytes of event information\n", res);
116 while(res >= (int)sizeof(*event)) {
117 event = (struct inotify_event *)(event_buf + event_pos);
118 //printf("%d: %08x \"%s\"\n", event->wd, event->mask, event->len ? event
191 get_event(struct input_event* event, int timeout) argument
[all...]
/system/extras/tests/framebuffer/
H A Dminui.h33 typedef struct event event; typedef in typeref:struct:event
35 struct event struct
45 int ev_get(event *ev, unsigned dont_wait);
/system/core/toolbox/
H A Dnotify.c17 struct inotify_event *event; local
87 if(res < (int)sizeof(*event)) {
90 fprintf(stderr, "could not get event, %s\n", strerror(errno));
93 //printf("got %d bytes of event information\n", res);
94 while(res >= (int)sizeof(*event)) {
96 event = (struct inotify_event *)(event_buf + event_pos);
98 printf("%s: %08x %08x \"%s\"\n", file_names[event->wd + id_offset], event->mask, event->cookie, event
[all...]
H A Dsendevent.c34 #define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + ev, len) /* get event bits */
54 struct input_event event; local
70 memset(&event, 0, sizeof(event));
71 event.type = atoi(argv[2]);
72 event.code = atoi(argv[3]);
73 event.value = atoi(argv[4]);
74 ret = write(fd, &event, sizeof(event));
75 if(ret < sizeof(event)) {
[all...]
H A Dgetevent.c415 struct inotify_event *event; local
418 if(res < (int)sizeof(*event)) {
421 fprintf(stderr, "could not get event, %s\n", strerror(errno));
424 //printf("got %d bytes of event information\n", res);
430 while(res >= (int)sizeof(*event)) {
431 event = (struct inotify_event *)(event_buf + event_pos);
432 //printf("%d: %08x \"%s\"\n", event->wd, event->mask, event->len ? event
500 struct input_event event; local
[all...]
H A Dalarm.c178 int event;
179 read(fd, &event, sizeof(event));
180 fprintf(stderr, "got %x\n", event);
/system/core/logcat/
H A DAndroid.mk6 LOCAL_SRC_FILES:= logcat.cpp event.logtags
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci_lib.h27 int event; member in struct:hci_request
H A Dhci.h2315 uint16_t event; member in struct:__anon242
/system/core/sh/
H A Dmkinit.sh54 INIT["{ "]* ) event=init;;
55 RESET["{ "]* ) event=reset;;
56 SHELLPROC["{ "]* ) event=shellproc;;
140 eval event_$event=\"\$event_$event\$ev\"
/system/core/libusbhost/
H A Dusbhost.c175 struct inotify_event* event; local
207 event = (struct inotify_event *)event_buf;
208 wd = event->wd;
210 if ((event->mask & IN_CREATE) && !strcmp(event->name, "bus")) {
213 } else if ((event->mask & IN_DELETE) && !strcmp(event->name, "bus")) {
222 i = atoi(event->name);
223 snprintf(path, sizeof(path), "%s/%s", USB_FS_DIR, event->name);
224 D("%s subdirectory %s: index: %d\n", (event
[all...]
/system/core/charger/
H A Dcharger.c394 LOGV("event { '%s', '%s', '%s', '%s', '%s', '%s' }\n",
526 static void do_coldboot(struct charger *charger, DIR *d, const char *event, argument
536 write(fd, event, strlen(event));
566 do_coldboot(charger, d2, event, follow_links, max_depth - 1);
573 const char *event)
577 LOGV("doing coldboot '%s' in '%s'\n", event, path);
580 snprintf(str, sizeof(str), "%s\n", event);
572 coldboot(struct charger *charger, const char *path, const char *event) argument
/system/core/adb/
H A Dsysdeps_win32.c104 HANDLE event; member in struct:FHRec_
283 static void _fh_file_hook( FH f, int event, EventHook eventhook ); /* forward */
490 f->event = WSACreateEvent();
501 CloseHandle( f->event );
535 static void _fh_socket_hook( FH f, int event, EventHook hook ); /* forward */
868 HANDLE evt_write; /* event signaled when one can write to a buffer */
870 HANDLE evt_read; /* event signaled when one can read from a buffer */
1176 static void _fh_socketpair_hook( FH f, int event, EventHook hook ); /* forward */
1285 int wanted; /* wanted event flags */
1286 int ready; /* ready event flag
[all...]

Completed in 112 milliseconds