[benchmark] Collect authfs IO benchmarks in both (un)protected VMs
The param will be attached to test name as following
...AuthFsBenchmarks#randReadRemoteFile[protectedVm=true]
The CL moves the initial class level setup beforeClassWithDevice
to test level as the former method is not supported by the
parameterized test runner.
Bug: 236123069
Test: atest AuthfsBenchmarks
Change-Id: I9a9b709b044abecc33846773d561597b64f3eefa
diff --git a/authfs/tests/benchmarks/Android.bp b/authfs/tests/benchmarks/Android.bp
index b198328..9bdef7b 100644
--- a/authfs/tests/benchmarks/Android.bp
+++ b/authfs/tests/benchmarks/Android.bp
@@ -11,6 +11,7 @@
static_libs: [
"AuthFsHostTestCommon",
"MicrodroidHostTestHelper",
+ "cts-host-utils",
],
test_suites: ["general-tests"],
data_device_bins_first: [