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.py29 def __init__(self, browser_type=None): argument
32 self.browser_type = browser_type
170 if self.browser_executable and not self.browser_type:
171 self.browser_type = 'exact'
172 if self.browser_type == 'list':
184 [browser.browser_type for browser in possible_browsers])
193 for browser_type in browser_types[device_name]:
194 print ' ', browser_type
214 self.browser_type = None
331 self.browser_type = finder_options.browser_type
[all …]
Dextension_unittest.py28 extension_path, options.browser_type)
93 extension_path, options.browser_type))
100 extension_path, options.browser_type)
120 d, options.browser_type)
160 extension_path, options.browser_type, is_component=True)
183 browser_type=options.browser_type,
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_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/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)
189 def AddIfFound(browser_type, build_path, app_name, content_shell): argument
193 browser_type, finder_options, app, flash_path,
201 browser_type = os.path.basename(build_path).lower()
203 AddIfFound(browser_type, build_path, chromium_app_name, False)
204 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
66 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.py72 def __init__(self, browser_type, finder_options, android_platform, argument
75 browser_type, 'android', backend_settings.supports_tab_control)
76 assert browser_type in FindAllBrowserTypes(finder_options), (
78 browser_type)
85 if browser_type == 'exact':
91 elif browser_type == 'reference':
113 return 'PossibleAndroidBrowser(browser_type=%s)' % self.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])
133 self.assertNotIn('reference', [b.browser_type for b in possible_browsers])
143 self.assertNotIn('reference', [b.browser_type for b in possible_browsers])
151 self.assertNotIn('reference', [b.browser_type for b in possible_browsers])
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]
/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/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'):
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'))
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'))
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
Dandroid_screen_recorder_profiler.py35 def is_supported(cls, browser_type): argument
36 if browser_type == 'any':
38 return browser_type.startswith('android')
Dvtune_profiler.py118 def is_supported(cls, browser_type): argument
121 if browser_type.startswith('cros'):
131 if browser_type.startswith('android'):
143 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/chromium-trace/catapult/telemetry/telemetry/testing/fakes/
D__init__.py117 self.browser_type = 'linux'
183 def CreateBrowserFinderOptions(browser_type=None): argument
185 return _FakeBrowserFinderOptions(browser_type=browser_type)
223 def browser_type(self): member in _FakeBrowser
227 @browser_type.setter
228 def browser_type(self, incoming): member in _FakeBrowser
/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