Home
last modified time | relevance | path

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

12

/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
67 def CanFindAvailableBrowsers(finder_options): argument
69 finder_options.cros_remote or
80 def FindAllAvailableBrowsers(finder_options, device): argument
87 browsers = [PossibleCrOSBrowser('system', finder_options,
90 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.py74 def __init__(self, browser_type, finder_options, android_platform, argument
78 assert browser_type in FindAllBrowserTypes(finder_options), (
99 assert finder_options.chrome_root, (
101 chrome_root = finder_options.chrome_root
120 def Create(self, finder_options): argument
124 finder_options.browser_options, self._backend_settings)
178 def _FindAllPossibleBrowsers(finder_options, android_platform): argument
185 if (finder_options.browser_executable and
186 CanPossiblyHandlePath(finder_options.browser_executable)):
187 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.py54 finder_options = browser_options.BrowserFinderOptions()
59 self.assertIsNone(android_device.GetDevice(finder_options))
64 finder_options = browser_options.BrowserFinderOptions()
68 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()
91 finder_options.remote_platform_options = platform_options
96 device = android_device.GetDevice(finder_options)
103 finder_options = browser_options.BrowserFinderOptions()
[all …]
Dandroid_device.py98 def GetDevice(finder_options): argument
100 android_platform_options = finder_options.remote_platform_options
116 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
/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.py27 def _PrepareFinderOptions(finder_options, test, device_type): argument
28 browser_options = finder_options.browser_options
32 test.CustomizeBrowserOptions(finder_options.browser_options)
33 if finder_options.profiler:
34 profiler_class = profiler_finder.FindProfiler(finder_options.profiler)
36 finder_options)
47 def __init__(self, test, finder_options, story_set): argument
48 super(SharedPageState, self).__init__(test, finder_options, story_set)
50 if finder_options.profiler:
51 assert not 'trace' in finder_options.profiler, (
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/
Dstory_runner.py184 def Run(test, story_set, finder_options, results, max_failures=None, argument
198 if (not finder_options.use_live_sites and
199 finder_options.browser_options.wpr_mode != wpr_modes.WPR_RECORD):
213 effective_max_failures = finder_options.max_failures
224 for storyset_repeat_counter in xrange(finder_options.pageset_repeat):
232 test, finder_options.Copy(), story_set)
298 def RunBenchmark(benchmark, finder_options): argument
306 benchmark.CustomizeBrowserOptions(finder_options.browser_options)
309 possible_browser = browser_finder.FindBrowser(finder_options)
313 '--browser=list' % finder_options.browser_options.browser_type)
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/testing/
Dserially_executed_browser_test_case.py44 finder_options = browser_test_context.GetCopy().finder_options
45 cls._finder_options = finder_options
49 if finder_options.verbosity >= 2:
51 elif finder_options.verbosity:
187 test_class=obj, finder_options=test_context.finder_options):
204 def GenerateTestCases(test_class, finder_options): argument
223 for generated_test_name, args in method(finder_options):
Drun_browser_tests.py32 finder_options, positional_args = parser.parse_args(args)
33 finder_options.positional_args = positional_args
36 finder_options.verbosity = typ_options.verbose
37 return finder_options
147 test_class, finder_options, filter_regex_str, filter_tests_after_sharding, argument
160 test_class, finder_options):
270 context.finder_options = ProcessCommandLineOptions(
279 test_class=test_class, finder_options=context.finder_options,
331 args = context.finder_options
Dbrowser_test_context.py51 def finder_options(self): member in TypTestContext
66 @finder_options.setter
67 def finder_options(self, value): member in TypTestContext
/external/autotest/client/common_lib/cros/
Dchrome.py98 finder_options = browser_options.BrowserFinderOptions()
101 finder_options.browser_options.AppendExtraBrowserArgs(
107 finder_options.browser_type = self.browser_type
109 finder_options.browser_options.AppendExtraBrowserArgs(
116 finder_options.verbosity = 2
117 finder_options.CreateParser().parse_args(args=[])
118 b_options = finder_options.browser_options
157 browser_to_create = browser_finder.FindBrowser(finder_options)
158 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/fakes/
D__init__.py135 def Create(self, finder_options): argument
138 del finder_options # unused
160 def __init__(self, test, finder_options, story_set): argument
161 super(FakeSharedPageState, self).__init__(test, finder_options, story_set)
163 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))

12