MicrodroidHostTestCases run an app in Microdroid by executing commands
against the test device directly. This functionality is now implemented
directly in Tradefed and we should therefore migrate our tests to it.
Test: atest MicrodroidHostTestCases AVFHostTestCases
Change-Id: I587fd6d140b905064fe995b994e81ad3e51a27bd
This CL adds MetricsProcessor class to calculate metrics stats
for both device tests and host tests.
Test: atest MicrodroidBenchmarks
Change-Id: I4f742d6800f14c857a5d0e0718e09870e8ca6547
1. Remove postsubmit in TEST_MAPPING. Plan to run it via ABTD to make
sure this test case can run under TF normally. After that, will
submit another CL to add in TEST_MAPPING.
2. Add rebootAndWaitBootCompleted in setup to make sure no staged
session is left
3. remove assert for boot time compare temporarily
4. Add enableAdbRoot() after reboot because somehow it will become
normal user after reboot
5. Add retry in reInstallApex() and compileStagedApex() because it seems
after reboot sometimes the 2 functions will be fail
Bug: 243197801
Test: atest ComposBenchmarkApp
Change-Id: Icd70fc2dd1632f0b67954b2260d9d36db8249bdf
This reverts commit 5f522d766f.
Reason for revert: testBootWithAndWithoutCompOS() fails in postsubmits
Change-Id: Ie8a0da4024a38dcab691839e2ee369ba62821360
test_boot_time_with_comp_os function to AOSP
testBootWithAndWithoutCompOS will find the boot elapsed time with and
without CompOS.
Bug: 236799228
Test: atest AVFHostTestCases
Change-Id: Ie61c40b28a9d104002fc946da8b151910fb0b0c8