<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><title>Python: module telemetry.internal.backends.chrome.cros_browser_with_oobe</title> <meta charset="utf-8"> </head><body bgcolor="#f0f0f8"> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> <tr bgcolor="#7799ee"> <td valign=bottom> <br> <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 ><td align=right valign=bottom ><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> <p><tt># Copyright 2013 The Chromium Authors. All rights reserved.<br> # Use of this source code is governed by a BSD-style license that can be<br> # found in the LICENSE file.</tt></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#aa55cc"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> <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> </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> </td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> <td width="100%"><dl> <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>) </font></dt><dd> <dl> <dt><font face="helvetica, arial"><a href="telemetry.internal.backends.chrome.cros_browser_with_oobe.html#CrOSBrowserWithOOBE">CrOSBrowserWithOOBE</a> </font></dt></dl> </dd> </dl> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> <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> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> <td colspan=2><tt>Cros-specific browser.<br> </tt></td></tr> <tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="telemetry.internal.backends.chrome.cros_browser_with_oobe.html#CrOSBrowserWithOOBE">CrOSBrowserWithOOBE</a></dd> <dd><a href="telemetry.internal.browser.browser.html#Browser">telemetry.internal.browser.browser.Browser</a></dd> <dd><a href="telemetry.internal.app.html#App">telemetry.internal.app.App</a></dd> <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> </dl> <hr> Methods defined here:<br> <dl><dt><a name="CrOSBrowserWithOOBE-__init__"><strong>__init__</strong></a>(self, backend, platform_backend, credentials_path)</dt></dl> <hr> Data descriptors defined here:<br> <dl><dt><strong>oobe</strong></dt> <dd><tt>The login webui (also serves as ui for screenlock and<br> out-of-box-experience).</tt></dd> </dl> <dl><dt><strong>oobe_exists</strong></dt> <dd><tt>True if the login/oobe/screenlock webui exists. This is more lightweight<br> than accessing the oobe property.</tt></dd> </dl> <hr> Methods inherited from <a href="telemetry.internal.browser.browser.html#Browser">telemetry.internal.browser.browser.Browser</a>:<br> <dl><dt><a name="CrOSBrowserWithOOBE-Close"><strong>Close</strong></a>(self)</dt><dd><tt>Closes this browser.</tt></dd></dl> <dl><dt><a name="CrOSBrowserWithOOBE-DumpMemory"><strong>DumpMemory</strong></a>(self, timeout<font color="#909090">=90</font>)</dt></dl> <dl><dt><a name="CrOSBrowserWithOOBE-GetStackTrace"><strong>GetStackTrace</strong></a>(self)</dt></dl> <dl><dt><a name="CrOSBrowserWithOOBE-GetStandardOutput"><strong>GetStandardOutput</strong></a>(self)</dt></dl> <dl><dt><a name="CrOSBrowserWithOOBE-GetSystemInfo"><strong>GetSystemInfo</strong></a>(self)</dt><dd><tt>Returns low-level information about the system, if available.<br> <br> See the documentation of the SystemInfo class for more details.</tt></dd></dl> <dl><dt><a name="CrOSBrowserWithOOBE-SetMemoryPressureNotificationsSuppressed"><strong>SetMemoryPressureNotificationsSuppressed</strong></a>(self, suppressed, timeout<font color="#909090">=90</font>)</dt></dl> <dl><dt><a name="CrOSBrowserWithOOBE-SimulateMemoryPressureNotification"><strong>SimulateMemoryPressureNotification</strong></a>(self, pressure_level, timeout<font color="#909090">=90</font>)</dt></dl> <hr> Data descriptors inherited from <a href="telemetry.internal.browser.browser.html#Browser">telemetry.internal.browser.browser.Browser</a>:<br> <dl><dt><strong>browser_type</strong></dt> </dl> <dl><dt><strong>cpu_stats</strong></dt> <dd><tt>Returns a dict of cpu statistics for the system.<br> { 'Browser': {<br> 'CpuProcessTime': S,<br> 'TotalTime': T<br> },<br> 'Gpu': {<br> 'CpuProcessTime': S,<br> 'TotalTime': T<br> },<br> 'Renderer': {<br> 'CpuProcessTime': S,<br> 'TotalTime': T<br> }<br> }<br> Any of the above keys may be missing on a per-platform basis.</tt></dd> </dl> <dl><dt><strong>extensions</strong></dt> </dl> <dl><dt><strong>foreground_tab</strong></dt> </dl> <dl><dt><strong>memory_stats</strong></dt> <dd><tt>Returns a dict of memory statistics for the browser:<br> { 'Browser': {<br> 'VM': R,<br> 'VMPeak': S,<br> 'WorkingSetSize': T,<br> 'WorkingSetSizePeak': U,<br> 'ProportionalSetSize': V,<br> 'PrivateDirty': W<br> },<br> 'Gpu': {<br> 'VM': R,<br> 'VMPeak': S,<br> 'WorkingSetSize': T,<br> 'WorkingSetSizePeak': U,<br> 'ProportionalSetSize': V,<br> 'PrivateDirty': W<br> },<br> 'Renderer': {<br> 'VM': R,<br> 'VMPeak': S,<br> 'WorkingSetSize': T,<br> 'WorkingSetSizePeak': U,<br> 'ProportionalSetSize': V,<br> 'PrivateDirty': W<br> },<br> 'SystemCommitCharge': X,<br> 'SystemTotalPhysicalMemory': Y,<br> 'ProcessCount': Z,<br> }<br> Any of the above keys may be missing on a per-platform basis.</tt></dd> </dl> <dl><dt><strong>profiling_controller</strong></dt> </dl> <dl><dt><strong>supports_cpu_metrics</strong></dt> </dl> <dl><dt><strong>supports_extensions</strong></dt> </dl> <dl><dt><strong>supports_memory_dumping</strong></dt> </dl> <dl><dt><strong>supports_memory_metrics</strong></dt> </dl> <dl><dt><strong>supports_overriding_memory_pressure_notifications</strong></dt> </dl> <dl><dt><strong>supports_power_metrics</strong></dt> </dl> <dl><dt><strong>supports_system_info</strong></dt> </dl> <dl><dt><strong>supports_tab_control</strong></dt> </dl> <dl><dt><strong>tabs</strong></dt> </dl> <hr> Methods inherited from <a href="telemetry.internal.app.html#App">telemetry.internal.app.App</a>:<br> <dl><dt><a name="CrOSBrowserWithOOBE-__enter__"><strong>__enter__</strong></a>(self)</dt></dl> <dl><dt><a name="CrOSBrowserWithOOBE-__exit__"><strong>__exit__</strong></a>(self, *args)</dt></dl> <hr> Data descriptors inherited from <a href="telemetry.internal.app.html#App">telemetry.internal.app.App</a>:<br> <dl><dt><strong>__dict__</strong></dt> <dd><tt>dictionary for instance variables (if defined)</tt></dd> </dl> <dl><dt><strong>__weakref__</strong></dt> <dd><tt>list of weak references to the object (if defined)</tt></dd> </dl> <dl><dt><strong>app_type</strong></dt> </dl> <dl><dt><strong>platform</strong></dt> </dl> </td></tr></table></td></tr></table> </body></html>