autopilot.platform
- autopilot.platform.model()
Get the model name of the current platform.
For desktop / laptop installations, this will return “Desktop”. Otherwise, the current hardware model will be returned. For example:
platform.model() ... "Galaxy Nexus"
- autopilot.platform.image_codename()
Get the image codename.
For desktop / laptop installations this will return “Desktop”. Otherwise, the codename of the image that was installed will be returned. For example:
platform.image_codename()
... “maguro”