|
Methods defined here:
- InitShell(self, device=None)
- Runs adb as root, and installs the apk as needed. |device| is the target
device to run on, if multiple devices are connected. Returns 0 on success or
a non-zero exit code on a terminal failure.
- ShowLogs(self, stdout=<open file '<stdout>', mode 'w'>)
- Displays the mojo shell logs and returns the process reading the logs.
- StartActivity(self, activity_name, arguments, stdout, on_fifo_closed, temp_gdb_dir=None)
- Starts the shell with the given |arguments|, directing output to |stdout|.
|on_fifo_closed| will be run if the FIFO can't be found or when it's closed.
|temp_gdb_dir| is set to a location with appropriate symlinks for gdb to
find when attached to the device's remote process on startup.
- __init__(self, config, chrome_root)
- kill(self)
- Stops the mojo shell; matches the Popen.kill method signature.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|