1
2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3<html><head><title>Python: module telemetry.internal.backends.chrome.cros_browser_with_oobe</title>
4<meta charset="utf-8">
5</head><body bgcolor="#f0f0f8">
6
7<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
8<tr bgcolor="#7799ee">
9<td valign=bottom>&nbsp;<br>
10<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.internal.backends.html"><font color="#ffffff">backends</font></a>.<a href="telemetry.internal.backends.chrome.html"><font color="#ffffff">chrome</font></a>.cros_browser_with_oobe</strong></big></big></font></td
11><td align=right valign=bottom
12><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/internal/backends/chrome/cros_browser_with_oobe.py">telemetry/internal/backends/chrome/cros_browser_with_oobe.py</a></font></td></tr></table>
13    <p><tt>#&nbsp;Copyright&nbsp;2013&nbsp;The&nbsp;Chromium&nbsp;Authors.&nbsp;All&nbsp;rights&nbsp;reserved.<br>
14#&nbsp;Use&nbsp;of&nbsp;this&nbsp;source&nbsp;code&nbsp;is&nbsp;governed&nbsp;by&nbsp;a&nbsp;BSD-style&nbsp;license&nbsp;that&nbsp;can&nbsp;be<br>
15#&nbsp;found&nbsp;in&nbsp;the&nbsp;LICENSE&nbsp;file.</tt></p>
16<p>
17<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
18<tr bgcolor="#aa55cc">
19<td colspan=3 valign=bottom>&nbsp;<br>
20<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
21
22<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
23<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="telemetry.internal.browser.browser.html">telemetry.internal.browser.browser</a><br>
24</td><td width="25%" valign=top><a href="telemetry.internal.backends.chrome.cros_browser_backend.html">telemetry.internal.backends.chrome.cros_browser_backend</a><br>
25</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
26<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
27<tr bgcolor="#ee77aa">
28<td colspan=3 valign=bottom>&nbsp;<br>
29<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
30
31<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
32<td width="100%"><dl>
33<dt><font face="helvetica, arial"><a href="telemetry.internal.browser.browser.html#Browser">telemetry.internal.browser.browser.Browser</a>(<a href="telemetry.internal.app.html#App">telemetry.internal.app.App</a>)
34</font></dt><dd>
35<dl>
36<dt><font face="helvetica, arial"><a href="telemetry.internal.backends.chrome.cros_browser_with_oobe.html#CrOSBrowserWithOOBE">CrOSBrowserWithOOBE</a>
37</font></dt></dl>
38</dd>
39</dl>
40 <p>
41<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
42<tr bgcolor="#ffc8d8">
43<td colspan=3 valign=bottom>&nbsp;<br>
44<font color="#000000" face="helvetica, arial"><a name="CrOSBrowserWithOOBE">class <strong>CrOSBrowserWithOOBE</strong></a>(<a href="telemetry.internal.browser.browser.html#Browser">telemetry.internal.browser.browser.Browser</a>)</font></td></tr>
45
46<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
47<td colspan=2><tt>Cros-specific&nbsp;browser.<br>&nbsp;</tt></td></tr>
48<tr><td>&nbsp;</td>
49<td width="100%"><dl><dt>Method resolution order:</dt>
50<dd><a href="telemetry.internal.backends.chrome.cros_browser_with_oobe.html#CrOSBrowserWithOOBE">CrOSBrowserWithOOBE</a></dd>
51<dd><a href="telemetry.internal.browser.browser.html#Browser">telemetry.internal.browser.browser.Browser</a></dd>
52<dd><a href="telemetry.internal.app.html#App">telemetry.internal.app.App</a></dd>
53<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
54</dl>
55<hr>
56Methods defined here:<br>
57<dl><dt><a name="CrOSBrowserWithOOBE-__init__"><strong>__init__</strong></a>(self, backend, platform_backend, credentials_path)</dt></dl>
58
59<hr>
60Data descriptors defined here:<br>
61<dl><dt><strong>oobe</strong></dt>
62<dd><tt>The&nbsp;login&nbsp;webui&nbsp;(also&nbsp;serves&nbsp;as&nbsp;ui&nbsp;for&nbsp;screenlock&nbsp;and<br>
63out-of-box-experience).</tt></dd>
64</dl>
65<dl><dt><strong>oobe_exists</strong></dt>
66<dd><tt>True&nbsp;if&nbsp;the&nbsp;login/oobe/screenlock&nbsp;webui&nbsp;exists.&nbsp;This&nbsp;is&nbsp;more&nbsp;lightweight<br>
67than&nbsp;accessing&nbsp;the&nbsp;oobe&nbsp;property.</tt></dd>
68</dl>
69<hr>
70Methods inherited from <a href="telemetry.internal.browser.browser.html#Browser">telemetry.internal.browser.browser.Browser</a>:<br>
71<dl><dt><a name="CrOSBrowserWithOOBE-Close"><strong>Close</strong></a>(self)</dt><dd><tt>Closes&nbsp;this&nbsp;browser.</tt></dd></dl>
72
73<dl><dt><a name="CrOSBrowserWithOOBE-DumpMemory"><strong>DumpMemory</strong></a>(self, timeout<font color="#909090">=90</font>)</dt></dl>
74
75<dl><dt><a name="CrOSBrowserWithOOBE-GetStackTrace"><strong>GetStackTrace</strong></a>(self)</dt></dl>
76
77<dl><dt><a name="CrOSBrowserWithOOBE-GetStandardOutput"><strong>GetStandardOutput</strong></a>(self)</dt></dl>
78
79<dl><dt><a name="CrOSBrowserWithOOBE-GetSystemInfo"><strong>GetSystemInfo</strong></a>(self)</dt><dd><tt>Returns&nbsp;low-level&nbsp;information&nbsp;about&nbsp;the&nbsp;system,&nbsp;if&nbsp;available.<br>
80&nbsp;<br>
81See&nbsp;the&nbsp;documentation&nbsp;of&nbsp;the&nbsp;SystemInfo&nbsp;class&nbsp;for&nbsp;more&nbsp;details.</tt></dd></dl>
82
83<dl><dt><a name="CrOSBrowserWithOOBE-SetMemoryPressureNotificationsSuppressed"><strong>SetMemoryPressureNotificationsSuppressed</strong></a>(self, suppressed, timeout<font color="#909090">=90</font>)</dt></dl>
84
85<dl><dt><a name="CrOSBrowserWithOOBE-SimulateMemoryPressureNotification"><strong>SimulateMemoryPressureNotification</strong></a>(self, pressure_level, timeout<font color="#909090">=90</font>)</dt></dl>
86
87<hr>
88Data descriptors inherited from <a href="telemetry.internal.browser.browser.html#Browser">telemetry.internal.browser.browser.Browser</a>:<br>
89<dl><dt><strong>browser_type</strong></dt>
90</dl>
91<dl><dt><strong>cpu_stats</strong></dt>
92<dd><tt>Returns&nbsp;a&nbsp;dict&nbsp;of&nbsp;cpu&nbsp;statistics&nbsp;for&nbsp;the&nbsp;system.<br>
93{&nbsp;'Browser':&nbsp;{<br>
94&nbsp;&nbsp;&nbsp;&nbsp;'CpuProcessTime':&nbsp;S,<br>
95&nbsp;&nbsp;&nbsp;&nbsp;'TotalTime':&nbsp;T<br>
96&nbsp;&nbsp;},<br>
97&nbsp;&nbsp;'Gpu':&nbsp;{<br>
98&nbsp;&nbsp;&nbsp;&nbsp;'CpuProcessTime':&nbsp;S,<br>
99&nbsp;&nbsp;&nbsp;&nbsp;'TotalTime':&nbsp;T<br>
100&nbsp;&nbsp;},<br>
101&nbsp;&nbsp;'Renderer':&nbsp;{<br>
102&nbsp;&nbsp;&nbsp;&nbsp;'CpuProcessTime':&nbsp;S,<br>
103&nbsp;&nbsp;&nbsp;&nbsp;'TotalTime':&nbsp;T<br>
104&nbsp;&nbsp;}<br>
105}<br>
106Any&nbsp;of&nbsp;the&nbsp;above&nbsp;keys&nbsp;may&nbsp;be&nbsp;missing&nbsp;on&nbsp;a&nbsp;per-platform&nbsp;basis.</tt></dd>
107</dl>
108<dl><dt><strong>extensions</strong></dt>
109</dl>
110<dl><dt><strong>foreground_tab</strong></dt>
111</dl>
112<dl><dt><strong>memory_stats</strong></dt>
113<dd><tt>Returns&nbsp;a&nbsp;dict&nbsp;of&nbsp;memory&nbsp;statistics&nbsp;for&nbsp;the&nbsp;browser:<br>
114{&nbsp;'Browser':&nbsp;{<br>
115&nbsp;&nbsp;&nbsp;&nbsp;'VM':&nbsp;R,<br>
116&nbsp;&nbsp;&nbsp;&nbsp;'VMPeak':&nbsp;S,<br>
117&nbsp;&nbsp;&nbsp;&nbsp;'WorkingSetSize':&nbsp;T,<br>
118&nbsp;&nbsp;&nbsp;&nbsp;'WorkingSetSizePeak':&nbsp;U,<br>
119&nbsp;&nbsp;&nbsp;&nbsp;'ProportionalSetSize':&nbsp;V,<br>
120&nbsp;&nbsp;&nbsp;&nbsp;'PrivateDirty':&nbsp;W<br>
121&nbsp;&nbsp;},<br>
122&nbsp;&nbsp;'Gpu':&nbsp;{<br>
123&nbsp;&nbsp;&nbsp;&nbsp;'VM':&nbsp;R,<br>
124&nbsp;&nbsp;&nbsp;&nbsp;'VMPeak':&nbsp;S,<br>
125&nbsp;&nbsp;&nbsp;&nbsp;'WorkingSetSize':&nbsp;T,<br>
126&nbsp;&nbsp;&nbsp;&nbsp;'WorkingSetSizePeak':&nbsp;U,<br>
127&nbsp;&nbsp;&nbsp;&nbsp;'ProportionalSetSize':&nbsp;V,<br>
128&nbsp;&nbsp;&nbsp;&nbsp;'PrivateDirty':&nbsp;W<br>
129&nbsp;&nbsp;},<br>
130&nbsp;&nbsp;'Renderer':&nbsp;{<br>
131&nbsp;&nbsp;&nbsp;&nbsp;'VM':&nbsp;R,<br>
132&nbsp;&nbsp;&nbsp;&nbsp;'VMPeak':&nbsp;S,<br>
133&nbsp;&nbsp;&nbsp;&nbsp;'WorkingSetSize':&nbsp;T,<br>
134&nbsp;&nbsp;&nbsp;&nbsp;'WorkingSetSizePeak':&nbsp;U,<br>
135&nbsp;&nbsp;&nbsp;&nbsp;'ProportionalSetSize':&nbsp;V,<br>
136&nbsp;&nbsp;&nbsp;&nbsp;'PrivateDirty':&nbsp;W<br>
137&nbsp;&nbsp;},<br>
138&nbsp;&nbsp;'SystemCommitCharge':&nbsp;X,<br>
139&nbsp;&nbsp;'SystemTotalPhysicalMemory':&nbsp;Y,<br>
140&nbsp;&nbsp;'ProcessCount':&nbsp;Z,<br>
141}<br>
142Any&nbsp;of&nbsp;the&nbsp;above&nbsp;keys&nbsp;may&nbsp;be&nbsp;missing&nbsp;on&nbsp;a&nbsp;per-platform&nbsp;basis.</tt></dd>
143</dl>
144<dl><dt><strong>profiling_controller</strong></dt>
145</dl>
146<dl><dt><strong>supports_cpu_metrics</strong></dt>
147</dl>
148<dl><dt><strong>supports_extensions</strong></dt>
149</dl>
150<dl><dt><strong>supports_memory_dumping</strong></dt>
151</dl>
152<dl><dt><strong>supports_memory_metrics</strong></dt>
153</dl>
154<dl><dt><strong>supports_overriding_memory_pressure_notifications</strong></dt>
155</dl>
156<dl><dt><strong>supports_power_metrics</strong></dt>
157</dl>
158<dl><dt><strong>supports_system_info</strong></dt>
159</dl>
160<dl><dt><strong>supports_tab_control</strong></dt>
161</dl>
162<dl><dt><strong>tabs</strong></dt>
163</dl>
164<hr>
165Methods inherited from <a href="telemetry.internal.app.html#App">telemetry.internal.app.App</a>:<br>
166<dl><dt><a name="CrOSBrowserWithOOBE-__enter__"><strong>__enter__</strong></a>(self)</dt></dl>
167
168<dl><dt><a name="CrOSBrowserWithOOBE-__exit__"><strong>__exit__</strong></a>(self, *args)</dt></dl>
169
170<hr>
171Data descriptors inherited from <a href="telemetry.internal.app.html#App">telemetry.internal.app.App</a>:<br>
172<dl><dt><strong>__dict__</strong></dt>
173<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
174</dl>
175<dl><dt><strong>__weakref__</strong></dt>
176<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
177</dl>
178<dl><dt><strong>app_type</strong></dt>
179</dl>
180<dl><dt><strong>platform</strong></dt>
181</dl>
182</td></tr></table></td></tr></table>
183</body></html>