Temporary fix/hack of FileListingService to create non-root path

Access FileListingService constructors in order to create a
non-root FileEntry based path to pull from a dir when being
not root.
Final fix will require some ddmlib change.

Test: unit tests
local cts run with DeviceInfo collected in
/data/local/tmp/device-info-files/
Bug: 73297839

Change-Id: I730207afec4c2e2bc9886bd951fc8721bfe34b53
2 files changed
tree: 28faee95ed3f0d94ec4684bc018e0984439be24b
  1. atest/
  2. prod-tests/
  3. proto/
  4. remote/
  5. res/
  6. src/
  7. tests/
  8. util-apps/
  9. .classpath
  10. .gitignore
  11. .project
  12. Android.mk
  13. CleanSpec.mk
  14. error_prone_rules.mk
  15. MANIFEST.mf
  16. OWNERS
  17. PREUPLOAD.cfg
  18. README.md
  19. run_tf_cmd.sh
  20. script_help.sh
  21. tradefed.sh
  22. tradefed_win.bat
  23. 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/