/external/autotest/client/site_tests/platform_CrosDisksArchive/ |
D | platform_CrosDisksArchive.py | 47 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/ |
D | dependency_manager_util_unittest.py | 59 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 …]
|
D | dependency_manager_util.py | 74 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/ |
D | wpr_server.py | 60 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/ |
D | network_controller_backend.py | 163 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/ |
D | serially_executed_browser_test_case.py | 80 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/ |
D | network_controller.py | 38 def StartReplay(self, archive_path, make_javascript_deterministic=False): argument 40 archive_path, make_javascript_deterministic)
|
/external/chromium-trace/catapult/telemetry/telemetry/page/ |
D | shared_page_state.py | 201 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/ |
D | story_runner.py | 415 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/ |
D | archive_info.py | 105 archive_path = self._WprFileNameToPath( 107 download_if_needed(archive_path)
|
/external/chromium-trace/catapult/telemetry/telemetry/testing/fakes/ |
D | __init__.py | 335 def StartReplay(self, archive_path, make_javascript_deterministic=False): argument 338 self.is_initialized = archive_path is not None
|