Flutter Engine
The Flutter Engine
|
Public Member Functions | |
__init__ (self, m, app_name) | |
user_ip (self) | |
ssh (self, title, *cmd, **kwargs) | |
ensure_device_dir (self, path) | |
install (self) | |
create_clean_device_dir (self, path) | |
read_file_on_device (self, path, **kwargs) | |
remove_file_on_device (self, path) | |
scp_device_path (self, device_path) | |
copy_file_to_device (self, host_path, device_path) | |
step (self, name, cmd, **kwargs) | |
Public Member Functions inherited from flavor.default.DefaultFlavor | |
device_path_join (self, *args) | |
copy_directory_contents_to_device (self, host_dir, device_dir) | |
copy_directory_contents_to_host (self, device_dir, host_dir) | |
create_clean_host_dir (self, path) | |
cleanup_steps (self) | |
Public Attributes | |
app_name | |
user_ip | |
Public Attributes inherited from flavor.default.DefaultFlavor | |
app_name | |
module | |
m | |
device_dirs | |
host_dirs | |
Protected Attributes | |
_user_ip | |
Protected Attributes inherited from flavor.default.DefaultFlavor | |
_chrome_path | |
Additional Inherited Members | |
Protected Member Functions inherited from flavor.default.DefaultFlavor | |
_run (self, title, cmd, infra_step=False, **kwargs) | |
_py (self, title, script, infra_step=True, args=()) | |
flavor.ssh.SSHFlavor.__init__ | ( | self, | |
m, | |||
app_name | |||
) |
Reimplemented from flavor.default.DefaultFlavor.
Reimplemented in flavor.chromebook.ChromebookFlavor.
Definition at line 20 of file ssh.py.
flavor.ssh.SSHFlavor.copy_file_to_device | ( | self, | |
host_path, | |||
device_path | |||
) |
Like shutil.copyfile, but for copying to a connected device.
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 72 of file ssh.py.
flavor.ssh.SSHFlavor.create_clean_device_dir | ( | self, | |
path | |||
) |
Like shutil.rmtree() + os.makedirs(), but on a connected device.
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 54 of file ssh.py.
flavor.ssh.SSHFlavor.ensure_device_dir | ( | self, | |
path | |||
) |
flavor.ssh.SSHFlavor.install | ( | self | ) |
Run device-specific installation steps.
Reimplemented from flavor.default.DefaultFlavor.
Reimplemented in flavor.chromebook.ChromebookFlavor.
Definition at line 45 of file ssh.py.
flavor.ssh.SSHFlavor.read_file_on_device | ( | self, | |
path, | |||
** | kwargs | ||
) |
Reads the specified file.
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 59 of file ssh.py.
flavor.ssh.SSHFlavor.remove_file_on_device | ( | self, | |
path | |||
) |
Removes the specified file.
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 65 of file ssh.py.
flavor.ssh.SSHFlavor.scp_device_path | ( | self, | |
device_path | |||
) |
flavor.ssh.SSHFlavor.ssh | ( | self, | |
title, | |||
* | cmd, | ||
** | kwargs | ||
) |
Definition at line 33 of file ssh.py.
flavor.ssh.SSHFlavor.step | ( | self, | |
name, | |||
cmd, | |||
** | kwargs | ||
) |
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 83 of file ssh.py.
flavor.ssh.SSHFlavor.user_ip | ( | self | ) |