Home
last modified time | relevance | path

Searched refs:download_path (Results 1 – 14 of 14) sorted by relevance

/external/toolchain-utils/crosperf/
Ddownload_images.py75 download_path = os.path.join(chromeos_root, 'chroot/tmp', build_id)
76 image_path = os.path.join(download_path, 'chromiumos_test_image.bin')
77 if not os.path.exists(download_path):
78 os.makedirs(download_path)
84 command = '%s cp %s %s' % (gsutil_cmd, image_name, download_path)
89 downloaded_image_name = os.path.join(download_path,
104 download_path = os.path.join(chromeos_root, 'chroot/tmp', build_id)
105 command = ('cd %s ; tar -Jxf chromiumos_test_image.tar.xz ' % download_path)
107 clean_cmd = ('cd %s ; rm -f chromiumos_test_image.bin ' % download_path)
126 command = ('cd %s ; rm -f chromiumos_test_image.tar.xz; ' % download_path)
[all …]
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Dcloud_storage_info_unittest.py119 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 …]
Dbase_config.py147 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 …]
Dcloud_storage_info.py14 def __init__(self, cs_bucket, cs_hash, download_path, cs_remote_path, argument
28 self._download_path = download_path
Ddependency_info_unittest.py81 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')
Dbase_config_unittest.py1062 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/perfetto/tools/
Dinstall-build-deps398 download_path = local_path + '.tmp'
400 urllib.urlretrieve(url, download_path)
401 os.chmod(download_path, 0o755)
402 actual_sha1 = HashLocalFile(download_path)
404 os.remove(download_path)
406 download_path, expected_sha1, actual_sha1))
408 os.rename(download_path, local_path)
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dcloud_storage.py389 def GetIfHashChanged(cs_path, download_path, bucket, file_hash): argument
400 with _FileLock(download_path):
401 if (os.path.exists(download_path) and
402 CalculateHash(download_path) == file_hash):
404 _GetLocked(bucket, cs_path, download_path)
/external/autotest/client/site_tests/video_VideoEncodeAccelerator/
Dvideo_VideoEncodeAccelerator.py39 def _download_video(download_path, local_file): argument
40 url = '%s%s' % (DOWNLOAD_BASE, download_path)
47 if md5sum not in download_path:
/external/autotest/client/site_tests/video_VDASanity/
Dvideo_VDASanity.py40 def _download_video(self, download_path, local_file): argument
41 url = DOWNLOAD_BASE + download_path
Dcontrol.vp929 # [download_path, width, height, frame_num, fragment_num, MediaCodecProfile]
/external/autotest/client/site_tests/video_VDAPerf/
Dvideo_VDAPerf.py207 def _download_video(self, download_path, local_file): argument
208 url = '%s%s' % (DOWNLOAD_BASE, download_path)
215 if md5sum not in download_path:
Dcontrol.cfm23 # [download_path, width, height, frame_num, fragment_num, profile, fps, required_cap]
Dcontrol29 # [download_path, width, height, frame_num, fragment_num, profile, fps, required_cap]