Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/platform_CrosDisksArchive/
Dplatform_CrosDisksArchive.py47 def _make_tar_archive(self, archive_path, root_dir, compression=None): argument
61 archive = tarfile.open(archive_path, mode)
66 def _make_zip_archive(self, archive_path, root_dir, argument
80 archive = zipfile.ZipFile(archive_path, 'w', compression)
85 def _make_archive(self, archive_type, archive_path, root_dir): argument
98 self._make_zip_archive(archive_path, root_dir)
100 self._make_tar_archive(archive_path, root_dir)
102 self._make_tar_archive(archive_path, root_dir, 'gz')
104 self._make_tar_archive(archive_path, root_dir, 'bz2')
127 archive_path = os.path.join(image.mount_dir, archive_name)
[all …]
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Ddependency_manager_util_unittest.py59 self.archive_path = self.CreateZipArchiveFromDir(self.tmp_dir)
64 if os.path.isfile(self.archive_path):
65 os.remove(self.archive_path)
109 archive_path = shutil.make_archive(base_path, 'zip', dir_path)
110 self.assertTrue(os.path.exists(archive_path))
111 self.assertTrue(zipfile.is_zipfile(archive_path))
113 if os.path.isfile(archive_path):
114 os.remove(archive_path)
116 return archive_path
133 dependency_manager_util.UnzipArchive(self.archive_path, unzip_path)
[all …]
Ddependency_manager_util.py74 def UnzipArchive(archive_path, unzip_path): argument
85 if not (archive_path and zipfile.is_zipfile(archive_path)):
87 'Attempting to unzip a non-archive file at %s' % archive_path)
91 with zipfile.ZipFile(archive_path, 'r') as archive:
/external/chromium-trace/catapult/telemetry/telemetry/internal/util/
Dwpr_server.py60 def __init__(self, archive_path, replay_host, http_port, https_port, dns_port, argument
76 self.archive_path = archive_path
88 replay_options, archive_path)
91 self._CheckPath('archive directory', os.path.dirname(self.archive_path))
92 elif not os.path.exists(self.archive_path):
93 self._CheckPath('archive file', self.archive_path)
110 replay_options, archive_path, log_level=None): argument
129 cmd_line.append(archive_path)
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dnetwork_controller_backend.py163 def StartReplay(self, archive_path, make_javascript_deterministic=False): argument
192 if not archive_path:
201 not os.path.exists(archive_path)):
203 'Archive path does not exist: %s' % archive_path)
205 self._archive_path == archive_path and
209 self._archive_path = archive_path
/external/chromium-trace/catapult/telemetry/telemetry/testing/
Dserially_executed_browser_test_case.py80 def StartWPRServer(cls, archive_path=None, archive_bucket=None): argument
93 cloud_storage.GetIfChanged(archive_path, archive_bucket)
95 cls.platform.network_controller.StartReplay(archive_path=archive_path)
/external/chromium-trace/catapult/telemetry/telemetry/core/
Dnetwork_controller.py38 def StartReplay(self, archive_path, make_javascript_deterministic=False): argument
40 archive_path, make_javascript_deterministic)
/external/chromium-trace/catapult/telemetry/telemetry/page/
Dshared_page_state.py201 archive_path = page_set.WprFilePathForStory(page, self.platform.GetOSName())
204 if archive_path is not None and not os.path.isfile(archive_path):
205 logging.warning('WPR archive missing: %s', archive_path)
206 archive_path = None
208 archive_path, page.make_javascript_deterministic)
/external/chromium-trace/catapult/telemetry/telemetry/internal/
Dstory_runner.py415 archive_path = wpr_archive_info.WprFilePathForStory(story)
416 if not archive_path:
418 elif not os.path.isfile(archive_path):
/external/chromium-trace/catapult/telemetry/telemetry/wpr/
Darchive_info.py105 archive_path = self._WprFileNameToPath(
107 download_if_needed(archive_path)
/external/chromium-trace/catapult/telemetry/telemetry/testing/fakes/
D__init__.py335 def StartReplay(self, archive_path, make_javascript_deterministic=False): argument
338 self.is_initialized = archive_path is not None