| Index: tools/telemetry/docs/telemetry.core.chrome.adb_commands.html
|
| diff --git a/tools/telemetry/docs/telemetry.core.chrome.adb_commands.html b/tools/telemetry/docs/telemetry.core.chrome.adb_commands.html
|
| deleted file mode 100644
|
| index 7203e4229bb355e16af4e211bcdce79a91b75acf..0000000000000000000000000000000000000000
|
| --- a/tools/telemetry/docs/telemetry.core.chrome.adb_commands.html
|
| +++ /dev/null
|
| @@ -1,173 +0,0 @@
|
| -
|
| -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
| -<html><head><title>Python: module telemetry.core.chrome.adb_commands</title>
|
| -</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.core.html"><font color="#ffffff">core</font></a>.<a href="telemetry.core.chrome.html"><font color="#ffffff">chrome</font></a>.adb_commands</strong></big></big></font></td
|
| -><td align=right valign=bottom
|
| -><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/core/chrome/adb_commands.py">telemetry/core/chrome/adb_commands.py</a></font></td></tr></table>
|
| - <p><tt>Brings in Chrome Android's android_commands module, which itself is a<br>
|
| -thin(ish) wrapper around adb.</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="pylib.android_commands.html">pylib.android_commands</a><br>
|
| -<a href="pylib.cmd_helper.html">pylib.cmd_helper</a><br>
|
| -</td><td width="25%" valign=top><a href="pylib.forwarder.html">pylib.forwarder</a><br>
|
| -<a href="os.html">os</a><br>
|
| -</td><td width="25%" valign=top><a href="pylib.ports.html">pylib.ports</a><br>
|
| -<a href="sys.html">sys</a><br>
|
| -</td><td width="25%" valign=top><a href="pylib.valgrind_tools.html">pylib.valgrind_tools</a><br>
|
| -</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="__builtin__.html#object">__builtin__.object</a>
|
| -</font></dt><dd>
|
| -<dl>
|
| -<dt><font face="helvetica, arial"><a href="telemetry.core.chrome.adb_commands.html#AdbCommands">AdbCommands</a>
|
| -</font></dt><dt><font face="helvetica, arial"><a href="telemetry.core.chrome.adb_commands.html#Forwarder">Forwarder</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="AdbCommands">class <strong>AdbCommands</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
|
| -
|
| -<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
| -<td colspan=2><tt>A thin wrapper around ADB<br> </tt></td></tr>
|
| -<tr><td> </td>
|
| -<td width="100%">Methods defined here:<br>
|
| -<dl><dt><a name="AdbCommands-Adb"><strong>Adb</strong></a>(self)</dt></dl>
|
| -
|
| -<dl><dt><a name="AdbCommands-CloseApplication"><strong>CloseApplication</strong></a>(self, package)</dt><dd><tt>Attempt to close down the application, using increasing violence.<br>
|
| - <br>
|
| -Args:<br>
|
| - package: Name of the process to kill off, e.g.<br>
|
| - com.google.android.apps.chrome</tt></dd></dl>
|
| -
|
| -<dl><dt><a name="AdbCommands-ExtractPid"><strong>ExtractPid</strong></a>(self, process_name)</dt><dd><tt>Extracts Process Ids for a given process name from Android Shell.<br>
|
| - <br>
|
| -Args:<br>
|
| - process_name: name of the process on the device.<br>
|
| - <br>
|
| -Returns:<br>
|
| - List of all the process ids (as strings) that match the given name.<br>
|
| - If the name of a process exactly matches the given name, the pid of<br>
|
| - that process will be inserted to the front of the pid list.</tt></dd></dl>
|
| -
|
| -<dl><dt><a name="AdbCommands-FileExistsOnDevice"><strong>FileExistsOnDevice</strong></a>(self, file_name)</dt></dl>
|
| -
|
| -<dl><dt><a name="AdbCommands-Forward"><strong>Forward</strong></a>(self, local, remote)</dt></dl>
|
| -
|
| -<dl><dt><a name="AdbCommands-IsRootEnabled"><strong>IsRootEnabled</strong></a>(self)</dt></dl>
|
| -
|
| -<dl><dt><a name="AdbCommands-KillAll"><strong>KillAll</strong></a>(self, process)</dt><dd><tt>Android version of killall, connected via adb.<br>
|
| - <br>
|
| -Args:<br>
|
| - process: name of the process to kill off<br>
|
| - <br>
|
| -Returns:<br>
|
| - the number of processess killed</tt></dd></dl>
|
| -
|
| -<dl><dt><a name="AdbCommands-Pull"><strong>Pull</strong></a>(self, remote, local)</dt></dl>
|
| -
|
| -<dl><dt><a name="AdbCommands-Push"><strong>Push</strong></a>(self, local, remote)</dt></dl>
|
| -
|
| -<dl><dt><a name="AdbCommands-RunShellCommand"><strong>RunShellCommand</strong></a>(self, command, timeout_time<font color="#909090">=20</font>, log_result<font color="#909090">=False</font>)</dt><dd><tt>Send a command to the adb shell and return the result.<br>
|
| - <br>
|
| -Args:<br>
|
| - command: String containing the shell command to send. Must not include<br>
|
| - the single quotes as we use them to escape the whole command.<br>
|
| - timeout_time: Number of seconds to wait for command to respond before<br>
|
| - retrying, used by AdbInterface.SendShellCommand.<br>
|
| - log_result: Boolean to indicate whether we should log the result of the<br>
|
| - shell command.<br>
|
| - <br>
|
| -Returns:<br>
|
| - list containing the lines of output received from running the command</tt></dd></dl>
|
| -
|
| -<dl><dt><a name="AdbCommands-StartActivity"><strong>StartActivity</strong></a>(self, package, activity, wait_for_completion<font color="#909090">=False</font>, action<font color="#909090">='android.intent.action.VIEW'</font>, category<font color="#909090">=None</font>, data<font color="#909090">=None</font>, extras<font color="#909090">=None</font>, trace_file_name<font color="#909090">=None</font>)</dt><dd><tt>Starts |package|'s activity on the device.<br>
|
| - <br>
|
| -Args:<br>
|
| - package: Name of package to start (e.g. 'com.google.android.apps.chrome').<br>
|
| - activity: Name of activity (e.g. '.Main' or<br>
|
| - 'com.google.android.apps.chrome.Main').<br>
|
| - wait_for_completion: wait for the activity to finish launching (-W flag).<br>
|
| - action: string (e.g. 'android.intent.action.MAIN'). Default is VIEW.<br>
|
| - category: string (e.g. 'android.intent.category.HOME')<br>
|
| - data: Data string to pass to activity (e.g. '<a href="http://www.example.com/">http://www.example.com/</a>').<br>
|
| - extras: Dict of extras to pass to activity. Values are significant.<br>
|
| - trace_file_name: If used, turns on and saves the trace to this file name.</tt></dd></dl>
|
| -
|
| -<dl><dt><a name="AdbCommands-__init__"><strong>__init__</strong></a>(self, device)</dt></dl>
|
| -
|
| -<dl><dt><a name="AdbCommands-device"><strong>device</strong></a>(self)</dt></dl>
|
| -
|
| -<hr>
|
| -Data descriptors defined here:<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>
|
| -</td></tr></table> <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="Forwarder">class <strong>Forwarder</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
|
| -
|
| -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
| -<td width="100%">Methods defined here:<br>
|
| -<dl><dt><a name="Forwarder-Close"><strong>Close</strong></a>(self)</dt></dl>
|
| -
|
| -<dl><dt><a name="Forwarder-__init__"><strong>__init__</strong></a>(self, adb, *port_pairs)</dt></dl>
|
| -
|
| -<hr>
|
| -Static methods defined here:<br>
|
| -<dl><dt><a name="Forwarder-KillDevice"><strong>KillDevice</strong></a>(adb)</dt></dl>
|
| -
|
| -<dl><dt><a name="Forwarder-KillHost"><strong>KillHost</strong></a>()</dt></dl>
|
| -
|
| -<hr>
|
| -Data descriptors defined here:<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>url</strong></dt>
|
| -</dl>
|
| -</td></tr></table></td></tr></table><p>
|
| -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
| -<tr bgcolor="#eeaa77">
|
| -<td colspan=3 valign=bottom> <br>
|
| -<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
|
| -
|
| -<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
|
| -<td width="100%"><dl><dt><a name="-AllocateTestServerPort"><strong>AllocateTestServerPort</strong></a>()</dt></dl>
|
| - <dl><dt><a name="-GetAttachedDevices"><strong>GetAttachedDevices</strong></a>()</dt><dd><tt>Returns a list of attached, online android devices.<br>
|
| - <br>
|
| -If a preferred device has been set with ANDROID_SERIAL, it will be first in<br>
|
| -the returned list.</tt></dd></dl>
|
| - <dl><dt><a name="-GetOutDirectory"><strong>GetOutDirectory</strong></a>()</dt></dl>
|
| - <dl><dt><a name="-HasForwarder"><strong>HasForwarder</strong></a>(buildtype<font color="#909090">=None</font>)</dt></dl>
|
| - <dl><dt><a name="-IsAndroidSupported"><strong>IsAndroidSupported</strong></a>()</dt></dl>
|
| - <dl><dt><a name="-ResetTestServerPortAllocation"><strong>ResetTestServerPortAllocation</strong></a>()</dt></dl>
|
| -</td></tr></table>
|
| -</body></html>
|
|
|