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> <br> 10<font color="#ffffff" face="helvetica, arial"> <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># Copyright 2013 The Chromium Authors. All rights reserved.<br> 14# Use of this source code is governed by a BSD-style license that can be<br> 15# found in the LICENSE 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> <br> 20<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> 21 22<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </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> <br> 29<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 30 31<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </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> <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> </tt></td> 47<td colspan=2><tt>Cros-specific browser.<br> </tt></td></tr> 48<tr><td> </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 login webui (also serves as ui for screenlock and<br> 63out-of-box-experience).</tt></dd> 64</dl> 65<dl><dt><strong>oobe_exists</strong></dt> 66<dd><tt>True if the login/oobe/screenlock webui exists. This is more lightweight<br> 67than accessing the oobe 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 this 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 low-level information about the system, if available.<br> 80 <br> 81See the documentation of the SystemInfo class for more 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 a dict of cpu statistics for the system.<br> 93{ 'Browser': {<br> 94 'CpuProcessTime': S,<br> 95 'TotalTime': T<br> 96 },<br> 97 'Gpu': {<br> 98 'CpuProcessTime': S,<br> 99 'TotalTime': T<br> 100 },<br> 101 'Renderer': {<br> 102 'CpuProcessTime': S,<br> 103 'TotalTime': T<br> 104 }<br> 105}<br> 106Any of the above keys may be missing on a per-platform 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 a dict of memory statistics for the browser:<br> 114{ 'Browser': {<br> 115 'VM': R,<br> 116 'VMPeak': S,<br> 117 'WorkingSetSize': T,<br> 118 'WorkingSetSizePeak': U,<br> 119 'ProportionalSetSize': V,<br> 120 'PrivateDirty': W<br> 121 },<br> 122 'Gpu': {<br> 123 'VM': R,<br> 124 'VMPeak': S,<br> 125 'WorkingSetSize': T,<br> 126 'WorkingSetSizePeak': U,<br> 127 'ProportionalSetSize': V,<br> 128 'PrivateDirty': W<br> 129 },<br> 130 'Renderer': {<br> 131 'VM': R,<br> 132 'VMPeak': S,<br> 133 'WorkingSetSize': T,<br> 134 'WorkingSetSizePeak': U,<br> 135 'ProportionalSetSize': V,<br> 136 'PrivateDirty': W<br> 137 },<br> 138 'SystemCommitCharge': X,<br> 139 'SystemTotalPhysicalMemory': Y,<br> 140 'ProcessCount': Z,<br> 141}<br> 142Any of the above keys may be missing on a per-platform 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 for instance variables (if defined)</tt></dd> 174</dl> 175<dl><dt><strong>__weakref__</strong></dt> 176<dd><tt>list of weak references to the object (if 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>