Home
last modified time | relevance | path

Searched refs:host_path (Results 1 – 11 of 11) sorted by relevance

/external/autotest/client/tests/kvm/tests/
Dmigration_with_file_transfer.py32 host_path = "/tmp/file-%s" % virt_utils.generate_random_string(6)
33 host_path_returned = "%s-returned" % host_path
39 utils.run("dd if=/dev/urandom of=%s bs=1M count=%s" % (host_path,
59 bg = virt_utils.Thread(vm.copy_files_to, (host_path, guest_path),
72 orig_hash = client_utils.hash_file(host_path)
82 if os.path.isfile(host_path):
83 os.remove(host_path)
/external/autotest/client/virt/tests/
Dfile_transfer.py37 host_path = os.path.join(dir_name, "tmp-%s" %
39 host_path2 = host_path + ".2"
40 cmd = "dd if=/dev/zero of=%s bs=10M count=%d" % (host_path, count)
52 vm.copy_files_to(host_path, guest_path, timeout=transfer_timeout)
70 if (utils.hash_file(host_path, method="md5") !=
80 os.remove(host_path)
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/
Dandroid_prebuilt_profiler_helper.py23 host_path = binary_manager.FetchPath(profiler_binary, arch_name, 'android')
24 if not host_path:
26 host_path)
30 device.PushChangedFiles([(host_path, device_binary_path)])
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils.py1148 def _GetChangedAndStaleFiles(self, host_path, device_path, track_stale=False): argument
1165 host_path = host_path.rstrip('/')
1169 ignore_other_files = not track_stale and os.path.isdir(host_path)
1172 for root, _, filenames in os.walk(host_path):
1173 relative_dir = root[len(host_path) + 1:]
1178 return md5sum.CalculateHostMd5Sums([host_path])
1197 return ([(host_path, device_path)], [], [], lambda: 0)
1202 if os.path.isfile(host_path):
1203 host_checksum = host_checksums.get(host_path)
1206 up_to_date.append(host_path)
[all …]
/external/skia/infra/bots/flavor/
Ddefault_flavor.py128 def copy_file_to_device(self, host_path, device_path): argument
132 if str(host_path) != str(device_path): # pragma: no cover
136 str(host_path), str(device_path)))
Dios_flavor.py74 def copy_file_to_device(self, host_path, device_path): argument
77 [os.path.join(self.ios_bin, 'ios_push_file'), host_path, device_path],
Dssh_flavor.py112 def copy_file_to_device(self, host_path, device_path): argument
115 cmd.extend([host_path, remote_path])
Dandroid_flavor.py146 def copy_file_to_device(self, host_path, device_path): argument
148 self._adb(name='push %s' % self._bot_info.m.path.basename(host_path),
150 cmd=['push', host_path, device_path],
/external/autotest/client/virt/
Dvirt_vm.py536 def copy_files_to(self, host_path, guest_path, nic_index=0, verbose=False, argument
558 host_path, guest_path, log_filename, verbose,
563 def copy_files_from(self, guest_path, host_path, nic_index=0, argument
585 guest_path, host_path, log_filename,
/external/chromium-trace/catapult/devil/devil/utils/
Dmock_calls_test.py27 def Push(self, host_path, device_path): argument
28 logging.debug('(device %s) pushing %r to %r', self, host_path, device_path)
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dandroid_platform_backend.py194 return bool(self._device.TakeScreenshot(host_path=file_path))