1 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3 <html><head><title>Python: module telemetry.internal.backends.chrome.android_browser_backend</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>.android_browser_backend</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/android_browser_backend.py">telemetry/internal/backends/chrome/android_browser_backend.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.backends.android_command_line_backend.html">telemetry.internal.backends.android_command_line_backend</a><br> 24 <a href="telemetry.internal.platform.android_platform_backend.html">telemetry.internal.platform.android_platform_backend</a><br> 25 <a href="telemetry.internal.backends.browser_backend.html">telemetry.internal.backends.browser_backend</a><br> 26 </td><td width="25%" valign=top><a href="telemetry.internal.backends.chrome.chrome_browser_backend.html">telemetry.internal.backends.chrome.chrome_browser_backend</a><br> 27 <a href="telemetry.core.exceptions.html">telemetry.core.exceptions</a><br> 28 <a href="telemetry.internal.forwarders.html">telemetry.internal.forwarders</a><br> 29 </td><td width="25%" valign=top><a href="devil.android.sdk.intent.html">devil.android.sdk.intent</a><br> 30 <a href="logging.html">logging</a><br> 31 <a href="subprocess.html">subprocess</a><br> 32 </td><td width="25%" valign=top><a href="telemetry.core.util.html">telemetry.core.util</a><br> 33 </td></tr></table></td></tr></table><p> 34 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 35 <tr bgcolor="#ee77aa"> 36 <td colspan=3 valign=bottom> <br> 37 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 38 39 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> 40 <td width="100%"><dl> 41 <dt><font face="helvetica, arial"><a href="telemetry.internal.backends.chrome.chrome_browser_backend.html#ChromeBrowserBackend">telemetry.internal.backends.chrome.chrome_browser_backend.ChromeBrowserBackend</a>(<a href="telemetry.internal.backends.browser_backend.html#BrowserBackend">telemetry.internal.backends.browser_backend.BrowserBackend</a>) 42 </font></dt><dd> 43 <dl> 44 <dt><font face="helvetica, arial"><a href="telemetry.internal.backends.chrome.android_browser_backend.html#AndroidBrowserBackend">AndroidBrowserBackend</a> 45 </font></dt></dl> 46 </dd> 47 </dl> 48 <p> 49 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 50 <tr bgcolor="#ffc8d8"> 51 <td colspan=3 valign=bottom> <br> 52 <font color="#000000" face="helvetica, arial"><a name="AndroidBrowserBackend">class <strong>AndroidBrowserBackend</strong></a>(<a href="telemetry.internal.backends.chrome.chrome_browser_backend.html#ChromeBrowserBackend">telemetry.internal.backends.chrome.chrome_browser_backend.ChromeBrowserBackend</a>)</font></td></tr> 53 54 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> 55 <td colspan=2><tt>The backend for controlling a browser instance running on Android.<br> </tt></td></tr> 56 <tr><td> </td> 57 <td width="100%"><dl><dt>Method resolution order:</dt> 58 <dd><a href="telemetry.internal.backends.chrome.android_browser_backend.html#AndroidBrowserBackend">AndroidBrowserBackend</a></dd> 59 <dd><a href="telemetry.internal.backends.chrome.chrome_browser_backend.html#ChromeBrowserBackend">telemetry.internal.backends.chrome.chrome_browser_backend.ChromeBrowserBackend</a></dd> 60 <dd><a href="telemetry.internal.backends.browser_backend.html#BrowserBackend">telemetry.internal.backends.browser_backend.BrowserBackend</a></dd> 61 <dd><a href="telemetry.internal.backends.app_backend.html#AppBackend">telemetry.internal.backends.app_backend.AppBackend</a></dd> 62 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 63 </dl> 64 <hr> 65 Methods defined here:<br> 66 <dl><dt><a name="AndroidBrowserBackend-Close"><strong>Close</strong></a>(self)</dt></dl> 67 68 <dl><dt><a name="AndroidBrowserBackend-GetBrowserStartupArgs"><strong>GetBrowserStartupArgs</strong></a>(self)</dt></dl> 69 70 <dl><dt><a name="AndroidBrowserBackend-GetStackTrace"><strong>GetStackTrace</strong></a>(self)</dt></dl> 71 72 <dl><dt><a name="AndroidBrowserBackend-GetStandardOutput"><strong>GetStandardOutput</strong></a>(self)</dt></dl> 73 74 <dl><dt><a name="AndroidBrowserBackend-IsBrowserRunning"><strong>IsBrowserRunning</strong></a>(self)</dt></dl> 75 76 <dl><dt><a name="AndroidBrowserBackend-Start"><strong>Start</strong></a>(self)</dt></dl> 77 78 <dl><dt><a name="AndroidBrowserBackend-__del__"><strong>__del__</strong></a>(self)</dt></dl> 79 80 <dl><dt><a name="AndroidBrowserBackend-__init__"><strong>__init__</strong></a>(self, android_platform_backend, browser_options, backend_settings, output_profile_path, extensions_to_load, target_arch)</dt></dl> 81 82 <hr> 83 Data descriptors defined here:<br> 84 <dl><dt><strong>activity</strong></dt> 85 </dl> 86 <dl><dt><strong>browser_directory</strong></dt> 87 </dl> 88 <dl><dt><strong>device</strong></dt> 89 </dl> 90 <dl><dt><strong>log_file_path</strong></dt> 91 </dl> 92 <dl><dt><strong>package</strong></dt> 93 </dl> 94 <dl><dt><strong>pid</strong></dt> 95 </dl> 96 <dl><dt><strong>profile_directory</strong></dt> 97 </dl> 98 <dl><dt><strong>should_ignore_certificate_errors</strong></dt> 99 </dl> 100 <hr> 101 Methods inherited from <a href="telemetry.internal.backends.chrome.chrome_browser_backend.html#ChromeBrowserBackend">telemetry.internal.backends.chrome.chrome_browser_backend.ChromeBrowserBackend</a>:<br> 102 <dl><dt><a name="AndroidBrowserBackend-DumpMemory"><strong>DumpMemory</strong></a>(self, timeout<font color="#909090">=90</font>)</dt></dl> 103 104 <dl><dt><a name="AndroidBrowserBackend-GetProcessName"><strong>GetProcessName</strong></a>(self, cmd_line)</dt><dd><tt>Returns a user-friendly name for the process of the given |cmd_line|.</tt></dd></dl> 105 106 <dl><dt><a name="AndroidBrowserBackend-GetReplayBrowserStartupArgs"><strong>GetReplayBrowserStartupArgs</strong></a>(self)</dt></dl> 107 108 <dl><dt><a name="AndroidBrowserBackend-GetSystemInfo"><strong>GetSystemInfo</strong></a>(self)</dt></dl> 109 110 <dl><dt><a name="AndroidBrowserBackend-HasBrowserFinishedLaunching"><strong>HasBrowserFinishedLaunching</strong></a>(self)</dt></dl> 111 112 <dl><dt><a name="AndroidBrowserBackend-SetMemoryPressureNotificationsSuppressed"><strong>SetMemoryPressureNotificationsSuppressed</strong></a>(self, suppressed, timeout<font color="#909090">=90</font>)</dt></dl> 113 114 <dl><dt><a name="AndroidBrowserBackend-SimulateMemoryPressureNotification"><strong>SimulateMemoryPressureNotification</strong></a>(self, pressure_level, timeout<font color="#909090">=90</font>)</dt></dl> 115 116 <dl><dt><a name="AndroidBrowserBackend-StartTracing"><strong>StartTracing</strong></a>(self, trace_options, custom_categories<font color="#909090">=None</font>, timeout<font color="#909090">=90</font>)</dt><dd><tt>Args:<br> 117 trace_options: An tracing_options.TracingOptions instance.<br> 118 custom_categories: An optional string containing a list of<br> 119 comma separated categories that will be traced<br> 120 instead of the default category set. Example: use<br> 121 "webkit,cc,disabled-by-default-cc.debug" to trace only<br> 122 those three event categories.</tt></dd></dl> 123 124 <dl><dt><a name="AndroidBrowserBackend-StopTracing"><strong>StopTracing</strong></a>(self, trace_data_builder)</dt></dl> 125 126 <hr> 127 Data descriptors inherited from <a href="telemetry.internal.backends.chrome.chrome_browser_backend.html#ChromeBrowserBackend">telemetry.internal.backends.chrome.chrome_browser_backend.ChromeBrowserBackend</a>:<br> 128 <dl><dt><strong>devtools_client</strong></dt> 129 </dl> 130 <dl><dt><strong>extension_backend</strong></dt> 131 </dl> 132 <dl><dt><strong>supports_cpu_metrics</strong></dt> 133 </dl> 134 <dl><dt><strong>supports_memory_dumping</strong></dt> 135 </dl> 136 <dl><dt><strong>supports_memory_metrics</strong></dt> 137 </dl> 138 <dl><dt><strong>supports_overriding_memory_pressure_notifications</strong></dt> 139 </dl> 140 <dl><dt><strong>supports_power_metrics</strong></dt> 141 </dl> 142 <dl><dt><strong>supports_system_info</strong></dt> 143 </dl> 144 <dl><dt><strong>supports_tab_control</strong></dt> 145 </dl> 146 <dl><dt><strong>supports_tracing</strong></dt> 147 </dl> 148 <hr> 149 Methods inherited from <a href="telemetry.internal.backends.browser_backend.html#BrowserBackend">telemetry.internal.backends.browser_backend.BrowserBackend</a>:<br> 150 <dl><dt><a name="AndroidBrowserBackend-IsAppRunning"><strong>IsAppRunning</strong></a>(self)</dt></dl> 151 152 <dl><dt><a name="AndroidBrowserBackend-SetBrowser"><strong>SetBrowser</strong></a>(self, browser)</dt></dl> 153 154 <dl><dt><a name="AndroidBrowserBackend-UploadLogsToCloudStorage"><strong>UploadLogsToCloudStorage</strong></a>(self)</dt><dd><tt>Uploading log files produce by this browser instance to cloud storage.<br> 155 <br> 156 Check supports_uploading_logs before calling this method.</tt></dd></dl> 157 158 <hr> 159 Data descriptors inherited from <a href="telemetry.internal.backends.browser_backend.html#BrowserBackend">telemetry.internal.backends.browser_backend.BrowserBackend</a>:<br> 160 <dl><dt><strong>browser</strong></dt> 161 </dl> 162 <dl><dt><strong>browser_type</strong></dt> 163 </dl> 164 <dl><dt><strong>profiling_controller_backend</strong></dt> 165 </dl> 166 <dl><dt><strong>supports_extensions</strong></dt> 167 <dd><tt>True if this browser backend supports extensions.</tt></dd> 168 </dl> 169 <dl><dt><strong>supports_uploading_logs</strong></dt> 170 </dl> 171 <dl><dt><strong>tab_list_backend</strong></dt> 172 </dl> 173 <dl><dt><strong>wpr_mode</strong></dt> 174 </dl> 175 <hr> 176 Methods inherited from <a href="telemetry.internal.backends.app_backend.html#AppBackend">telemetry.internal.backends.app_backend.AppBackend</a>:<br> 177 <dl><dt><a name="AndroidBrowserBackend-SetApp"><strong>SetApp</strong></a>(self, app)</dt></dl> 178 179 <hr> 180 Data descriptors inherited from <a href="telemetry.internal.backends.app_backend.html#AppBackend">telemetry.internal.backends.app_backend.AppBackend</a>:<br> 181 <dl><dt><strong>__dict__</strong></dt> 182 <dd><tt>dictionary for instance variables (if defined)</tt></dd> 183 </dl> 184 <dl><dt><strong>__weakref__</strong></dt> 185 <dd><tt>list of weak references to the object (if defined)</tt></dd> 186 </dl> 187 <dl><dt><strong>app</strong></dt> 188 </dl> 189 <dl><dt><strong>app_type</strong></dt> 190 </dl> 191 <dl><dt><strong>platform_backend</strong></dt> 192 </dl> 193 </td></tr></table></td></tr></table> 194 </body></html>