Flutter Engine
The Flutter Engine
|
Classes | |
class | App |
class | DragAction |
class | PressAction |
Functions | |
def | parse_action (action_dict) |
def | check_output (cmd) |
def | adb_shell (cmd) |
def | remote_file_exists (filename) |
def | capture_skp (skp_file, package, device) |
def | load_app (filename) |
def | main () |
Variables | |
int | WAIT_FOR_SKP_CAPTURE = 1 |
def android_skp_capture.adb_shell | ( | cmd | ) |
Run the given ADB shell command and emulate the exit code.
Definition at line 90 of file android_skp_capture.py.
def android_skp_capture.capture_skp | ( | skp_file, | |
package, | |||
device | |||
) |
Capture an SKP.
Definition at line 108 of file android_skp_capture.py.
def android_skp_capture.check_output | ( | cmd | ) |
Convenience implementation of subprocess.check_output.
Definition at line 82 of file android_skp_capture.py.
def android_skp_capture.load_app | ( | filename | ) |
Load the JSON file describing an app and return an App instance.
Definition at line 136 of file android_skp_capture.py.
def android_skp_capture.main | ( | ) |
Capture SKPs for all apps.
Definition at line 147 of file android_skp_capture.py.
def android_skp_capture.parse_action | ( | action_dict | ) |
Parse a dict describing an action and return an Action object.
Definition at line 49 of file android_skp_capture.py.
def android_skp_capture.remote_file_exists | ( | filename | ) |
Return True if the given file exists on the device and False otherwise.
Definition at line 99 of file android_skp_capture.py.
int android_skp_capture.WAIT_FOR_SKP_CAPTURE = 1 |
Definition at line 22 of file android_skp_capture.py.