Home
last modified time | relevance | path

Searched refs:platform_backend (Results 1 – 25 of 52) sorted by relevance

123

/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/tracing_agent/
Dchrome_tracing_devtools_manager.py11 def _RemoveStaleDevToolsClient(platform_backend): argument
14 platform_backend, {})
20 _platform_backends_to_devtools_clients_maps[platform_backend] = (
24 def RegisterDevToolsClient(devtools_client_backend, platform_backend): argument
30 if platform_backend not in _platform_backends_to_devtools_clients_maps:
31 _platform_backends_to_devtools_clients_maps[platform_backend] = {}
33 _platform_backends_to_devtools_clients_maps[platform_backend])
37 def IsSupported(platform_backend): argument
38 _RemoveStaleDevToolsClient(platform_backend)
40 platform_backend, {})
[all …]
Dchrome_tracing_agent.py27 def ClearStarupTracingStateIfNeeded(platform_backend): argument
29 if platform_backend.GetOSName() == 'android':
32 platform_backend.device.RunShellCommand(
45 def __init__(self, platform_backend): argument
46 super(ChromeTracingAgent, self).__init__(platform_backend)
60 def IsStartupTracingSupported(cls, platform_backend): argument
61 if platform_backend.GetOSName() in _STARTUP_TRACING_OS_NAMES:
67 def IsSupported(cls, platform_backend): argument
68 if cls.IsStartupTracingSupported(platform_backend):
71 return chrome_tracing_devtools_manager.IsSupported(platform_backend)
D__init__.py19 def __init__(self, platform_backend): argument
20 self._platform_backend = platform_backend
23 def IsSupported(cls, platform_backend): argument
24 del platform_backend # unused
Ddisplay_tracing_agent.py10 def __init__(self, platform_backend): argument
11 super(DisplayTracingAgent, self).__init__(platform_backend)
14 def IsSupported(cls, platform_backend): argument
15 return platform_backend.IsDisplayTracingSupported()
Dchrome_tracing_agent_unittest.py88 def StartTracing(self, platform_backend, enable_chrome_trace=True): argument
89 assert chrome_tracing_agent.ChromeTracingAgent.IsSupported(platform_backend)
90 agent = chrome_tracing_agent.ChromeTracingAgent(platform_backend)
291 platform_backend = FakeAndroidPlatformBackend()
292 agent = chrome_tracing_agent.ChromeTracingAgent(platform_backend)
298 self.assertTrue(platform_backend.device.PathExists(agent.trace_config_file))
299 config_file_str = platform_backend.device.ReadFile(agent.trace_config_file,
306 self.assertFalse(platform_backend.device.PathExists(config_file_path))
310 self.assertFalse(platform_backend.device.PathExists(config_file_path))
315 platform_backend = FakeDesktopPlatformBackend()
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
Dandroid_browser_backend.py51 self.platform_backend.PushProfile(
55 self.platform_backend.RemoveProfile(
60 self.platform_backend.SetDebugApp(self._backend_settings.package)
68 return self.platform_backend.device
72 self.platform_backend.StopApplication(self._backend_settings.package)
74 self.platform_backend.KillApplication(self._backend_settings.package)
87 self.platform_backend.DismissCrashDialogIfNeeded()
110 self.platform_backend.ForwardHostToDevice(
199 self.platform_backend.StopForwardingHost(self._port)
202 self.platform_backend.PullProfile(
[all …]
Dcros_browser_with_oobe.py11 def __init__(self, backend, platform_backend, credentials_path): argument
14 backend, platform_backend, credentials_path)
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/
Dtrace_profiler.py16 def __init__(self, browser_backend, platform_backend, output_path, state, argument
19 browser_backend, platform_backend, output_path, state)
61 def __init__(self, browser_backend, platform_backend, output_path, state): argument
63 browser_backend, platform_backend, output_path, state,
73 def __init__(self, browser_backend, platform_backend, output_path, state): argument
75 browser_backend, platform_backend, output_path, state,
Dvtune_profiler.py18 def __init__(self, pid, output_file, browser_backend, platform_backend): argument
21 self._platform_backend = platform_backend
26 self._is_android = platform_backend.GetOSName() == 'android'
90 def __init__(self, browser_backend, platform_backend, output_path, state): argument
92 browser_backend, platform_backend, output_path, state)
111 platform_backend))
Dperf_profiler.py73 def __init__(self, pid, output_file, browser_backend, platform_backend, argument
77 self._platform_backend = platform_backend
80 self._is_android = platform_backend.GetOSName() == 'android'
175 def __init__(self, browser_backend, platform_backend, output_path, state): argument
177 browser_backend, platform_backend, output_path, state)
184 if platform_backend.GetOSName() == 'android':
197 pid, output_file, browser_backend, platform_backend,
D__init__.py20 def __init__(self, browser_backend, platform_backend, output_path, state): argument
22 self._platform_backend = platform_backend
42 def WillCloseBrowser(cls, browser_backend, platform_backend): argument
Doomkiller_profiler.py28 def __init__(self, browser_backend, platform_backend, output_path, state): argument
30 browser_backend, platform_backend, output_path, state)
62 def WillCloseBrowser(cls, browser_backend, platform_backend): argument
Dstrace_profiler.py165 def __init__(self, pid, output_file, platform_backend): argument
167 self._platform_backend = platform_backend
202 def __init__(self, browser_backend, platform_backend, output_path, state): argument
204 browser_backend, platform_backend, output_path, state)
214 _SingleProcessStraceProfiler(pid, output_file, platform_backend))
Dtcmalloc_heap_profiler.py105 def __init__(self, browser_backend, platform_backend, output_path, state): argument
107 browser_backend, platform_backend, output_path, state)
108 if platform_backend.GetOSName() == 'android':
134 def WillCloseBrowser(cls, browser_backend, platform_backend): argument
/external/chromium-trace/catapult/telemetry/telemetry/internal/app/
Dandroid_app.py16 def __init__(self, app_backend, platform_backend): argument
18 platform_backend=platform_backend)
D__init__.py14 def __init__(self, app_backend, platform_backend): argument
15 assert platform_backend.platform != None
17 self._platform_backend = platform_backend
Dandroid_app_unittest.py25 platform_backend = platform._platform_backend
27 platform_backend, start_intent)
28 return android_app.AndroidApp(app_backend, platform_backend)
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/
Dandroid_app_backend_unittest.py19 self.platform_backend = mock.Mock()
24 self.platform_backend, self.start_intent)
30 self.platform_backend.GetPsOutput.return_value = [
Dapp_backend.py7 def __init__(self, app_type, platform_backend): argument
11 self._platform_backend = platform_backend
32 def platform_backend(self): member in AppBackend
Dbrowser_backend.py22 def __init__(self, platform_backend, supports_extensions, browser_options, argument
26 browser_options.browser_type, platform_backend)
32 platform_backend, self))
Dandroid_app_backend.py32 return self.platform_backend.device
80 self.platform_backend.KillApplication(self._start_intent.package)
98 ps_output = self.platform_backend.GetPsOutput(['pid', 'name'])
/external/chromium-trace/catapult/telemetry/telemetry/core/
Dandroid_platform.py13 def __init__(self, platform_backend): argument
14 super(AndroidPlatform, self).__init__(platform_backend)
16 platform_backend)
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dnetwork_controller_backend_unittest.py99 def platform_backend(self): member in TestNetworkControllerBackend
150 self.assertTrue(b.platform_backend.is_test_ca_installed)
154 self.assertFalse(b.platform_backend.is_test_ca_installed)
166 b.platform_backend.faulty_cert_installer = True
173 self.assertFalse(b.platform_backend.is_test_ca_installed)
180 self.assertFalse(b.platform_backend.is_test_ca_installed)
310 b.platform_backend.wpr_ca_cert_path = 'CERT_FILE'
332 b.platform_backend.SetWprPortPairs(
345 b.platform_backend.SetWprPortPairs(
Ddesktop_platform_backend.py9 from telemetry.internal.platform import platform_backend
12 class DesktopPlatformBackend(platform_backend.PlatformBackend):
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/
Dmsr_power_monitor_unittest.py17 platform_backend = win_platform_backend.WinPlatformBackend()
18 power_monitor = msr_power_monitor.MsrPowerMonitorWin(platform_backend)

123