Atest: Add metrics proto files for prebuilt.

1. Add metrics proto files.
2. Add target "atest_proto".
3. Add proto/*pb2.py for passing pylint in later CL.

Bug: 117793271

Test: step 0) $ source build/envsetup.sh ; lunch
              $ rm -f $ANDROID_HOST_OUT/bin/atest
      step 1) $ atest hello_world_test
      step 2) add atest.py a line 'from proto import clientanalytics_pb2'
      step 3) $ m atest
      step 4) $ atest hello_world_test
Results of step 1 and 4 are the same.

Change-Id: Ifbaf60e234a0ba60bbeba37f4324dee992ef5ccd
10 files changed
tree: 734eb4ded7c2b98e2df5ad25b71a8418ffc8f3ef
  1. atest/
  2. proto/
  3. proto-gen/
  4. python-lib/
  5. remote/
  6. res/
  7. src/
  8. tests/
  9. util-apps/
  10. .classpath
  11. .gitignore
  12. .project
  13. Android.bp
  14. Android.mk
  15. atest_tradefed.sh
  16. CleanSpec.mk
  17. error_prone_rules.mk
  18. MANIFEST.mf
  19. OWNERS
  20. PREUPLOAD.cfg
  21. pylintrc
  22. README.md
  23. run_tf_cmd.sh
  24. script_help.sh
  25. TEST_MAPPING
  26. tradefed.sh
  27. tradefed_win.bat
  28. 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/