aosp12/external/chromium-trace/catapult/devil
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
bin init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
build init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
devil init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
docs init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.style.yapf init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
BUILD.gn init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DIR_METADATA init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
PRESUBMIT.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README.md init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pylintrc init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

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_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 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