Home
last modified time | relevance | path

Searched refs:finder_options (Results 1 – 23 of 23) 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.output_profile_path:
42 browser_options = finder_options.browser_options
46 extensions_to_load=finder_options.extensions_to_load)
55 def SupportsOptions(self, finder_options): argument
56 if (len(finder_options.extensions_to_load) != 0) and self._is_guest:
70 def CanFindAvailableBrowsers(finder_options): argument
72 finder_options.cros_remote or
[all …]
Dandroid_browser_finder.py72 def __init__(self, browser_type, finder_options, android_platform, argument
76 assert browser_type in FindAllBrowserTypes(finder_options), (
97 assert finder_options.chrome_root, (
99 chrome_root = finder_options.chrome_root
118 def Create(self, finder_options): argument
122 finder_options.browser_options, self._backend_settings,
123 output_profile_path=finder_options.output_profile_path,
124 extensions_to_load=finder_options.extensions_to_load)
138 def SupportsOptions(self, finder_options): argument
139 if len(finder_options.extensions_to_load) != 0:
[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,
67 output_profile_path=finder_options.output_profile_path,
68 extensions_to_load=finder_options.extensions_to_load)
72 def SupportsOptions(self, finder_options): argument
73 if (len(finder_options.extensions_to_load) != 0) and self._is_content_shell:
125 def FindAllAvailableBrowsers(finder_options, device): argument
165 if (finder_options.browser_executable and
[all …]
Dios_browser_finder.py33 def Create(self, finder_options): argument
35 self._platform_backend, finder_options.browser_options)
39 def SupportsOptions(self, finder_options): argument
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.py56 finder_options = browser_options.BrowserFinderOptions()
61 self.assertIsNone(android_device.GetDevice(finder_options))
65 finder_options = browser_options.BrowserFinderOptions()
69 self.assertIsNone(android_device.GetDevice(finder_options))
73 finder_options = browser_options.BrowserFinderOptions()
78 device = android_device.GetDevice(finder_options)
88 finder_options = browser_options.BrowserFinderOptions()
89 finder_options.device = '555d14fecddddddd' # pick one
94 device = android_device.GetDevice(finder_options)
100 finder_options = browser_options.BrowserFinderOptions()
[all …]
Dandroid_device.py100 def GetDevice(finder_options): argument
107 if finder_options.android_blacklist_file:
109 finder_options.android_blacklist_file)
113 if (finder_options.device
114 and finder_options.device in GetDeviceSerials(blacklist)):
116 finder_options.device,
117 enable_performance_mode=not finder_options.no_performance_mode)
Dplatform_backend.py54 def CreatePlatformForDevice(cls, device, finder_options): argument
Dcros_platform_backend.py39 def CreatePlatformForDevice(cls, device, finder_options): argument
Dandroid_platform_backend.py125 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.py30 def _PrepareFinderOptions(finder_options, test, device_type): argument
31 browser_options = finder_options.browser_options
35 test.CustomizeBrowserOptions(finder_options.browser_options)
36 if finder_options.profiler:
37 profiler_class = profiler_finder.FindProfiler(finder_options.profiler)
39 finder_options)
50 def __init__(self, test, finder_options, story_set): argument
51 super(SharedPageState, self).__init__(test, finder_options, story_set)
53 assert not finder_options.profiler, (
75 _PrepareFinderOptions(finder_options, self._test, device_type)
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/
Dstory_runner.py174 def Run(test, story_set, finder_options, results, max_failures=None, argument
185 if (not finder_options.use_live_sites and story_set.bucket and
186 finder_options.browser_options.wpr_mode != wpr_modes.WPR_RECORD):
200 effective_max_failures = finder_options.max_failures
211 for _ in xrange(finder_options.pageset_repeat):
213 for _ in xrange(finder_options.page_repeat):
220 test, finder_options.Copy(), story_set)
268 def RunBenchmark(benchmark, finder_options): argument
275 benchmark.CustomizeBrowserOptions(finder_options.browser_options)
277 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.py315 def UpdateFromParseResults(self, finder_options): argument
326 a = getattr(finder_options, o, None)
329 delattr(finder_options, o)
331 self.browser_type = finder_options.browser_type
332 self._finder_options = finder_options
365 finder_options.browser_options = CreateChromeBrowserOptions(self)
368 def finder_options(self): member in BrowserOptions
Dpossible_browser.py34 def Create(self, finder_options): argument
37 def SupportsOptions(self, finder_options): argument
/external/chromium-trace/catapult/telemetry/telemetry/internal/app/
Dpossible_app.py38 def Create(self, finder_options): argument
41 def SupportsOptions(self, finder_options): argument
/external/chromium-trace/catapult/telemetry/telemetry/testing/fakes/
D__init__.py126 def Create(self, finder_options): argument
127 del finder_options # unused
147 def __init__(self, test, finder_options, story_set): argument
148 super(FakeSharedPageState, self).__init__(test, finder_options, story_set)
150 def _GetPossibleBrowser(self, test, finder_options): argument
/external/chromium-trace/catapult/telemetry/telemetry/core/
Dplatform.py50 def GetPlatformForDevice(device, finder_options, logging=real_logging): argument
62 finder_options))