This repository has been archived on 2023-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
Android-Mobile-Toolkit/platform-tools/systrace/catapult/devil
2019-09-27 23:56:01 -04:00
..
bin Initial commit 2019-09-27 23:56:01 -04:00
devil Initial commit 2019-09-27 23:56:01 -04:00
docs Initial commit 2019-09-27 23:56:01 -04:00
BUILD.gn Initial commit 2019-09-27 23:56:01 -04:00
PRESUBMIT.py Initial commit 2019-09-27 23:56:01 -04:00
pylintrc Initial commit 2019-09-27 23:56:01 -04:00
README.md Initial commit 2019-09-27 23:56:01 -04:00

devil

😈

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.

Interfaces

devil provides python APIs:

  • devil.android.adb_wrapper provides a thin wrapper around the adb binary. Most functions and methods have direct analogues on the adb command-line.
  • devil.android.device_utils provides higher-level functionality built on top of adb_wrapper. This is the primary mechanism through which chromium's scripts interact with devices.

Utilities

devil also provides command-line utilities:

Constraints and Caveats

devil is used with python 2.7. Its compatibility with python 3 has not been tested, and neither achieving nor maintaining said compatibility is currently a priority.

Contributing

Please see the contributor's guide.