Dump and reset coverage from system_server.

Collect coverage from system_server when doing cross-process coverage.

Test: Unit tests
Bug: 137857876
Change-Id: Ibf226dbc41e3794860d6ea2fd64c1f26c8f6dca3
Merged-In: Ibf226dbc41e3794860d6ea2fd64c1f26c8f6dca3
Merged-In: I10a4079b38f92d85446c4ed2bb3180b5e05a9513
(cherry picked from commit d4221665f8c369a7475675af8cf4307a7f31b03d)
2 files changed
tree: 8d3a78f48d0e672e0c30ec6083a60d45c4dd7967
  1. atest/
  2. clearcut_client/
  3. common_util/
  4. device_build_interfaces/
  5. global_configuration/
  6. invocation_interfaces/
  7. proto/
  8. python-lib/
  9. remote/
  10. res/
  11. src/
  12. test_framework/
  13. test_result_interfaces/
  14. tests/
  15. util-apps/
  16. .classpath
  17. .gitignore
  18. .project
  19. Android.bp
  20. Android.mk
  21. atest_tradefed.sh
  22. CleanSpec.mk
  23. error_prone_rules.mk
  24. MANIFEST.mf
  25. OWNERS
  26. PREUPLOAD.cfg
  27. pylintrc
  28. README.md
  29. run_tf_cmd.sh
  30. script_help.sh
  31. TEST_MAPPING
  32. TEST_MAPPING_README
  33. tradefed.sh
  34. tradefed_win.bat
  35. verify.sh
README.md

Trade Federation (TF / Tradefed)

TF is a test harness used to drive Android automated testing. It runs on test hosts and monitors the connected devices, handling test scheduling & execution and device management.

Other test harnesses like Compatibility Test Suite (CTS) and Vendor Test Suite (VTS) use TF as a basis and extend it for their particular needs.

Building TF:

  • source build/envsetup.sh
  • tapas tradefed-all
  • make -j8

More information at: https://source.android.com/devices/tech/test_infra/tradefed/

See more details about Tradefed Architecture at: https://source.android.com/devices/tech/test_infra/tradefed/architecture

If you are a tests writer you should start looking in the test_framework/ component which contains everything needed to write a tests in Tradefed.