| OLD | NEW |
| 1 | 1 |
| 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 3 <html><head><title>Python: module telemetry.core.chrome.cros_interface</title> | 3 <html><head><title>Python: module telemetry.core.chrome.cros_interface</title> |
| 4 </head><body bgcolor="#f0f0f8"> | 4 </head><body bgcolor="#f0f0f8"> |
| 5 | 5 |
| 6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> | 6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> |
| 7 <tr bgcolor="#7799ee"> | 7 <tr bgcolor="#7799ee"> |
| 8 <td valign=bottom> <br> | 8 <td valign=bottom> <br> |
| 9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="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>.cros_interface</strong></big></bi
g></font></td | 9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="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>.cros_interface</strong></big></bi
g></font></td |
| 10 ><td align=right valign=bottom | 10 ><td align=right valign=bottom |
| 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/core/chrome/cros_interface.py">telemetry/core/chrome/cros_interfac
e.py</a></font></td></tr></table> | 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/core/chrome/cros_interface.py">telemetry/core/chrome/cros_interfac
e.py</a></font></td></tr></table> |
| 12 <p><tt>A wrapper around ssh for common operati
ons on a CrOS-based device</tt></p> | 12 <p><tt>A wrapper around ssh for common operati
ons on a CrOS-based device</tt></p> |
| 13 <p> | 13 <p> |
| 14 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 14 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 15 <tr bgcolor="#aa55cc"> | 15 <tr bgcolor="#aa55cc"> |
| 16 <td colspan=3 valign=bottom> <br> | 16 <td colspan=3 valign=bottom> <br> |
| 17 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> | 17 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> |
| 18 | 18 |
| 19 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> | 19 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> |
| 20 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="logging.html">logging</a><br> | 20 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="logging.html">logging</a><br> |
| 21 <a href="os.html">os</a><br> | 21 <a href="os.html">os</a><br> |
| 22 </td><td width="25%" valign=top><a href="re.html">re</a><br> | 22 </td><td width="25%" valign=top><a href="re.html">re</a><br> |
| 23 <a href="subprocess.html">subprocess</a><br> | 23 <a href="subprocess.html">subprocess</a><br> |
| 24 </td><td width="25%" valign=top><a href="tempfile.html">tempfile</a><br> | 24 </td><td width="25%" valign=top><a href="sys.html">sys</a><br> |
| 25 <a href="tempfile.html">tempfile</a><br> |
| 25 </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> | 26 </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 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 27 <tr bgcolor="#ee77aa"> | 28 <tr bgcolor="#ee77aa"> |
| 28 <td colspan=3 valign=bottom> <br> | 29 <td colspan=3 valign=bottom> <br> |
| 29 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | 30 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> |
| 30 | 31 |
| 31 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | 32 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> |
| 32 <td width="100%"><dl> | 33 <td width="100%"><dl> |
| 33 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.
object</a> | 34 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.
object</a> |
| 34 </font></dt><dd> | 35 </font></dt><dd> |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 Args:<br> | 228 Args:<br> |
| 228 args: A string or a sequence of p
rogram arguments. The program to execute is<br> | 229 args: A string or a sequence of p
rogram arguments. The program to execute is<br> |
| 229 the string or the first item&nb
sp;in the args sequence.<br> | 230 the string or the first item&nb
sp;in the args sequence.<br> |
| 230 cwd: If not None, the subprocess's cur
rent directory will be changed to<br> | 231 cwd: If not None, the subprocess's cur
rent directory will be changed to<br> |
| 231 |cwd| before it's executed.<br> | 232 |cwd| before it's executed.<br> |
| 232 <br> | 233 <br> |
| 233 Returns:<br> | 234 Returns:<br> |
| 234 Captures and returns the command's stdout.<
br> | 235 Captures and returns the command's stdout.<
br> |
| 235 Prints the command's stderr to logger
(which defaults to stdout).</tt></dd></dl> | 236 Prints the command's stderr to logger
(which defaults to stdout).</tt></dd></dl> |
| 236 <dl><dt><a name="-HasSSH"><strong>HasSSH</strong></a>()</dt></dl> | 237 <dl><dt><a name="-HasSSH"><strong>HasSSH</strong></a>()</dt></dl> |
| 238 <dl><dt><a name="-IsRunningOnCrosDevice"><strong>IsRunningOnCrosDevice</strong>
</a>()</dt><dd><tt>Returns True if we're on a Chro
meOS device.</tt></dd></dl> |
| 237 <dl><dt><a name="-RunCmd"><strong>RunCmd</strong></a>(args, cwd<font color="#90
9090">=None</font>, quiet<font color="#909090">=False</font>)</dt><dd><tt>Opens&
nbsp;a subprocess to execute a program and re
turns its return value.<br> | 239 <dl><dt><a name="-RunCmd"><strong>RunCmd</strong></a>(args, cwd<font color="#90
9090">=None</font>, quiet<font color="#909090">=False</font>)</dt><dd><tt>Opens&
nbsp;a subprocess to execute a program and re
turns its return value.<br> |
| 238 <br> | 240 <br> |
| 239 Args:<br> | 241 Args:<br> |
| 240 args: A string or a sequence of p
rogram arguments. The program to execute is<br> | 242 args: A string or a sequence of p
rogram arguments. The program to execute is<br> |
| 241 the string or the first item&nb
sp;in the args sequence.<br> | 243 the string or the first item&nb
sp;in the args sequence.<br> |
| 242 cwd: If not None, the subprocess's cur
rent directory will be changed to<br> | 244 cwd: If not None, the subprocess's cur
rent directory will be changed to<br> |
| 243 |cwd| before it's executed.<br> | 245 |cwd| before it's executed.<br> |
| 244 <br> | 246 <br> |
| 245 Returns:<br> | 247 Returns:<br> |
| 246 Return code from the command execution.</tt
></dd></dl> | 248 Return code from the command execution.</tt
></dd></dl> |
| 247 </td></tr></table> | 249 </td></tr></table> |
| 248 </body></html> | 250 </body></html> |
| OLD | NEW |