Home
last modified time | relevance | path

Searched refs:device_path (Results 1 – 7 of 7) sorted by relevance

/system/core/debuggerd/
Dgetevent.cpp167 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/
Dusb.h56 char device_path[256]; member
Dusb_osx.c331 snprintf(handle->info.device_path, sizeof(handle->info.device_path), "usb:%lX", locationId); in try_device()
Dusb_linux.c147 snprintf(info.device_path, sizeof(info.device_path), "usb:%s", sysfs_name); in filter_usb_device()
Dfastboot.c225 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()
Dusb_windows.c320 info.device_path[0] = 0; in recognized_device()
/system/core/toolbox/
Dgetevent.c513 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()