Searched refs:device_path (Results 1 – 7 of 7) sorted by relevance
/system/core/debuggerd/ |
D | getevent.cpp | 167 const char* device_path = "/dev/input"; in init_getevent() local 174 res = inotify_add_watch(ufds[0].fd, device_path, IN_DELETE | IN_CREATE); in init_getevent() 178 res = scan_dir(device_path); in init_getevent() 199 const char* device_path = "/dev/input"; in get_event() local 206 read_notify(device_path, ufds[0].fd); in get_event()
|
/system/core/fastboot/ |
D | usb.h | 56 char device_path[256]; member
|
D | usb_osx.c | 331 snprintf(handle->info.device_path, sizeof(handle->info.device_path), "usb:%lX", locationId); in try_device()
|
D | usb_linux.c | 147 snprintf(info.device_path, sizeof(info.device_path), "usb:%s", sysfs_name); in filter_usb_device()
|
D | fastboot.c | 225 strcmp(local_serial, info->device_path) != 0)) return -1; in match_fastboot_with_serial() 247 } else if (!info->device_path) { in list_devices_callback() 250 printf("%-22s fastboot %s\n", serial, info->device_path); in list_devices_callback()
|
D | usb_windows.c | 320 info.device_path[0] = 0; in recognized_device()
|
/system/core/toolbox/ |
D | getevent.c | 513 const char *device_path = "/dev/input"; in getevent_main() local 607 res = inotify_add_watch(ufds[0].fd, device_path, IN_DELETE | IN_CREATE); in getevent_main() 609 fprintf(stderr, "could not add watch for %s, %s\n", device_path, strerror(errno)); in getevent_main() 612 res = scan_dir(device_path, print_flags); in getevent_main() 614 fprintf(stderr, "scan dir failed for %s\n", device_path); in getevent_main() 640 read_notify(device_path, ufds[0].fd, print_flags); in getevent_main()
|