autopilot.platform
- Functions for platform detection¶
-
autopilot.platform.
model
()[source]¶ 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
()[source]¶ 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”