Enable the clang-format pre-submit hook for cpp codes

Style: android cpp style modified from google style.
Checks only delta part in commit, not the entire modified file.
Will provide automatic fix option (type 'y' during upload)


Bug: 37003930
Test: Try to upload a patch with formatting errors.
Change-Id: I0814d45d25d0b08177c2083c8aa693d1d933fcd1
2 files changed
tree: c42d31a2e91fb86ae60bed927ff07230d900bbe8
  1. agents/
  2. compilation_tools/
  3. doc/
  4. drivers/
  5. hals/
  6. harnesses/
  7. proto/
  8. runners/
  9. script/
  10. specification/
  11. testcases/
  12. tools/
  13. utils/
  14. web/
  15. .clang-format
  16. .gitignore
  17. __init__.py
  18. Android.bp
  19. PREUPLOAD.cfg
  20. README.md
  21. setup.py
  22. vts.mk
README.md

Android Vendor Test Suite (VTS)

VTS consists of a set of testing frameworks and test cases, designed to help enhance the robustness, reliability, and compliance of:

  • the Android system (e.g., Core HALs and libraries) and
  • low-level system software (e.g., kernel, module, and firmware).

VTS has mainly two types of test suites:

  • automated (e.g., record-and-replay and fuzzing) and
  • structural (e.g., gTest and host-driven python) testing.

While the VTS framework and test cases are designed for userdebug or eng build devices, some test cases can be run on user build devices using its app namely, VTS Agent App.

Table of Contents

  1. VTS User Manual
  2. Where to find VTS test cases
  3. VTS Test Developer Manual
  4. VTS Framework Developer Manual