Searched refs:download_path (Results 1 – 10 of 10) sorted by relevance
/external/toolchain-utils/crosperf/ |
D | download_images.py | 77 download_path = os.path.join(chromeos_root, 'chroot/tmp', build_id) 78 image_path = os.path.join(download_path, 'chromiumos_test_image.bin') 79 if not os.path.exists(download_path): 80 os.makedirs(download_path) 86 command = '%s cp %s %s' % (gsutil_cmd, image_name, download_path) 91 downloaded_image_name = os.path.join(download_path, 106 download_path = os.path.join(chromeos_root, 'chroot/tmp', build_id) 107 command = ('cd %s ; tar -Jxf chromiumos_test_image.tar.xz ' % download_path) 109 clean_cmd = ('cd %s ; rm -f chromiumos_test_image.bin ' % download_path) 128 command = ('cd %s ; rm -f chromiumos_test_image.tar.xz; ' % download_path) [all …]
|
D | suite_runner.py | 208 download_path = os.path.join(label.chromeos_root, 'chroot/tmp') 211 cp_command = '%s -mq cp -r %s %s' % (gsutil_cmd, result_dir, download_path)
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
D | cloud_storage_info_unittest.py | 119 self.download_path = '/foo/download_path' 121 self.download_path, contents='1010110', st_mode=stat.S_IWOTH) 123 'cs_bucket', 'cs_hash', self.download_path, 'cs_remote_path', 132 def _GetIfHashChangedMock(cs_path, download_path, bucket, file_hash): argument 134 if not os.path.exists(download_path): 135 self.fs.CreateFile(download_path, contents='1010001010101010110101') 140 os.path.abspath(self.download_path), 142 self.assertTrue(os.stat(self.download_path).st_mode & stat.S_IXUSR) 146 self.fs.RemoveObject(self.download_path) 156 def _GetIfHashChangedMock(cs_path, download_path, bucket, file_hash): argument [all …]
|
D | base_config.py | 147 download_path = platform_info.get('download_path') 148 if download_path: 149 download_path = self._FormatPath(download_path) 150 download_path = os.path.abspath( 151 os.path.join(base_path, download_path)) 166 os.path.join(os.path.dirname(download_path), 169 os.path.join(os.path.dirname(download_path), 173 download_path, unzip_path, path_within_archive, 177 cs_bucket, cs_hash, download_path, cs_remote_path, 204 def SetDownloadPath(self, dependency, platform, download_path): argument [all …]
|
D | cloud_storage_info.py | 14 def __init__(self, cs_bucket, cs_hash, download_path, cs_remote_path, argument 28 self._download_path = download_path
|
D | dependency_info_unittest.py | 81 download_path='download_path2', cs_remote_path='cs_remote_path2') 90 download_path='download_path4', cs_remote_path='cs_remote_path4') 188 download_path='download_path2', cs_remote_path='cs_remote_path2') 199 download_path='download_path4', cs_remote_path='cs_remote_path4')
|
D | base_config_unittest.py | 1062 self.download_path = '../../relative/dep1/path2' 1066 'download_path': self.download_path, 1150 download_path = '../../relative/dep1/foo.bar' 1151 config.SetDownloadPath('dep2', 'plat1', download_path) 1153 download_path, 1158 download_path = '../../relative/dep1/foo.bar' 1159 config.SetDownloadPath('dep2', 'newplat', download_path) 1161 download_path, 1368 self.assertEqual(self.download_path, config._GetPlatformData( 1513 cs_hash='hash111', download_path='download_path111', [all …]
|
/external/avb/tools/transparency/ |
D | pixel_factory_image_verify.py | 126 download_path = tempfile.mkdtemp(dir=self.working_dir) 129 download_filename = self._download_file(download_path, url) 134 download_file = os.path.join(download_path, download_filename) 151 shutil.rmtree(download_path) 154 % download_path)
|
/external/perfetto/tools/ |
D | install-build-deps | 526 download_path = local_path + '.tmp' 528 DownloadURL(dep.source_url, download_path) 529 os.chmod(download_path, 0o755) 530 actual_checksum = HashLocalFile(download_path) 532 os.remove(download_path) 534 download_path, dep.checksum, actual_checksum)) 536 shutil.move(download_path, local_path)
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | cloud_storage.py | 480 def GetIfHashChanged(cs_path, download_path, bucket, file_hash): argument 491 with _FileLock(download_path): 492 if (os.path.exists(download_path) and 493 CalculateHash(download_path) == file_hash): 495 _GetLocked(bucket, cs_path, download_path)
|