Flutter Engine
The Flutter Engine
|
Public Member Functions | |
__init__ (self, m, app_name) | |
install (self) | |
cleanup_steps (self) | |
step (self, name, cmd) | |
copy_file_to_device (self, host, device) | |
copy_directory_contents_to_device (self, host, device) | |
copy_directory_contents_to_host (self, device, host) | |
read_file_on_device (self, path, **kwargs) | |
remove_file_on_device (self, path) | |
create_clean_device_dir (self, path) | |
Public Member Functions inherited from flavor.default.DefaultFlavor | |
device_path_join (self, *args) | |
create_clean_host_dir (self, path) | |
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 | |
Protected Member Functions | |
_wait_for_device (self, title, attempt) | |
_adb (self, title, *cmd, **kwargs) | |
_scale_for_dm (self) | |
_scale_for_nanobench (self) | |
_set_governor (self, cpu, gov) | |
_set_cpu_online (self, cpu, value) | |
_scale_cpu (self, cpu, target_percent) | |
_asan_setup_path (self) | |
Protected Member Functions inherited from flavor.default.DefaultFlavor | |
_run (self, title, cmd, infra_step=False, **kwargs) | |
_py (self, title, script, infra_step=True, args=()) | |
Protected Attributes | |
_ever_ran_adb | |
Protected Attributes inherited from flavor.default.DefaultFlavor | |
_chrome_path | |
Definition at line 16 of file android.py.
flavor.android.AndroidFlavor.__init__ | ( | self, | |
m, | |||
app_name | |||
) |
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 17 of file android.py.
|
protected |
Definition at line 130 of file android.py.
|
protected |
Definition at line 255 of file android.py.
|
protected |
Definition at line 239 of file android.py.
|
protected |
Definition at line 149 of file android.py.
|
protected |
Definition at line 177 of file android.py.
|
protected |
Set /sys/devices/system/cpu/cpu{N}/online to value (0 or 1).
Definition at line 219 of file android.py.
|
protected |
Definition at line 208 of file android.py.
|
protected |
Definition at line 83 of file android.py.
flavor.android.AndroidFlavor.cleanup_steps | ( | self | ) |
Run any device-specific cleanup steps.
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 290 of file android.py.
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 366 of file android.py.
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 373 of file android.py.
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 363 of file android.py.
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 409 of file android.py.
flavor.android.AndroidFlavor.install | ( | self | ) |
Run device-specific installation steps.
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 261 of file android.py.
flavor.android.AndroidFlavor.read_file_on_device | ( | self, | |
path, | |||
** | kwargs | ||
) |
Reads the specified file.
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 387 of file android.py.
flavor.android.AndroidFlavor.remove_file_on_device | ( | self, | |
path | |||
) |
Removes the specified file.
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 403 of file android.py.
flavor.android.AndroidFlavor.step | ( | self, | |
name, | |||
cmd | |||
) |
Reimplemented from flavor.default.DefaultFlavor.
Definition at line 348 of file android.py.
|
protected |
Definition at line 19 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 280 of file android.py.
flavor.android.AndroidFlavor.cant_root |
Definition at line 45 of file android.py.
flavor.android.AndroidFlavor.cpus_to_scale |
Definition at line 58 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 70 of file android.py.
flavor.android.AndroidFlavor.gpu_scaling |
Definition at line 78 of file android.py.