/external/autotest/site_utils/lxc/ |
D | zygote.py | 22 snapshot=False, host_path=None): argument 52 if host_path is not None: 54 self.host_path = host_path 58 self.host_path = self._find_existing_host_dir() 59 if self.host_path is None: 65 self.host_path = os.path.join( 74 ro_dir, ro_name = os.path.split(self.host_path.rstrip(os.path.sep)) 86 if not lxc_utils.path_exists(self.host_path): 87 os.makedirs(self.host_path) 97 self.mount_dir(self.host_path, constants.CONTAINER_HOST_DIR) [all …]
|
D | zygote_unittest.py | 62 host_path = zygote.host_path 64 self.assertTrue(os.path.isdir(host_path)) 72 self.assertFalse(os.path.isdir(host_path)) 78 host_path = zygote.host_path 80 self.assertTrue(os.path.isdir(host_path)) 85 self.assertFalse(os.path.isdir(host_path)) 91 host_path = zygote.host_path 93 utils.run('sudo rmdir %s' % zygote.host_path) 94 self.assertFalse(os.path.isdir(host_path)) 103 self.assertIsNotNone(zygote.host_path) [all …]
|
D | container.py | 571 def copy(self, host_path, container_path): argument 579 self._do_copy(src=host_path, dst=dst_path)
|
D | container_unittest.py | 347 def verifyBindMount(self, container, container_path, host_path): argument 357 host_inode = utils.run('ls -id %s' % host_path).stdout.split()[0]
|
/external/skia/infra/bots/recipe_modules/flavor/ |
D | chromebook.py | 86 def copy_file_to_device(self, host_path, device_path): argument 89 self.m.python.inline(str('scp %s %s' % (host_path, device_path)), 96 """, args=[host_path, device_path], infra_step=True) 110 def copy_directory_contents_to_device(self, host_path, device_path): argument 111 self._copy_dir(host_path, self._prefix_device_path(device_path)) 113 def copy_directory_contents_to_host(self, device_path, host_path): argument 114 self._copy_dir(self._prefix_device_path(device_path), host_path)
|
D | api.py | 95 def copy_file_to_device(self, host_path, device_path): argument 96 return self._f.copy_file_to_device(host_path, device_path) 133 host_path, device_path): argument 148 host_path, device_path)
|
D | default.py | 122 def copy_file_to_device(self, host_path, device_path): argument 126 if str(host_path) != str(device_path): 130 str(host_path), str(device_path)))
|
/external/skqp/infra/bots/recipe_modules/flavor/ |
D | chromebook.py | 86 def copy_file_to_device(self, host_path, device_path): argument 89 self.m.python.inline(str('scp %s %s' % (host_path, device_path)), 96 """, args=[host_path, device_path], infra_step=True) 110 def copy_directory_contents_to_device(self, host_path, device_path): argument 111 self._copy_dir(host_path, self._prefix_device_path(device_path)) 113 def copy_directory_contents_to_host(self, device_path, host_path): argument 114 self._copy_dir(self._prefix_device_path(device_path), host_path)
|
D | api.py | 95 def copy_file_to_device(self, host_path, device_path): argument 96 return self._f.copy_file_to_device(host_path, device_path) 133 host_path, device_path): argument 148 host_path, device_path)
|
D | default.py | 122 def copy_file_to_device(self, host_path, device_path): argument 126 if str(host_path) != str(device_path): 130 str(host_path), str(device_path)))
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | device_utils.py | 1526 def _GetChangedAndStaleFiles(self, host_path, device_path, track_stale=False): argument 1544 host_path = host_path.rstrip('/') 1548 ignore_other_files = not track_stale and os.path.isdir(host_path) 1551 for root, _, filenames in os.walk(host_path): 1552 relative_dir = root[len(host_path) + 1:] 1557 return md5sum.CalculateHostMd5Sums([host_path]) 1576 return ([(host_path, device_path)], [], [], lambda: 0) 1581 if os.path.isfile(host_path): 1582 host_checksum = host_checksums.get(host_path) 1585 up_to_date.append(host_path) [all …]
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | mock_calls_test.py | 27 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/ |
D | device_utils.md | 537 host_device_tuples: A list of (host_path, device_path) tuples, where 538 |host_path| is an absolute path of a file or directory on the host 606 host_path: A string containing the absolute path of the destination on 975 host_path: A string containing the path on the host to save the
|