Flutter Engine
The Flutter Engine
|
Public Member Functions | |
def | __init__ (self, m, app_name) |
def | install (self) |
def | cleanup_steps (self) |
def | step (self, name, cmd) |
def | copy_file_to_device (self, host, device) |
def | copy_directory_contents_to_device (self, host, device) |
def | copy_directory_contents_to_host (self, device, host) |
def | read_file_on_device (self, path, **kwargs) |
def | remove_file_on_device (self, path) |
def | create_clean_device_dir (self, path) |
Public Member Functions inherited from flavor.default.DefaultFlavor | |
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 | |
ADB_BINARY | |
ADB_PUB_KEY | |
device_dirs | |
cant_root | |
cpus_to_scale | |
disable_for_nanobench | |
gpu_scaling | |
app_name | |
Public Attributes inherited from flavor.default.DefaultFlavor | |
app_name | |
module | |
m | |
device_dirs | |
host_dirs | |
Definition at line 16 of file android.py.
def flavor.android.AndroidFlavor.__init__ | ( | self, | |
m, | |||
app_name | |||
) |
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 17 of file android.py.
def flavor.android.AndroidFlavor.cleanup_steps | ( | self | ) |
Run any device-specific cleanup steps.
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 289 of file android.py.
def flavor.android.AndroidFlavor.copy_directory_contents_to_device | ( | self, | |
host_dir, | |||
device_dir | |||
) |
Like shutil.copytree(), but for copying to a connected device.
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 365 of file android.py.
def flavor.android.AndroidFlavor.copy_directory_contents_to_host | ( | self, | |
device_dir, | |||
host_dir | |||
) |
Like shutil.copytree(), but for copying from a connected device.
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 372 of file android.py.
def flavor.android.AndroidFlavor.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 362 of file android.py.
def flavor.android.AndroidFlavor.create_clean_device_dir | ( | self, | |
path | |||
) |
Like shutil.rmtree() + os.makedirs(), but on a connected device.
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 408 of file android.py.
def flavor.android.AndroidFlavor.install | ( | self | ) |
Run device-specific installation steps.
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 260 of file android.py.
def flavor.android.AndroidFlavor.read_file_on_device | ( | self, | |
path, | |||
** | kwargs | ||
) |
Reads the specified file.
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 386 of file android.py.
def flavor.android.AndroidFlavor.remove_file_on_device | ( | self, | |
path | |||
) |
Removes the specified file.
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 402 of file android.py.
def flavor.android.AndroidFlavor.step | ( | self, | |
name, | |||
cmd | |||
) |
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 347 of file android.py.
flavor.android.AndroidFlavor.ADB_BINARY |
Definition at line 20 of file android.py.
flavor.android.AndroidFlavor.ADB_PUB_KEY |
Definition at line 21 of file android.py.
flavor.android.AndroidFlavor.app_name |
Definition at line 279 of file android.py.
flavor.android.AndroidFlavor.cant_root |
Definition at line 44 of file android.py.
flavor.android.AndroidFlavor.cpus_to_scale |
Definition at line 57 of file android.py.
flavor.android.AndroidFlavor.device_dirs |
Definition at line 29 of file android.py.
flavor.android.AndroidFlavor.disable_for_nanobench |
Definition at line 69 of file android.py.
flavor.android.AndroidFlavor.gpu_scaling |
Definition at line 77 of file android.py.