/system/core/fastboot/fuzzy_fastboot/ |
D | fixtures.cpp | 67 cb_scratch = info->device_path; in MatchFastboot() 72 local_serial != info->device_path) in MatchFastboot() 80 if (std::equal(prefix.begin(), prefix.end(), device_path.begin())) { in UsbStillAvailible() 81 std::string fname(device_path.begin() + prefix.size(), device_path.end()); in UsbStillAvailible() 112 if (device_path != "") { // make sure the device is still connected in SetUp() 129 if (device_path == "") { // We set it the first time, then make sure it never changes in SetUp() 130 device_path = cb_scratch; in SetUp() 132 ASSERT_EQ(device_path, cb_scratch); // The path can not change in SetUp() 188 device_path = cb_scratch; in ReconnectFastbootDevice() 241 std::string FastBootTest::device_path = ""; member in fastboot::FastBootTest
|
D | fixtures.h | 73 static std::string device_path; variable
|
/system/core/fs_mgr/libfs_avb/ |
D | fs_avb_util.cpp | 50 std::string device_path = fstab_entry.blk_device; in LoadAndVerifyVbmeta() local 54 if (!dm.GetDmDevicePathByName(fstab_entry.blk_device, &device_path)) { in LoadAndVerifyVbmeta() 60 return LoadAndVerifyVbmetaByPath(device_path, avb_partition_name, expected_public_key_blob, in LoadAndVerifyVbmeta()
|
D | avb_ops.cpp | 158 std::string device_path; in GetLogicalPath() local 161 if (!dm.GetDmDevicePathByName(fstab_entry->blk_device, &device_path)) { in GetLogicalPath() 165 return device_path; in GetLogicalPath()
|
D | fs_avb.cpp | 209 auto device_path = custom_device_path ? custom_device_path : android_by_name_symlink; in LoadAndVerifyVbmeta() local 213 load_chained_vbmeta, rollback_protection, device_path, false, in LoadAndVerifyVbmeta()
|
/system/extras/simpleperf/scripts/ |
D | binary_cache_builder.py | 193 def _pull_file_from_device(self, device_path, host_path): argument 194 if self.adb.run(['pull', device_path, host_path]): 198 filename = device_path[device_path.rfind('/')+1:] 199 if (self.adb.run(['shell', 'cp', device_path, '/data/local/tmp']) and 203 log_warning('failed to pull %s from device' % device_path)
|
/system/apex/apexd/ |
D | apexd_loop.cpp | 67 Status configureReadAhead(const std::string& device_path) { in configureReadAhead() argument 68 auto pos = device_path.find("/dev/block/"); in configureReadAhead() 73 pos = device_path.find_last_of('/'); in configureReadAhead() 74 std::string device_name = device_path.substr(pos + 1, std::string::npos); in configureReadAhead()
|
D | apexd_loop.h | 59 Status configureReadAhead(const std::string& device_path);
|
/system/core/fastboot/ |
D | usb.h | 52 char device_path[256]; member
|
D | usb_linux.cpp | 175 snprintf(info.device_path, sizeof(info.device_path), "usb:%s", sysfs_name); in filter_usb_device()
|
D | usb_osx.cpp | 340 snprintf(handle->info.device_path, sizeof(handle->info.device_path), in try_device()
|
D | usb_windows.cpp | 320 info.device_path[0] = 0; in recognized_device()
|
D | fastboot.cpp | 245 strcmp(local_serial, info->device_path) != 0)) return -1; in match_fastboot_with_serial() 267 if (strlen(info->device_path) > 0) printf(" %s", info->device_path); in list_devices_callback()
|
/system/core/fs_mgr/libdm/ |
D | dm_test.cpp | 95 std::string device_path; in path() local 96 if (!dm_.GetDmDevicePathByName(name_, &device_path)) { in path() 99 return device_path; in path()
|
/system/update_engine/ |
D | boot_control_chromeos.cc | 284 base::FilePath device_path(device); in SysfsBlockDevice() local 285 if (device_path.DirName().value() != "/dev") { in SysfsBlockDevice() 288 return base::FilePath("/sys/block").Append(device_path.BaseName()).value(); in SysfsBlockDevice()
|
/system/core/toolbox/ |
D | getevent.c | 531 const char *device_path = "/dev/input"; in getevent_main() local 628 res = inotify_add_watch(ufds[0].fd, device_path, IN_DELETE | IN_CREATE); in getevent_main() 630 fprintf(stderr, "could not add watch for %s, %s\n", device_path, strerror(errno)); in getevent_main() 633 res = scan_dir(device_path, print_flags); in getevent_main() 635 fprintf(stderr, "scan dir failed for %s\n", device_path); in getevent_main() 661 read_notify(device_path, ufds[0].fd, print_flags); in getevent_main()
|
/system/update_engine/payload_consumer/ |
D | postinstall_runner_action_unittest.cc | 100 void RunPostinstallAction(const string& device_path, 170 const string& device_path, in RunPostinstallAction() argument 179 part.target_path = device_path; in RunPostinstallAction()
|
/system/core/fs_mgr/ |
D | fs_mgr_overlayfs.cpp | 547 bool fs_mgr_overlayfs_mount_scratch(const std::string& device_path, const std::string mnt_type, in fs_mgr_overlayfs_mount_scratch() argument 550 if (!fs_mgr_access(device_path)) return false; in fs_mgr_overlayfs_mount_scratch() 552 if (!fs_mgr_rw_access(device_path)) return false; in fs_mgr_overlayfs_mount_scratch() 555 auto f2fs = fs_mgr_is_f2fs(device_path); in fs_mgr_overlayfs_mount_scratch() 556 auto ext4 = fs_mgr_is_ext4(device_path); in fs_mgr_overlayfs_mount_scratch() 567 entry.blk_device = device_path; in fs_mgr_overlayfs_mount_scratch() 576 fs_mgr_set_blk_ro(device_path, false); in fs_mgr_overlayfs_mount_scratch()
|
/system/core/adb/client/ |
D | usb_libusb.cpp | 391 std::string device_path = get_device_dev_path(device); in device_connected() local
|