Average the cold app startup time to eliminate the noise

Reduce the noise by warming the caches (start the app
package 3 times without capturing the logs). Then, run the app 5x times
before/during/after VM run and use the reportMetrics to send the data.
Create two different test cases, one for the Settings app package and
one for the Camera app. Verify if the package is installed before
starting the test.

Bug: 236621823
Test: atest AVFHostTestCase#testCameraAppStartupTime and then run
 atest AVFHostTestCase#testSettingsStartupTime and verify the reported
metrics

Change-Id: I3ca7761b117bdbf2262b043c015f96196459308c
1 file changed
tree: a0c49207edfa522e47857f979f559e70c3765c00
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. avmd/
  5. compos/
  6. demo/
  7. docs/
  8. javalib/
  9. launcher/
  10. libs/
  11. microdroid/
  12. microdroid_manager/
  13. pvmfw/
  14. rialto/
  15. tests/
  16. virtualizationservice/
  17. vm/
  18. vmbase/
  19. vmclient/
  20. zipfuse/
  21. .clang-format
  22. .gitignore
  23. Android.bp
  24. OWNERS
  25. PREUPLOAD.cfg
  26. README.md
  27. TEST_MAPPING
README.md

Virtualization

This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.