Flutter Engine
The Flutter Engine
|
Functions | |
def | BuildOptions () |
def | ProcessOptions (options) |
def | ParseAndroidListSdkResult (text) |
def | AndroidListSdk () |
def | AndroidSdkFindPackage (packages, key) |
def | EnsureSdkPackageInstalled (packages, key) |
def | SdkPackagesForAbi (abi) |
def | TargetForAbi (abi) |
def | EnsureAndroidSdkPackagesInstalled (abi) |
def | ParseAndroidListAvdResult (text) |
def | AndroidListAvd () |
def | FindAvd (avds, key) |
def | CreateAvd (avdName, abi) |
def | AvdExists (avdName) |
def | EnsureAvdExists (avdName, abi) |
def | StartEmulator (abi, avdName, pollFn) |
def | ParseAndroidDevices (text) |
def | GetAndroidDevices () |
def | FilterOfflineDevices (devices) |
def | GetOnlineAndroidDevices () |
def | GetAndroidDeviceProperty (device, property) |
def | GetAndroidDeviceAbis (device) |
def | FindAndroidRunning (abi) |
def | AddSdkToolsToPath () |
def | FindAndroid (abi, bootstrap) |
def | Main () |
Variables | |
bool | DEBUG = False |
bool | VERBOSE = False |
def android_finder.AddSdkToolsToPath | ( | ) |
Definition at line 312 of file android_finder.py.
def android_finder.AndroidListAvd | ( | ) |
Returns a list of available Android Virtual Devices.
Definition at line 194 of file android_finder.py.
def android_finder.AndroidListSdk | ( | ) |
Definition at line 90 of file android_finder.py.
def android_finder.AndroidSdkFindPackage | ( | packages, | |
key | |||
) |
Args: packages: list of (id-num, id-key, type, description). key: (id-key, type, description-prefix).
Definition at line 95 of file android_finder.py.
def android_finder.AvdExists | ( | avdName | ) |
Definition at line 219 of file android_finder.py.
def android_finder.BuildOptions | ( | ) |
Definition at line 26 of file android_finder.py.
def android_finder.CreateAvd | ( | avdName, | |
abi | |||
) |
Definition at line 207 of file android_finder.py.
def android_finder.EnsureAndroidSdkPackagesInstalled | ( | abi | ) |
Return true if at least one package was not already installed.
Definition at line 157 of file android_finder.py.
def android_finder.EnsureAvdExists | ( | avdName, | |
abi | |||
) |
Definition at line 224 of file android_finder.py.
def android_finder.EnsureSdkPackageInstalled | ( | packages, | |
key | |||
) |
Makes sure the package with a given key is installed. key is (id-key, type, description-prefix) Returns True if the package was not already installed.
Definition at line 110 of file android_finder.py.
def android_finder.FilterOfflineDevices | ( | devices | ) |
Definition at line 278 of file android_finder.py.
def android_finder.FindAndroid | ( | abi, | |
bootstrap | |||
) |
Definition at line 333 of file android_finder.py.
def android_finder.FindAndroidRunning | ( | abi | ) |
Definition at line 305 of file android_finder.py.
def android_finder.FindAvd | ( | avds, | |
key | |||
) |
Definition at line 200 of file android_finder.py.
def android_finder.GetAndroidDeviceAbis | ( | device | ) |
Definition at line 296 of file android_finder.py.
def android_finder.GetAndroidDeviceProperty | ( | device, | |
property | |||
) |
Definition at line 291 of file android_finder.py.
def android_finder.GetAndroidDevices | ( | ) |
Definition at line 274 of file android_finder.py.
def android_finder.GetOnlineAndroidDevices | ( | ) |
Definition at line 287 of file android_finder.py.
def android_finder.Main | ( | ) |
Definition at line 362 of file android_finder.py.
def android_finder.ParseAndroidDevices | ( | text | ) |
Return Dictionary [name] -> status
Definition at line 262 of file android_finder.py.
def android_finder.ParseAndroidListAvdResult | ( | text | ) |
Parse the output of an 'android list avd' command. Return List of {Name: Path: Target: ABI: Skin: Sdcard:}
Definition at line 167 of file android_finder.py.
def android_finder.ParseAndroidListSdkResult | ( | text | ) |
Parse the output of an 'android list sdk' command. Return list of (id-num, id-key, type, description).
Definition at line 67 of file android_finder.py.
def android_finder.ProcessOptions | ( | options | ) |
Definition at line 56 of file android_finder.py.
def android_finder.SdkPackagesForAbi | ( | abi | ) |
Definition at line 130 of file android_finder.py.
def android_finder.StartEmulator | ( | abi, | |
avdName, | |||
pollFn | |||
) |
Start an emulator for a given abi and svdName. Echo the emulator's stderr and stdout output to our stderr. Call pollFn repeatedly until it returns False. Leave the emulator running when we return. Implementation note: Normally we would call the 'emulator' binary, which is a wrapper that launches the appropriate abi-specific emulator. But there is a bug that causes the emulator to exit immediately with a result code of -11 if run from a ssh shell or a No Machine shell. (And only if called from three levels of nested python scripts.) Calling the ABI-specific versions of the emulator directly works around this bug.
Definition at line 236 of file android_finder.py.
def android_finder.TargetForAbi | ( | abi | ) |
Definition at line 151 of file android_finder.py.
bool android_finder.DEBUG = False |
Definition at line 22 of file android_finder.py.
bool android_finder.VERBOSE = False |
Definition at line 23 of file android_finder.py.