Home
last modified time | relevance | path

Searched refs:wpr_file (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/catapult/telemetry/telemetry/wpr/
Darchive_info.py116 wpr_file = self._story_name_to_wpr_file.get(story.display_name, None)
117 if wpr_file is None and hasattr(story, 'url'):
120 wpr_file = self._story_name_to_wpr_file.get(story.url, None)
121 if wpr_file:
122 if target_platform in wpr_file:
123 return self._WprFileNameToPath(wpr_file[target_platform])
124 return self._WprFileNameToPath(wpr_file[_DEFAULT_PLATFORM])
184 def _WprFileNameToPath(self, wpr_file): argument
185 return os.path.abspath(os.path.join(self._base_dir, wpr_file))
197 for wpr_file in wpr_files:
[all …]
Darchive_info_unittest.py90 for wpr_file in wpr_files:
91 assert isinstance(wpr_file, basestring)
92 with open(os.path.join(self.tmp_dir, wpr_file), 'w') as f: