Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
bin/ | 03-May-2024 | - | 102 | 65 | ||
devil/ | 03-May-2024 | - | 25,236 | 19,660 | ||
docs/ | 03-May-2024 | - | 1,712 | 1,252 | ||
BUILD.gn | D | 03-May-2024 | 567 | 22 | 18 | |
PRESUBMIT.py | D | 03-May-2024 | 2.4 KiB | 82 | 57 | |
README.md | D | 03-May-2024 | 1.2 KiB | 38 | 22 | |
pylintrc | D | 03-May-2024 | 1.8 KiB | 70 | 45 |
README.md
1<!-- Copyright 2015 The Chromium Authors. All rights reserved. 2 Use of this source code is governed by a BSD-style license that can be 3 found in the LICENSE file. 4--> 5## devil 6 7 8 9devil is a library used by the Chromium developers to interact with Android 10devices. It currently supports SDK level 16 and above. 11 12## Interfaces 13 14devil provides python APIs: 15 - [`devil.android.adb_wrapper`](docs/adb_wrapper.md) provides a thin wrapper 16 around the adb binary. Most functions and methods have direct analogues on 17 the adb command-line. 18 - [`devil.android.device_utils`](docs/device_utils.md) provides higher-level 19 functionality built on top of `adb_wrapper`. **This is the primary 20 mechanism through which chromium's scripts interact with devices.** 21 22## Utilities 23 24devil also provides command-line utilities: 25 - [`devil/utils/markdown.py`](docs/markdown.md) generated markdown 26 documentation for python modules. 27 28## Constraints and Caveats 29 30devil is used with python 2.7. Its compatibility with python 3 has not been 31tested, and neither achieving nor maintaining said compatibility is currently 32a priority. 33 34## Contributing 35 36Please see the [contributor's guide](https://github.com/catapult-project/catapult/blob/master/CONTRIBUTING.md). 37 38