Home
last modified time | relevance | path

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

/external/autotest/site_utils/lxc/
Dzygote_unittest.py67 host_path = zygote.host_path
69 self.assertTrue(os.path.isdir(host_path))
77 self.assertFalse(os.path.isdir(host_path))
83 host_path = zygote.host_path
85 self.assertTrue(os.path.isdir(host_path))
90 self.assertFalse(os.path.isdir(host_path))
96 host_path = zygote.host_path
98 utils.run('sudo rmdir %s' % zygote.host_path)
99 self.assertFalse(os.path.isdir(host_path))
118 self.assertIsNotNone(zygote.host_path)
[all …]
Dzygote.py23 snapshot=False, host_path=None): argument
45 if host_path is None:
46 self.host_path = os.path.join(
50 self.host_path = host_path
54 if not lxc_utils.path_exists(self.host_path):
55 utils.run('sudo mkdir %s' % self.host_path)
56 self.mount_dir(self.host_path, constants.CONTAINER_AUTOTEST_DIR)
61 if lxc_utils.path_exists(self.host_path):
98 'sudo mount --bind %s %s' % (self.host_path, autotest_tmp))
121 self.host_path,
[all …]
Dunittest_container_bucket.py20 def __init__(self, lxc_path, host_path): argument
41 super(FastContainerBucket, self).__init__(lxc_path, host_path)
/external/skia/infra/bots/recipe_modules/flavor/
Dgn_chromebook_flavor.py162 def copy_file_to_device(self, host_path, device_path): argument
165 self.m.python.inline(str('scp %s %s' % (host_path, device_path)),
172 """, args=[host_path, device_path], infra_step=True)
186 def copy_directory_contents_to_device(self, host_path, device_path): argument
187 self._copy_dir(host_path, self._prefix_device_path(device_path))
189 def copy_directory_contents_to_host(self, device_path, host_path): argument
190 self._copy_dir(self._prefix_device_path(device_path), host_path)
Ddefault_flavor.py126 def copy_file_to_device(self, host_path, device_path): argument
130 if str(host_path) != str(device_path):
134 str(host_path), str(device_path)))
Dapi.py102 def copy_file_to_device(self, host_path, device_path): argument
103 return self._f.copy_file_to_device(host_path, device_path)
141 host_path, device_path, test_expected_version, argument
157 host_path, device_path)
/external/libmojo/third_party/catapult/devil/devil/android/
Ddevice_utils.py1209 def _GetChangedAndStaleFiles(self, host_path, device_path, track_stale=False): argument
1227 host_path = host_path.rstrip('/')
1231 ignore_other_files = not track_stale and os.path.isdir(host_path)
1234 for root, _, filenames in os.walk(host_path):
1235 relative_dir = root[len(host_path) + 1:]
1240 return md5sum.CalculateHostMd5Sums([host_path])
1259 return ([(host_path, device_path)], [], [], lambda: 0)
1264 if os.path.isfile(host_path):
1265 host_checksum = host_checksums.get(host_path)
1268 up_to_date.append(host_path)
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils.py1298 def _GetChangedAndStaleFiles(self, host_path, device_path, track_stale=False): argument
1316 host_path = host_path.rstrip('/')
1320 ignore_other_files = not track_stale and os.path.isdir(host_path)
1323 for root, _, filenames in os.walk(host_path):
1324 relative_dir = root[len(host_path) + 1:]
1329 return md5sum.CalculateHostMd5Sums([host_path])
1348 return ([(host_path, device_path)], [], [], lambda: 0)
1353 if os.path.isfile(host_path):
1354 host_checksum = host_checksums.get(host_path)
1357 up_to_date.append(host_path)
[all …]
/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/libmojo/third_party/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/devil/docs/
Ddevice_utils.md501 host_device_tuples: A list of (host_path, device_path) tuples, where
502 |host_path| is an absolute path of a file or directory on the host
568 host_path: A string containing the absolute path of the destination on
902 host_path: A string containing the path on the host to save the
/external/devlib/devlib/
Dtarget.py510 def install_if_needed(self, host_path, search_system_binaries=True): argument
512 binary_path = self.get_installed(os.path.split(host_path)[1],
515 binary_path = self.install(host_path)