Audio VTS: Enable batch mode

Bug: 36819162

Batch mode speeds up tests from 14min to 1min.
The only drawback is that hal deinit will not be as well tested as
before. HAL init/deinit used to be called 1k+ times but in batch
mode it will only be called once.

This is not so much of a problem as hal are not designed to start/stop
multiple times anyway.

Test: vts-tradefed run commandAndExit vts  --module VtsHalAudioV2_0Target
Test: watch -d 'adb shell ps |grep HalAudio'
Change-Id: I84aef8bc08f34f14fac9a26b65b7f6b118a77327
Signed-off-by: Kevin Rocard <krocard@google.com>
diff --git a/audio/V2_0/target/AndroidTest.xml b/audio/V2_0/target/AndroidTest.xml
index 5172392..a54f8b1 100644
--- a/audio/V2_0/target/AndroidTest.xml
+++ b/audio/V2_0/target/AndroidTest.xml
@@ -29,5 +29,6 @@
         <option name="binary-test-stop-native-servers" value="true"/>
         <option name="precondition-lshal" value="android.hardware.audio@2.0"/>
         <option name="test-timeout" value="30m"/>
+        <option name="gtest-batch-mode" value="true"/>
     </test>
 </configuration>
diff --git a/audio/V2_0/target_profiling/AndroidTest.xml b/audio/V2_0/target_profiling/AndroidTest.xml
index 81345d8..c30d883 100644
--- a/audio/V2_0/target_profiling/AndroidTest.xml
+++ b/audio/V2_0/target_profiling/AndroidTest.xml
@@ -34,5 +34,6 @@
         <option name="binary-test-stop-native-servers" value="true"/>
         <option name="precondition-lshal" value="android.hardware.audio@2.0"/>
         <option name="test-timeout" value="30m"/>
+        <option name="gtest-batch-mode" value="true"/>
     </test>
 </configuration>