HomeSort by relevance Sort by last modified time
    Searched refs:_browser (Results 1 - 25 of 29) sorted by null

1 2

  /external/chromium-trace/catapult/telemetry/telemetry/internal/browser/
browser_info.py 25 self._browser = browser
31 if len(self._browser.tabs) == 0 and self._browser.supports_tab_control:
32 self._browser.tabs.New()
33 tab = self._browser.tabs[0]
36 elif len(self._browser.tabs) > 0:
37 tab = self._browser.tabs[0]
47 self._browser._browser_backend.devtools_client.GetChromeBranchNumber())
54 self._browser._browser_backend.devtools_client.GetChromeBranchNumber())
61 self._browser._browser_backend.devtools_client.GetChromeBranchNumber()
    [all...]
browser_unittest.py 32 self.assertEquals(1, len(self._browser.tabs))
35 assert self._browser.tabs[0].url
39 existing_tab = self._browser.tabs[0]
40 self.assertEquals(1, len(self._browser.tabs))
43 new_tab = self._browser.tabs.New()
44 self.assertEquals(2, len(self._browser.tabs))
49 self.assertEquals(1, len(self._browser.tabs))
53 self._browser.tabs[0].Navigate(self.UrlOfUnittestFile('blank.html'))
54 self._browser.tabs[0].WaitForDocumentReadyStateToBeInteractiveOrBetter()
57 tab = self._browser.tabs[0
    [all...]
extension_unittest.py 20 self._browser = None
35 self._browser = browser_to_create.Create(options)
36 self._extension = self._browser.extensions[load_extension]
42 if self._browser:
43 self._browser.Close()
63 ext = self._browser.extensions.GetByExtensionId(self._extension_id)
77 extensions = self._browser.extensions.GetByExtensionId(self._extension_id)
124 self._browser = None
127 self._browser = browser_to_create.Create(options)
130 if self._browser
    [all...]
tab_unittest.py 63 self.assertEquals(self._tab.browser, self._browser)
92 new_tab = self._browser.tabs.New()
128 self._browser.platform.tracing_controller.StartTracing(config)
131 trace_data = self._browser.platform.tracing_controller.StopTracing()
150 second_tab = self._browser.tabs.New()
153 third_tab = self._browser.tabs.New()
160 self._browser.platform.tracing_controller.StartTracing(config)
165 trace_data = self._browser.platform.tracing_controller.StopTracing()
tab.py 25 self._browser = browser
30 return self._browser
  /external/chromium-trace/catapult/telemetry/telemetry/testing/
tab_test_case.py 17 if self._browser.supports_tab_control:
19 while len(self._browser.tabs) < 1:
20 self._browser.tabs.New()
21 while len(self._browser.tabs) > 1:
22 self._browser.tabs[0].Close()
23 self._tab = self._browser.tabs[0]
41 if not self._browser.tabs:
44 self._tab = self._browser.tabs[0]
48 return self._browser.tabs
browser_test_case.py 51 cls._browser = current_browser
  /external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/
android_dumpsys_power_monitor.py 25 self._browser = None
38 self._browser = browser
45 assert self._browser
46 package = self._browser._browser_backend.package
47 self._browser = None
  /external/autotest/client/cros/
semiauto_framework.py 26 using the self._browser object.
28 self._browser = chrome.Chrome().browser
29 self._tab = self._browser.tabs[0]
30 self._browser.platform.SetHTTPServerDirectories(
32 self._tab.Navigate(self._browser.platform.http_server.UrlOf(
37 if self._browser:
38 self._browser.Close()
  /external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
devtools_client_backend_unittest.py 15 return self._browser._browser_backend
32 self._browser.tabs.New()
36 tabs1 = list(self._browser.tabs)
41 tabs2 = list(self._browser.tabs)
45 self._browser.tabs.New()
49 tabs3 = list(self._browser.tabs)
55 self._browser.tabs[1].Close()
59 tabs4 = list(self._browser.tabs)
inspector_memory_unittest.py 15 self._tab = self._browser.tabs.New()
tracing_backend_unittest.py 36 self._tracing_controller = self._browser.platform.tracing_controller
39 if not self._browser.supports_memory_dumping:
45 self.assertRaises(Exception, self._browser.DumpMemory)
58 dump_id = self._browser.DumpMemory()
66 self.assertRaises(Exception, self._browser.DumpMemory)
80 self.assertRaises(Exception, self._browser.DumpMemory)
88 self.assertIsNone(self._browser.DumpMemory())
93 self.assertRaises(Exception, self._browser.DumpMemory)
memory_backend_unittest.py 20 if not self._browser.supports_overriding_memory_pressure_notifications:
29 self._browser.SetMemoryPressureNotificationsSuppressed(suppressed)
38 self._browser.SetMemoryPressureNotificationsSuppressed(suppressed)
48 self._browser.SimulateMemoryPressureNotification(pressure_level)
57 self._browser.SimulateMemoryPressureNotification(pressure_level)
  /external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/
android_screen_recorder_profiler_unittest.py 23 self._browser._browser_backend,
24 self._browser._platform_backend,
android_systrace_profiler_unittest.py 21 self._browser._browser_backend,
22 self._browser._platform_backend,
trace_profiler_unittest.py 22 self._browser._browser_backend,
23 self._browser._platform_backend,
vtune_profiler_unittest.py 110 profiler = vtune_profiler.VTuneProfiler(self._browser._browser_backend,
111 self._browser._platform_backend,
android_profiling_helper_unittest.py 169 browser_backend = self._browser._browser_backend
175 browser_pid = self._browser._browser_backend.pid
177 self._browser._platform_backend.GetChildPids(browser_pid))
  /external/chromium-trace/catapult/telemetry/telemetry/core/
tracing_controller_unittest.py 66 tracing_controller = self._browser.platform.tracing_controller
78 tracing_controller = self._browser.platform.tracing_controller
95 tab = self._browser.tabs[0]
102 tracing_controller = self._browser.platform.tracing_controller
156 self._browser.tabs[0].Navigate('about:blank')
157 self._browser.tabs[0].WaitForDocumentReadyStateToBeInteractiveOrBetter()
158 self.assertEquals(platform, self._browser.platform)
172 if self._browser:
173 self._browser.Close()
174 self._browser = Non
    [all...]
  /external/autotest/client/cros/multimedia/
facade_resource.py 41 self._browser = self._chrome.browser
103 tab = self._browser.tabs.New()
117 return self._browser.tabs
  /external/autotest/client/common_lib/cros/
chromedriver.py 62 self._browser = self._chrome.browser
65 self._browser.tabs[0].Close()
110 if hasattr(self, '_browser') and self._browser:
111 self._browser.Close()
112 del self._browser
chrome.py 114 self._browser = browser_to_create.Create(finder_options)
134 return self._browser
220 self._browser.Close()
  /external/chromium-trace/catapult/telemetry/telemetry/page/
shared_page_state.py 76 self._browser = None
106 return self._browser
184 assert self._browser is None
190 self._browser = self._possible_browser.Create(self._finder_options)
239 if self._browser and (self._test.RestartBrowserBeforeEachPage()
365 if self._browser:
366 self._browser.Close()
367 self._browser = None
  /external/chromium-trace/catapult/telemetry/telemetry/testing/fakes/
__init__.py 309 self._browser = browser
324 return self._browser
362 self._browser = browser
367 t = _FakeTab(self._browser, type(self)._current_tab_id)
  /external/autotest/client/site_tests/power_LoadTest/
power_LoadTest.py 74 self._browser = None
231 self._browser = chrome.Chrome(extension_paths=[ext_path],
235 extension = self._browser.get_extension(ext_path)
397 if self._browser:
398 self._browser.close()

Completed in 284 milliseconds

1 2