Wakeup screen before dismissing keyguard

This was recommended by sysui team as the cause of cause of one possible race condition whereby the keyguard is still visible and blocking test runs when it shouldn't.  Using MENU to dismiss keyguard won't work if the screen isn't awake. (b/379620557#comment27)

Bug:379620557
Test: atest

Change-Id: I4851b60541752fcb53b65cbc9933362c04923d34
2 files changed
tree: d9d0d6b6c04653e1533fa8b13d3f5bb38fe867db
  1. aoa_helper/
  2. atest_proto/
  3. avd_util/
  4. clearcut_client/
  5. common_util/
  6. device_build_interfaces/
  7. external_dependencies/
  8. global_configuration/
  9. invocation_interfaces/
  10. isolation/
  11. javatests/
  12. lite/
  13. proto/
  14. reference_tests/
  15. remote/
  16. res/
  17. src/
  18. test_framework/
  19. test_observatory/
  20. test_result_interfaces/
  21. tools/
  22. util_apps/
  23. .classpath
  24. .gitignore
  25. .project
  26. Android.bp
  27. aosp_sha.sh
  28. atest_tradefed.sh
  29. CleanSpec.mk
  30. COVERAGE_OWNERS
  31. error_prone_rules.mk
  32. MANIFEST.mf
  33. MULTIUSER_OWNERS
  34. OWNERS
  35. PREUPLOAD.cfg
  36. pylintrc
  37. README.md
  38. run_tf_cmd.sh
  39. script_help.sh
  40. TEST_MAPPING
  41. tradefed.sh
  42. tradefed_win.bat
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

Getting Code Reviewed

1. Create your change in Gerrit
2. Add the reviewer named "Tradefed Codereview" (email: tradefed-codereview@tradefederation.google.com.iam.gserviceaccount.com)
3. Review the code review guidance at go/tf-guidelines and go/tradefed-code-reviews
4. GWSQ should add a couple of people from the team to review your code and give feedback.

More information

More information at: https://source.android.com/docs/core/tests/tradefed/

See more details about Tradefed Architecture at: https://source.android.com/docs/core/tests/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.

OSZAR »