Treat empty-string passwords in the ssid-psk map as nulls.

It's not possible to pass nulls through as arguments, and nulls are a
signal value for "unsecured network".

See full analysis in b/130299282#comment8

Bug: 130299282
Bug: 124335881
Test: tools/tradefederation/core/tests/run_tradefed_tests.sh --class com.android.tradefed.targetprep.DeviceSetupTest
Change-Id: I16030e6ad2bda07c2de93f7b58488b8ff6330098
2 files changed
tree: 43bb51673d8ce215c3b54bf31eba732af455ffef
  1. atest/
  2. proto/
  3. python-lib/
  4. remote/
  5. res/
  6. src/
  7. tests/
  8. util-apps/
  9. .classpath
  10. .gitignore
  11. .project
  12. Android.bp
  13. Android.mk
  14. atest_tradefed.sh
  15. CleanSpec.mk
  16. error_prone_rules.mk
  17. MANIFEST.mf
  18. OWNERS
  19. PREUPLOAD.cfg
  20. pylintrc
  21. README.md
  22. run_tf_cmd.sh
  23. script_help.sh
  24. TEST_MAPPING
  25. TEST_MAPPING_README
  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/