/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 | 71 def UnzipArchive(archive_path, unzip_path): argument 82 if not (archive_path and zipfile.is_zipfile(archive_path)): 84 'Attempting to unzip a non-archive file at %s' % archive_path) 88 with zipfile.ZipFile(archive_path, 'r') as archive:
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/util/ |
D | webpagereplay.py | 59 def __init__(self, archive_path, replay_host, http_port, https_port, dns_port, argument 75 self.archive_path = archive_path 87 replay_options, archive_path) 90 self._CheckPath('archive directory', os.path.dirname(self.archive_path)) 91 elif not os.path.exists(self.archive_path): 92 self._CheckPath('archive file', self.archive_path) 99 replay_options, archive_path): argument 118 cmd_line.append(archive_path)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
D | network_controller_backend.py | 143 def StartReplay(self, archive_path, make_javascript_deterministic=False): argument 172 if not archive_path: 181 not os.path.exists(archive_path)): 183 'Archive path does not exist: %s' % archive_path) 185 self._archive_path == archive_path and 189 self._archive_path = archive_path
|
D | network_controller_backend_unittest.py | 61 def __init__(self, archive_path, host_ip, http_port, https_port, dns_port, argument 63 self.archive_path = archive_path 267 self.assertEqual(b.replay_server.archive_path, 'some-archive.wpr') 301 self.assertEqual(b.replay_server.archive_path, 'some-archive.wpr')
|
/external/chromium-trace/catapult/telemetry/telemetry/wpr/ |
D | archive_info.py | 81 for archive_path in self._data['archives']: 82 archive_path = self._WprFileNameToPath(archive_path) 84 cloud_storage.GetIfChanged(archive_path, self._bucket) 86 if os.path.exists(archive_path): 90 archive_path)
|
/external/autotest/client/cros/ |
D | webpagereplay_wrapper.py | 18 def __init__(self, archive_path): argument 33 archive_path=archive_path,
|
/external/chromium-trace/catapult/telemetry/telemetry/core/ |
D | network_controller.py | 25 def StartReplay(self, archive_path, make_javascript_deterministic=False): argument 27 archive_path, make_javascript_deterministic)
|
/external/chromium-trace/catapult/telemetry/telemetry/page/ |
D | shared_page_state.py | 249 archive_path = page_set.WprFilePathForStory(page) 252 if archive_path is not None and not os.path.isfile(archive_path): 253 logging.warning('WPR archive missing: %s', archive_path) 254 archive_path = None 256 archive_path, page.make_javascript_deterministic) 434 def SetPregeneratedProfileArchiveDir(self, archive_path): argument 443 self._pregenerated_profile_archive_dir = archive_path
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/ |
D | story_runner.py | 355 archive_path = wpr_archive_info.WprFilePathForStory(story) 356 if not archive_path: 358 elif not os.path.isfile(archive_path):
|
/external/chromium-trace/catapult/telemetry/telemetry/testing/fakes/ |
D | __init__.py | 298 def StartReplay(self, archive_path, make_javascript_deterministic=False): argument 301 self.is_replay_active = archive_path is not None
|