Support getting device variant for OC-MR1 vendor.img

Currently we can get device variant from 1. correctly.
This CL adds the support of 2., so we can enable post-submit
for P-GSI + OC-MR1 vendor.

1. ro.product.vendor.device: for P, Q/master vendor.img
2. ro.vendor.product.device: for OC-MR1 vendor.img

Bug: 117762533
Test: make tradefed-all
Test: tradefed.sh, `list d` walleye on P-GSI over OC-MR1 vendor
Test: tradefed.sh, `list d` crosshatch on P-GSI over P vendor
Test: tools/tradefederation/core/tests/run_tradefed_tests.sh
Change-Id: I674cb541cfd7461f4d80938bee2fe9786633dd60
5 files changed
tree: 614a887344453e0765e9101cbc0e5fa2990fb2a1
  1. atest/
  2. prod-tests/
  3. proto/
  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/