Flutter Engine
The Flutter Engine
|
Public Member Functions | |
def | __init__ (self, module, app_name) |
def | device_path_join (self, *args) |
def | copy_directory_contents_to_device (self, host_dir, device_dir) |
def | copy_directory_contents_to_host (self, device_dir, host_dir) |
def | copy_file_to_device (self, host_path, device_path) |
def | create_clean_device_dir (self, path) |
def | create_clean_host_dir (self, path) |
def | read_file_on_device (self, path, **kwargs) |
def | remove_file_on_device (self, path) |
def | install (self) |
def | cleanup_steps (self) |
def | step (self, name, cmd, **unused_kwargs) |
Public Attributes | |
app_name | |
module | |
m | |
device_dirs | |
host_dirs | |
Definition at line 26 of file default.py.
def flavor.default.DefaultFlavor.__init__ | ( | self, | |
module, | |||
app_name | |||
) |
Reimplemented in flavor.android.AndroidFlavor, flavor.chromebook.ChromebookFlavor, flavor.ios.iOSFlavor, flavor.ssh.SSHFlavor, and flavor.valgrind.ValgrindFlavor.
Definition at line 27 of file default.py.
def flavor.default.DefaultFlavor.cleanup_steps | ( | self | ) |
Run any device-specific cleanup steps.
Reimplemented in flavor.android.AndroidFlavor.
Definition at line 111 of file default.py.
def flavor.default.DefaultFlavor.copy_directory_contents_to_device | ( | self, | |
host_dir, | |||
device_dir | |||
) |
Like shutil.copytree(), but for copying to a connected device.
Reimplemented in flavor.android.AndroidFlavor, flavor.ios.iOSFlavor, and flavor.chromebook.ChromebookFlavor.
Definition at line 59 of file default.py.
def flavor.default.DefaultFlavor.copy_directory_contents_to_host | ( | self, | |
device_dir, | |||
host_dir | |||
) |
Like shutil.copytree(), but for copying from a connected device.
Reimplemented in flavor.android.AndroidFlavor, flavor.ios.iOSFlavor, and flavor.chromebook.ChromebookFlavor.
Definition at line 69 of file default.py.
def flavor.default.DefaultFlavor.copy_file_to_device | ( | self, | |
host_path, | |||
device_path | |||
) |
Like shutil.copyfile, but for copying to a connected device.
Reimplemented in flavor.android.AndroidFlavor, flavor.ios.iOSFlavor, and flavor.ssh.SSHFlavor.
Definition at line 79 of file default.py.
def flavor.default.DefaultFlavor.create_clean_device_dir | ( | self, | |
path | |||
) |
Like shutil.rmtree() + os.makedirs(), but on a connected device.
Reimplemented in flavor.android.AndroidFlavor, flavor.ios.iOSFlavor, and flavor.ssh.SSHFlavor.
Definition at line 89 of file default.py.
def flavor.default.DefaultFlavor.create_clean_host_dir | ( | self, | |
path | |||
) |
Convenience function for creating a clean directory.
Definition at line 93 of file default.py.
def flavor.default.DefaultFlavor.device_path_join | ( | self, | |
* | args | ||
) |
Like os.path.join(), but for paths on a connected device.
Definition at line 55 of file default.py.
def flavor.default.DefaultFlavor.install | ( | self | ) |
Run device-specific installation steps.
Reimplemented in flavor.android.AndroidFlavor, flavor.chromebook.ChromebookFlavor, flavor.ios.iOSFlavor, and flavor.ssh.SSHFlavor.
Definition at line 107 of file default.py.
def flavor.default.DefaultFlavor.read_file_on_device | ( | self, | |
path, | |||
** | kwargs | ||
) |
Reads the specified file.
Reimplemented in flavor.android.AndroidFlavor, flavor.ios.iOSFlavor, and flavor.ssh.SSHFlavor.
Definition at line 99 of file default.py.
def flavor.default.DefaultFlavor.remove_file_on_device | ( | self, | |
path | |||
) |
Removes the specified file.
Reimplemented in flavor.android.AndroidFlavor, flavor.ios.iOSFlavor, and flavor.ssh.SSHFlavor.
Definition at line 103 of file default.py.
def flavor.default.DefaultFlavor.step | ( | self, | |
name, | |||
cmd, | |||
** | unused_kwargs | ||
) |
Reimplemented in flavor.android.AndroidFlavor, flavor.ios.iOSFlavor, flavor.ssh.SSHFlavor, and flavor.valgrind.ValgrindFlavor.
Definition at line 123 of file default.py.
flavor.default.DefaultFlavor.app_name |
Definition at line 30 of file default.py.
flavor.default.DefaultFlavor.device_dirs |
Definition at line 41 of file default.py.
flavor.default.DefaultFlavor.host_dirs |
Definition at line 53 of file default.py.
flavor.default.DefaultFlavor.m |
Definition at line 39 of file default.py.
flavor.default.DefaultFlavor.module |
Definition at line 35 of file default.py.