Home
last modified time | relevance | path

Searched refs:finder_options (Results 1 – 24 of 24) sorted by relevance

/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
Dandroid_browser_finder_unittest.py26 self.finder_options = options_for_unittests.GetCopy()
54 self.finder_options, fake_platform)
58 if not self.finder_options.chrome_root:
61 android_browser_finder.FindAllBrowserTypes(self.finder_options))
64 self.finder_options, self.fake_platform)
70 if not self.finder_options.chrome_root:
74 android_browser_finder.FindAllBrowserTypes(self.finder_options))
77 self.finder_options, self.fake_platform)
83 if not self.finder_options.chrome_root:
88 self.finder_options.browser_executable = '/foo/ContentShell.apk'
[all …]
Dcros_browser_finder.py21 def __init__(self, browser_type, finder_options, cros_platform, is_guest): argument
23 assert browser_type in FindAllBrowserTypes(finder_options), (
37 def Create(self, finder_options): argument
38 if finder_options.browser_options.output_profile_path:
42 browser_options = finder_options.browser_options
69 def CanFindAvailableBrowsers(finder_options): argument
71 finder_options.cros_remote or
82 def FindAllAvailableBrowsers(finder_options, device): argument
89 browsers = [PossibleCrOSBrowser('system', finder_options,
92 PossibleCrOSBrowser('system-guest', finder_options,
[all …]
Ddesktop_browser_finder.py26 def __init__(self, browser_type, finder_options, executable, flash_path, argument
31 assert browser_type in FindAllBrowserTypes(finder_options), (
53 def Create(self, finder_options): argument
65 finder_options.browser_options, self._local_executable,
124 def FindAllAvailableBrowsers(finder_options, device): argument
164 if (finder_options.browser_executable and
165 CanPossiblyHandlePath(finder_options.browser_executable)):
166 is_content_shell = finder_options.browser_executable.endswith(
169 finder_options.browser_executable.endswith(x)]) != 0
175 finder_options.browser_executable)
[all …]
Dandroid_browser_finder.py73 def __init__(self, browser_type, finder_options, android_platform, argument
77 assert browser_type in FindAllBrowserTypes(finder_options), (
98 assert finder_options.chrome_root, (
100 chrome_root = finder_options.chrome_root
119 def Create(self, finder_options): argument
123 finder_options.browser_options, self._backend_settings)
177 def _FindAllPossibleBrowsers(finder_options, android_platform): argument
184 if (finder_options.browser_executable and
185 CanPossiblyHandlePath(finder_options.browser_executable)):
186 apk_name = os.path.basename(finder_options.browser_executable)
[all …]
Dios_browser_finder.py33 def Create(self, finder_options): argument
35 self._platform_backend, finder_options.browser_options)
68 def FindAllAvailableBrowsers(finder_options, device): argument
76 options = finder_options.browser_options
114 finder_options))
Dios_browser_finder_unittest.py18 finder_options = browser_options.BrowserFinderOptions()
20 finder_options, ios_device.IOSDevice())
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dandroid_device_unittest.py57 finder_options = browser_options.BrowserFinderOptions()
62 self.assertIsNone(android_device.GetDevice(finder_options))
66 finder_options = browser_options.BrowserFinderOptions()
70 self.assertIsNone(android_device.GetDevice(finder_options))
74 finder_options = browser_options.BrowserFinderOptions()
79 device = android_device.GetDevice(finder_options)
89 finder_options = browser_options.BrowserFinderOptions()
92 finder_options.remote_platform_options = platform_options
97 device = android_device.GetDevice(finder_options)
103 finder_options = browser_options.BrowserFinderOptions()
[all …]
Dandroid_device.py99 def GetDevice(finder_options): argument
101 android_platform_options = finder_options.remote_platform_options
117 enable_performance_mode=not finder_options.no_performance_mode)
Dcros_platform_backend.py39 def CreatePlatformForDevice(cls, device, finder_options): argument
Dplatform_backend.py55 def CreatePlatformForDevice(cls, device, finder_options): argument
Dandroid_platform_backend.py128 def CreatePlatformForDevice(cls, device, finder_options): argument
/external/chromium-trace/catapult/telemetry/telemetry/
Dbenchmark_run_unittest.py74 finder_options = fakes.CreateBrowserFinderOptions()
75 finder_options.browser_options.platform = fakes.FakeLinuxPlatform()
76 finder_options.output_formats = ['none']
77 finder_options.suppress_gtest_report = True
78 finder_options.output_dir = None
79 finder_options.upload_bucket = 'public'
80 finder_options.upload_results = False
82 parser = finder_options.CreateParser()
89 return benchmark, finder_options
92 benchmark, finder_options = self.setupBenchmark()
[all …]
Dbenchmark.py89 def Run(self, finder_options): argument
91 return story_runner.RunBenchmark(self, finder_options)
Dbenchmark_unittest.py140 def RunStub(test, story_set_module, finder_options, results, argument
/external/chromium-trace/catapult/telemetry/telemetry/page/
Dshared_page_state.py26 def _PrepareFinderOptions(finder_options, test, device_type): argument
27 browser_options = finder_options.browser_options
31 test.CustomizeBrowserOptions(finder_options.browser_options)
32 if finder_options.profiler:
33 profiler_class = profiler_finder.FindProfiler(finder_options.profiler)
35 finder_options)
46 def __init__(self, test, finder_options, story_set): argument
47 super(SharedPageState, self).__init__(test, finder_options, story_set)
49 if finder_options.profiler:
50 assert not 'trace' in finder_options.profiler, (
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/
Dstory_runner.py175 def Run(test, story_set, finder_options, results, max_failures=None, argument
186 if (not finder_options.use_live_sites and
187 finder_options.browser_options.wpr_mode != wpr_modes.WPR_RECORD):
202 effective_max_failures = finder_options.max_failures
213 for storyset_repeat_counter in xrange(finder_options.pageset_repeat):
215 for story_repeat_counter in xrange(finder_options.page_repeat):
222 test, finder_options.Copy(), story_set)
274 def RunBenchmark(benchmark, finder_options): argument
281 benchmark.CustomizeBrowserOptions(finder_options.browser_options)
283 possible_browser = browser_finder.FindBrowser(finder_options)
[all …]
/external/autotest/client/common_lib/cros/
Dchrome.py63 finder_options = browser_options.BrowserFinderOptions()
66 finder_options.browser_type = self.browser_type
68 finder_options.browser_options.AppendExtraBrowserArgs(
72 extensions_to_load = finder_options.extensions_to_load
83 finder_options.verbosity = 2
84 finder_options.CreateParser().parse_args(args=[])
85 b_options = finder_options.browser_options
113 browser_to_create = browser_finder.FindBrowser(finder_options)
114 self._browser = browser_to_create.Create(finder_options)
/external/chromium-trace/catapult/telemetry/telemetry/android/
Dshared_android_state.py18 def __init__(self, test, finder_options, story_set): argument
26 super(SharedAndroidState, self).__init__(test, finder_options, story_set)
33 self._finder_options = finder_options
36 device = android_device.GetDevice(finder_options)
39 device, finder_options)
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/
Dbrowser_options.py352 def UpdateFromParseResults(self, finder_options): argument
362 a = getattr(finder_options, o, None)
365 delattr(finder_options, o)
367 self.browser_type = finder_options.browser_type
368 self._finder_options = finder_options
399 if getattr(finder_options, 'logging_verbosity'):
400 self.logging_verbosity = finder_options.logging_verbosity
401 delattr(finder_options, 'logging_verbosity')
405 finder_options.browser_options = CreateChromeBrowserOptions(self)
408 def finder_options(self): member in BrowserOptions
Dpossible_browser.py34 def Create(self, finder_options): argument
/external/chromium-trace/catapult/telemetry/telemetry/testing/
Dbrowser_test_runner.py32 finder_options, positional_args = parser.parse_args(args)
33 finder_options.positional_args = positional_args
34 options_for_unittests.Push(finder_options)
35 return finder_options
156 def _GenerateTestCases(test_class, finder_options): argument
175 for generated_test_name, args in method(finder_options):
220 finder_options=options_for_unittests.GetCopy()):
225 def _LoadTests(test_class, finder_options, filter_regex_str, argument
239 for t in _GenerateTestCases(test_class, finder_options):
/external/chromium-trace/catapult/telemetry/telemetry/testing/fakes/
D__init__.py126 def Create(self, finder_options): argument
129 del finder_options # unused
149 def __init__(self, test, finder_options, story_set): argument
150 super(FakeSharedPageState, self).__init__(test, finder_options, story_set)
152 def _GetPossibleBrowser(self, test, finder_options): argument
/external/chromium-trace/catapult/telemetry/telemetry/internal/app/
Dpossible_app.py38 def Create(self, finder_options): argument
/external/chromium-trace/catapult/telemetry/telemetry/core/
Dplatform.py50 def GetPlatformForDevice(device, finder_options, logging=real_logging): argument
62 finder_options))