Home
last modified time | relevance | path

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

/system/extras/simpleperf/scripts/
Dbinary_cache_builder.py205 def _pull_file_from_device(self, device_path, host_path): argument
206 if self.adb.run(['pull', device_path, host_path]):
210 filename = device_path[device_path.rfind('/')+1:]
211 if (self.adb.run(['shell', 'cp', device_path, '/data/local/tmp']) and
215 log_warning('failed to pull %s from device' % device_path)
/system/core/fastboot/
Dusb.h53 char device_path[256]; member
Dusb_linux.cpp172 snprintf(info.device_path, sizeof(info.device_path), "usb:%s", sysfs_name); in filter_usb_device()
Dusb_osx.cpp340 snprintf(handle->info.device_path, sizeof(handle->info.device_path), in try_device()
Dusb_windows.cpp305 info.device_path[0] = 0; in recognized_device()
Dfastboot.cpp210 strcmp(local_serial, info->device_path) != 0)) return -1; in match_fastboot_with_serial()
232 if (strlen(info->device_path) > 0) printf(" %s", info->device_path); in list_devices_callback()
/system/update_engine/
Dboot_control_chromeos.cc258 base::FilePath device_path(device); in SysfsBlockDevice() local
259 if (device_path.DirName().value() != "/dev") { in SysfsBlockDevice()
262 return base::FilePath("/sys/block").Append(device_path.BaseName()).value(); in SysfsBlockDevice()
/system/core/toolbox/
Dgetevent.c531 const char *device_path = "/dev/input"; in getevent_main() local
625 res = inotify_add_watch(ufds[0].fd, device_path, IN_DELETE | IN_CREATE); in getevent_main()
627 fprintf(stderr, "could not add watch for %s, %s\n", device_path, strerror(errno)); in getevent_main()
630 res = scan_dir(device_path, print_flags); in getevent_main()
632 fprintf(stderr, "scan dir failed for %s\n", device_path); in getevent_main()
658 read_notify(device_path, ufds[0].fd, print_flags); in getevent_main()
/system/update_engine/payload_consumer/
Dpostinstall_runner_action_unittest.cc100 void RunPosinstallAction(const string& device_path,
169 const string& device_path, in RunPosinstallAction() argument
177 part.target_path = device_path; in RunPosinstallAction()