devil (device interaction layer) is a library used by the Chromium developers to interact with Android devices. It currently supports SDK level 16 and above.
devil provides python APIs:
devil.android.adb_wrapperprovides a thin wrapper around the adb binary. Most functions and methods have direct analogues on the adb command-line.
devil.android.device_utilsprovides higher-level functionality built on top of
adb_wrapper. This is the primary mechanism through which chromium's scripts interact with devices.
devil also provides command-line utilities:
devil/utils/markdown.pygenerated markdown documentation for python modules.
Please see our contributor's guide