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

/system/core/fastboot/
H A Dusb.h60 char device_path[256]; member in struct:usb_ifc_info
H A Dusb_linux.c147 snprintf(info.device_path, sizeof(info.device_path), "usb:%s", sysfs_name);
H A Dusb_osx.c331 snprintf(handle->info.device_path, sizeof(handle->info.device_path),
H A Dusb_windows.c320 info.device_path[0] = 0;
H A Dfastboot.cpp214 strcmp(local_serial, info->device_path) != 0)) return -1;
236 } else if (strcmp("", info->device_path) == 0) {
239 printf("%-22s fastboot %s\n", serial, info->device_path);
/system/core/debuggerd/
H A Dgetevent.cpp167 const char* device_path = "/dev/input"; local
174 res = inotify_add_watch(ufds[0].fd, device_path, IN_DELETE | IN_CREATE);
178 res = scan_dir(device_path);
199 const char* device_path = "/dev/input"; local
206 read_notify(device_path, ufds[0].fd);
/system/core/toolbox/
H A Dgetevent.c532 const char *device_path = "/dev/input"; local
626 res = inotify_add_watch(ufds[0].fd, device_path, IN_DELETE | IN_CREATE);
628 fprintf(stderr, "could not add watch for %s, %s\n", device_path, strerror(errno));
631 res = scan_dir(device_path, print_flags);
633 fprintf(stderr, "scan dir failed for %s\n", device_path);
659 read_notify(device_path, ufds[0].fd, print_flags);

Completed in 124 milliseconds