You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| .. | ||
| bin | 3 years ago | |
| build | 3 years ago | |
| devil | 3 years ago | |
| docs | 3 years ago | |
| .style.yapf | 3 years ago | |
| BUILD.gn | 3 years ago | |
| DIR_METADATA | 3 years ago | |
| PRESUBMIT.py | 3 years ago | |
| README.md | 3 years ago | |
| pylintrc | 3 years ago | |
README.md
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_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 ofadb_wrapper. This is the primary mechanism through which chromium's scripts interact with devices.
Utilities
devil also provides command-line utilities:
devil/utils/markdown.pygenerated markdown documentation for python modules.
Constraints and Caveats
devil supports python 2.7. Python 3 compatibility is currently a work in progress (see https://crbug.com/1007101).
Contributing
Please see our contributor's guide