1 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3 <html><head><title>Python: module telemetry.internal.backends.android_app_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>.android_app_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/android_app_backend.py">telemetry/internal/backends/android_app_backend.py</a></font></td></tr></table> 13 <p><tt># Copyright 2012 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_browser_backend_settings.html">telemetry.internal.backends.android_browser_backend_settings</a><br> 24 <a href="telemetry.internal.backends.android_command_line_backend.html">telemetry.internal.backends.android_command_line_backend</a><br> 25 </td><td width="25%" valign=top><a href="telemetry.internal.app.android_process.html">telemetry.internal.app.android_process</a><br> 26 <a href="telemetry.internal.backends.app_backend.html">telemetry.internal.backends.app_backend</a><br> 27 </td><td width="25%" valign=top><a href="re.html">re</a><br> 28 <a href="telemetry.core.util.html">telemetry.core.util</a><br> 29 </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> 30 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 31 <tr bgcolor="#ee77aa"> 32 <td colspan=3 valign=bottom> <br> 33 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 34 35 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> 36 <td width="100%"><dl> 37 <dt><font face="helvetica, arial"><a href="telemetry.internal.backends.app_backend.html#AppBackend">telemetry.internal.backends.app_backend.AppBackend</a>(<a href="__builtin__.html#object">__builtin__.object</a>) 38 </font></dt><dd> 39 <dl> 40 <dt><font face="helvetica, arial"><a href="telemetry.internal.backends.android_app_backend.html#AndroidAppBackend">AndroidAppBackend</a> 41 </font></dt></dl> 42 </dd> 43 </dl> 44 <p> 45 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 46 <tr bgcolor="#ffc8d8"> 47 <td colspan=3 valign=bottom> <br> 48 <font color="#000000" face="helvetica, arial"><a name="AndroidAppBackend">class <strong>AndroidAppBackend</strong></a>(<a href="telemetry.internal.backends.app_backend.html#AppBackend">telemetry.internal.backends.app_backend.AppBackend</a>)</font></td></tr> 49 50 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 51 <td width="100%"><dl><dt>Method resolution order:</dt> 52 <dd><a href="telemetry.internal.backends.android_app_backend.html#AndroidAppBackend">AndroidAppBackend</a></dd> 53 <dd><a href="telemetry.internal.backends.app_backend.html#AppBackend">telemetry.internal.backends.app_backend.AppBackend</a></dd> 54 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 55 </dl> 56 <hr> 57 Methods defined here:<br> 58 <dl><dt><a name="AndroidAppBackend-Close"><strong>Close</strong></a>(self)</dt></dl> 59 60 <dl><dt><a name="AndroidAppBackend-GetProcess"><strong>GetProcess</strong></a>(self, subprocess_name)</dt></dl> 61 62 <dl><dt><a name="AndroidAppBackend-GetProcesses"><strong>GetProcesses</strong></a>(self, process_filter<font color="#909090">=None</font>)</dt></dl> 63 64 <dl><dt><a name="AndroidAppBackend-GetStackTrace"><strong>GetStackTrace</strong></a>(self)</dt></dl> 65 66 <dl><dt><a name="AndroidAppBackend-GetStandardOutput"><strong>GetStandardOutput</strong></a>(self)</dt></dl> 67 68 <dl><dt><a name="AndroidAppBackend-GetWebViews"><strong>GetWebViews</strong></a>(self)</dt></dl> 69 70 <dl><dt><a name="AndroidAppBackend-GetWebviewStartupArgs"><strong>GetWebviewStartupArgs</strong></a>(self)</dt></dl> 71 72 <dl><dt><a name="AndroidAppBackend-IsAppRunning"><strong>IsAppRunning</strong></a>(self)</dt></dl> 73 74 <dl><dt><a name="AndroidAppBackend-Start"><strong>Start</strong></a>(self)</dt><dd><tt>Start an Android app and wait for it to finish launching.<br> 75 <br> 76 If the app has webviews, the app is launched with the suitable<br> 77 command line arguments.<br> 78 <br> 79 AppStory derivations can customize the wait-for-ready-state to wait<br> 80 for a more specific event if needed.</tt></dd></dl> 81 82 <dl><dt><a name="AndroidAppBackend-__init__"><strong>__init__</strong></a>(self, android_platform_backend, start_intent, is_app_ready_predicate<font color="#909090">=None</font>, app_has_webviews<font color="#909090">=True</font>)</dt></dl> 83 84 <hr> 85 Data descriptors defined here:<br> 86 <dl><dt><strong>device</strong></dt> 87 </dl> 88 <hr> 89 Methods inherited from <a href="telemetry.internal.backends.app_backend.html#AppBackend">telemetry.internal.backends.app_backend.AppBackend</a>:<br> 90 <dl><dt><a name="AndroidAppBackend-SetApp"><strong>SetApp</strong></a>(self, app)</dt></dl> 91 92 <dl><dt><a name="AndroidAppBackend-__del__"><strong>__del__</strong></a>(self)</dt></dl> 93 94 <hr> 95 Data descriptors inherited from <a href="telemetry.internal.backends.app_backend.html#AppBackend">telemetry.internal.backends.app_backend.AppBackend</a>:<br> 96 <dl><dt><strong>__dict__</strong></dt> 97 <dd><tt>dictionary for instance variables (if defined)</tt></dd> 98 </dl> 99 <dl><dt><strong>__weakref__</strong></dt> 100 <dd><tt>list of weak references to the object (if defined)</tt></dd> 101 </dl> 102 <dl><dt><strong>app</strong></dt> 103 </dl> 104 <dl><dt><strong>app_type</strong></dt> 105 </dl> 106 <dl><dt><strong>pid</strong></dt> 107 </dl> 108 <dl><dt><strong>platform_backend</strong></dt> 109 </dl> 110 </td></tr></table></td></tr></table> 111 </body></html>