Home
last modified time | relevance | path

Searched refs:browser_type (Results 1 – 25 of 57) sorted by relevance

123

/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/
Dbrowser_finder.py46 if options.browser_type == 'exact' and options.browser_executable == None:
49 if options.browser_type != 'exact' and options.browser_executable != None:
53 if options.browser_type == 'cros-chrome' and options.cros_remote == None:
56 if (options.browser_type != 'cros-chrome' and
57 options.browser_type != 'cros-chrome-guest' and
67 if(options.browser_type and options.browser_type != 'any' and
68 options.browser_type not in finder.FindAllBrowserTypes(options)):
76 if options.browser_type == None:
82 default_browser.browser_type)
88 browsers[0].browser_type)
[all …]
Dbrowser_options.py30 def __init__(self, browser_type=None): argument
33 self.browser_type = browser_type
173 if self.browser_executable and not self.browser_type:
174 self.browser_type = 'exact'
175 if self.browser_type == 'list':
187 [browser.browser_type for browser in possible_browsers])
196 for browser_type in browser_types[device_name]:
197 print ' ', browser_type
243 self.browser_type = None
367 self.browser_type = finder_options.browser_type
[all …]
Dpossible_browser.py14 def __init__(self, browser_type, target_os, supports_tab_control): argument
15 super(PossibleBrowser, self).__init__(app_type=browser_type,
24 def browser_type(self): member in PossibleBrowser
Dextension_unittest.py29 extension_path, options.browser_type)
96 extension_path, options.browser_type))
103 extension_path, options.browser_type)
127 d, options.browser_type)
172 extension_path, options.browser_type, is_component=True)
199 browser_type=options.browser_type,
Dextension_to_load.py16 def __init__(self, path, browser_type, is_component=False): argument
32 and not (browser_type.startswith('android')
33 or browser_type.startswith('cros')))
/external/chromium-trace/catapult/telemetry/telemetry/testing/
Drun_chromeos_tests.py9 def RunChromeOSTests(browser_type, tests_to_run): argument
22 (top_level_dir, browser_type))
24 ret = _RunOneSetOfTests(browser_type, top_level_dir, unit_tests, stream)
30 def _RunOneSetOfTests(browser_type, top_level_dir, tests, stream): argument
31 args = ['--browser', browser_type,
Drun_tests_unittest.py19 def __init__(self, browser_type, os_name, os_version_name, argument
21 self.browser_type = browser_type
40 def _GetEnabledTests(self, browser_type, os_name, os_version_name, argument
49 browser_type, os_name, os_version_name, supports_tab_control)
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
Ddesktop_browser_finder.py26 def __init__(self, browser_type, finder_options, executable, flash_path, argument
30 browser_type, target_os, not is_content_shell)
31 assert browser_type in FindAllBrowserTypes(finder_options), (
33 browser_type)
42 self.browser_type, self._local_executable, self._flash_path)
188 def AddIfFound(browser_type, build_path, app_name, content_shell): argument
192 browser_type, finder_options, app, flash_path,
200 browser_type = os.path.basename(build_path).lower()
202 AddIfFound(browser_type, build_path, chromium_app_name, False)
203 AddIfFound('content-shell-' + browser_type, build_path,
[all …]
Dcros_browser_finder.py21 def __init__(self, browser_type, finder_options, cros_platform, is_guest): argument
22 super(PossibleCrOSBrowser, self).__init__(browser_type, 'cros', True)
23 assert browser_type in FindAllBrowserTypes(finder_options), (
25 browser_type)
32 return 'PossibleCrOSBrowser(browser_type=%s)' % self.browser_type
65 if b.browser_type == 'system':
Dios_browser_finder.py29 def __init__(self, browser_type, _): argument
30 super(PossibleIOSBrowser, self).__init__(browser_type, 'ios', True)
78 options.browser_type = 'ios-chrome'
112 for browser_type in browser_types:
113 browsers.append(PossibleIOSBrowser(IOS_BROWSERS[browser_type],
Dandroid_browser_finder_unittest.py67 set([b.browser_type for b in possible_browsers]))
80 set([b.browser_type for b in possible_browsers]))
97 set([b.browser_type for b in possible_browsers]))
126 self.assertNotIn('exact', [b.browser_type for b in possible_browsers])
138 self.assertIn('exact', [b.browser_type for b in possible_browsers])
145 self.assertNotIn('reference', [b.browser_type for b in possible_browsers])
155 self.assertNotIn('reference', [b.browser_type for b in possible_browsers])
163 self.assertNotIn('reference', [b.browser_type for b in possible_browsers])
Dandroid_browser_finder.py73 def __init__(self, browser_type, finder_options, android_platform, argument
76 browser_type, 'android', backend_settings.supports_tab_control)
77 assert browser_type in FindAllBrowserTypes(finder_options), (
79 browser_type)
86 if browser_type == 'exact':
92 elif browser_type == 'reference':
114 return 'PossibleAndroidBrowser(browser_type=%s)' % self.browser_type
Ddesktop_browser_finder_unittest.py55 return [b.browser_type for b in browsers]
61 def has_type(array, browser_type): argument
62 return len([x for x in array if x.browser_type == browser_type]) != 0
202 return [b.browser_type for b in self.DoFindAll()]
252 if browser.browser_type == 'system'][0]
Dcros_test_case.py21 self._is_guest = options.browser_type == 'cros-chrome-guest'
39 browser_type=options.browser_type,
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/
Dnetlog_profiler.py20 def is_supported(cls, browser_type): argument
21 return not browser_type.startswith('cros')
24 def CustomizeBrowserOptions(cls, browser_type, options): argument
25 if browser_type.startswith('android'):
Dv8_profiler.py21 def is_supported(cls, browser_type): argument
22 return not browser_type.startswith('cros')
25 def CustomizeBrowserOptions(cls, browser_type, options): argument
26 if browser_type.startswith('android'):
Dsample_profiler.py78 def is_supported(cls, browser_type): argument
81 if browser_type == 'any':
83 return (not browser_type.startswith('android') and
84 not browser_type.startswith('cros'))
Diprofiler_profiler.py85 def is_supported(cls, browser_type): argument
88 if browser_type == 'any':
90 return (not browser_type.startswith('android') and
91 not browser_type.startswith('cros'))
Dandroid_screen_recorder_profiler.py35 def is_supported(cls, browser_type): argument
36 if browser_type == 'any':
38 return browser_type.startswith('android')
Dtcmalloc_heap_profiler.py119 def is_supported(cls, browser_type): argument
120 if browser_type.startswith('cros'):
124 if browser_type == 'any':
126 return browser_type.startswith('android')
129 def CustomizeBrowserOptions(cls, browser_type, options): argument
Dvtune_profiler.py120 def is_supported(cls, browser_type): argument
123 if browser_type.startswith('cros'):
133 if browser_type.startswith('android'):
145 def CustomizeBrowserOptions(cls, browser_type, options): argument
Doomkiller_profiler.py56 def is_supported(cls, browser_type): argument
57 if browser_type == 'any':
59 return browser_type.startswith('android')
Dandroid_systrace_profiler.py56 def is_supported(cls, browser_type): argument
57 if browser_type == 'any':
59 return browser_type.startswith('android')
Dandroid_traceview_profiler.py49 def is_supported(cls, browser_type): argument
50 if browser_type == 'any':
52 return browser_type.startswith('android')
/external/autotest/client/common_lib/cros/
Dchrome.py66 finder_options.browser_type = self.browser_type
75 path, self.browser_type, is_component=is_component)
168 def browser_type(self): member in Chrome

123