/system/core/toolbox/ |
D | notify.c | 17 struct inotify_event *event; in notify_main() local 87 if(res < (int)sizeof(*event)) { in notify_main() 94 while(res >= (int)sizeof(*event)) { in notify_main() 96 event = (struct inotify_event *)(event_buf + event_pos); in notify_main() 98 …ntf("%s: %08x %08x \"%s\"\n", file_names[event->wd + id_offset], event->mask, event->cookie, event… in notify_main() 100 …printf("%s: %08x \"%s\"\n", file_names[event->wd + id_offset], event->mask, event->len ? event->na… in notify_main() 102 printf("%d: %08x \"%s\"\n", event->wd, event->mask, event->len ? event->name : ""); in notify_main() 103 if(print_files && (event->mask & IN_MODIFY)) { in notify_main() 108 strcpy(filename, file_names[event->wd + id_offset]); in notify_main() 109 if(event->len) { in notify_main() [all …]
|
D | sendevent.c | 53 struct input_event event; in sendevent_main() local 69 memset(&event, 0, sizeof(event)); in sendevent_main() 70 event.type = atoi(argv[2]); in sendevent_main() 71 event.code = atoi(argv[3]); in sendevent_main() 72 event.value = atoi(argv[4]); in sendevent_main() 73 ret = write(fd, &event, sizeof(event)); in sendevent_main() 74 if(ret < (ssize_t) sizeof(event)) { in sendevent_main()
|
D | getevent.c | 421 struct inotify_event *event; in read_notify() local 424 if(res < (int)sizeof(*event)) { in read_notify() 436 while(res >= (int)sizeof(*event)) { in read_notify() 437 event = (struct inotify_event *)(event_buf + event_pos); in read_notify() 439 if(event->len) { in read_notify() 440 strcpy(filename, event->name); in read_notify() 441 if(event->mask & IN_CREATE) { in read_notify() 448 event_size = sizeof(*event) + event->len; in read_notify() 505 struct input_event event; in getevent_main() local 645 res = read(ufds[i].fd, &event, sizeof(event)); in getevent_main() [all …]
|
D | alarm.c | 178 int event; in alarm_main() 179 read(fd, &event, sizeof(event)); in alarm_main() 180 fprintf(stderr, "got %x\n", event); in alarm_main()
|
/system/core/debuggerd/ |
D | getevent.cpp | 112 struct inotify_event *event; in read_notify() local 115 if (res < (int)sizeof(*event)) { in read_notify() 126 while (res >= (int)sizeof(*event)) { in read_notify() 127 event = reinterpret_cast<struct inotify_event*>(event_buf + event_pos); in read_notify() 128 if (event->len) { in read_notify() 129 strcpy(filename, event->name); in read_notify() 130 if (event->mask & IN_CREATE) { in read_notify() 136 event_size = sizeof(*event) + event->len; in read_notify() 195 int get_event(struct input_event* event, int timeout) { in get_event() argument 211 res = read(ufds[i].fd, event, sizeof(*event)); in get_event() [all …]
|
D | getevent.h | 22 int get_event(struct input_event* event, int timeout);
|
/system/extras/tests/framebuffer/ |
D | minui.h | 33 typedef struct event event; typedef 35 struct event struct 45 int ev_get(event *ev, unsigned dont_wait); argument
|
/system/core/adf/libadfhwc/ |
D | adfhwc.cpp | 40 int adf_eventControl(struct adf_hwc_helper *dev, int disp, int event, in adf_eventControl() argument 49 switch (event) { in adf_eventControl() 170 adf_event *event; in handle_adf_event() local 171 int err = adf_read_event(dev->intf_fds[disp], &event); in handle_adf_event() 181 switch (event->type) { in handle_adf_event() 183 vsync_temp = event; in handle_adf_event() 190 hotplug = reinterpret_cast<adf_hotplug_event *>(event); in handle_adf_event() 194 if (event->type < ADF_EVENT_DEVICE_CUSTOM) in handle_adf_event() 195 ALOGW("unrecognized event type %u", event->type); in handle_adf_event() 197 ALOGW("unhandled event type %u", event->type); in handle_adf_event() [all …]
|
/system/core/libusbhost/ |
D | usbhost.c | 225 struct inotify_event* event; in usb_host_read_event() local 235 event = (struct inotify_event*)&event_buf[offset]; in usb_host_read_event() 237 wd = event->wd; in usb_host_read_event() 239 if ((event->mask & IN_CREATE) && !strcmp(event->name, "bus")) { in usb_host_read_event() 249 if ((event->mask & IN_CREATE) && !strcmp(event->name, "usb")) { in usb_host_read_event() 252 } else if ((event->mask & IN_DELETE) && !strcmp(event->name, "usb")) { in usb_host_read_event() 261 i = atoi(event->name); in usb_host_read_event() 262 snprintf(path, sizeof(path), USB_FS_DIR "/%s", event->name); in usb_host_read_event() 263 D("%s subdirectory %s: index: %d\n", (event->mask & IN_CREATE) ? in usb_host_read_event() 267 if (event->mask & IN_CREATE) { in usb_host_read_event() [all …]
|
/system/core/logd/ |
D | Android.mk | 21 event.logtags 29 …(shell sed -n 's/^\([0-9]*\)[ \t]*auditd[ \t].*/-DAUDITD_LOG_TAG=\1/p' $(LOCAL_PATH)/event.logtags)
|
D | README.property | 22 persist.logd.size.event number 256K Size of the buffer for the event log
|
/system/core/logcat/ |
D | event.logtags | 43 2720 sync (id|3),(event|1|5),(source|1|5),(account|1|5) 45 # This event is logged when the location service uploads location data. 47 # This event is logged when someone is deciding to force a garbage collection 49 # This event is logged on each tickle 57 # intrinsic event log times are wall-clock. 82 # HSM wifi event 84 # [15 - 0] HSM event (as defined in WifiStateTracker.java) 85 # Logged when an event is handled in a hierarchical state
|
D | Android.mk | 6 LOCAL_SRC_FILES:= logcat.cpp event.logtags
|
/system/core/adf/libadfhwc/include/adfhwc/ |
D | adfhwc.h | 41 void (*custom_event)(void *data, int disp, struct adf_event *event); 118 int adf_eventControl(struct adf_hwc_helper *dev, int disp, int event,
|
/system/core/libsysutils/ |
D | EventLogTags.logtags | 1 # See system/core/logcat/event.logtags for a description of the format of this file.
|
/system/extras/tests/mmc_tracepoints/ |
D | README | 20 to a single line per event, which includes the duration of the event.
|
/system/core/adf/libadf/include/adf/ |
D | adf.h | 226 int adf_read_event(int fd, struct adf_event **event);
|
/system/core/sdcard/ |
D | sdcard.c | 1705 struct inotify_event *event; in watch_package_list() local 1741 if (res < (int) sizeof(*event)) { in watch_package_list() 1748 while (res >= (int) sizeof(*event)) { in watch_package_list() 1750 event = (struct inotify_event *) (event_buf + event_pos); in watch_package_list() 1752 TRACE("inotify event: %08x\n", event->mask); in watch_package_list() 1753 if ((event->mask & IN_IGNORED) == IN_IGNORED) { in watch_package_list() 1759 event_size = sizeof(*event) + event->len; in watch_package_list()
|
/system/core/adb/ |
D | sysdeps_win32.c | 105 HANDLE event; member 284 static void _fh_file_hook( FH f, int event, EventHook eventhook ); /* forward */ 491 f->event = WSACreateEvent(); in _fh_socket_init() 502 CloseHandle( f->event ); in _fh_socket_close() 536 static void _fh_socket_hook( FH f, int event, EventHook hook ); /* forward */ 1184 static void _fh_socketpair_hook( FH f, int event, EventHook hook ); /* forward */ 2020 hook->h = fh->event; in _event_socket_start()
|
/system/core/init/ |
D | readme.txt | 28 is used to determine when the action should occur. When an event 251 trigger <event> 252 Trigger an event. Used to queue an action from another
|
/system/core/adf/libadf/ |
D | adf.c | 659 int adf_read_event(int fd, struct adf_event **event) in adf_read_event() argument 693 *event = &event_ret->base; in adf_read_event()
|
/system/core/libcutils/ |
D | NOTICE | 166 8. Limitation of Liability. In no event and under no legal theory,
|
/system/core/libutils/ |
D | NOTICE | 166 8. Limitation of Liability. In no event and under no legal theory,
|
/system/core/netcfg/ |
D | NOTICE | 166 8. Limitation of Liability. In no event and under no legal theory,
|
/system/extras/latencytop/ |
D | NOTICE | 166 8. Limitation of Liability. In no event and under no legal theory,
|