summaryrefslogtreecommitdiffstats
path: root/sensors
diff options
context:
space:
mode:
authorDan Shi <dshi@google.com>2020-05-13 19:10:44 +0000
committerDan Shi <dshi@google.com>2020-05-13 14:02:04 -0700
commit1a380f7b5bf466c94be8c7f185694692b7c5bdcd (patch)
tree8d37e57353232a9e4871abb0f409bd7f354ae8a1 /sensors
parent5254086ccc2899cf4afc7b484cc5fd61968874b6 (diff)
downloadplatform_hardware_interfaces-1a380f7b5bf466c94be8c7f185694692b7c5bdcd.tar.gz
platform_hardware_interfaces-1a380f7b5bf466c94be8c7f185694692b7c5bdcd.tar.bz2
platform_hardware_interfaces-1a380f7b5bf466c94be8c7f185694692b7c5bdcd.zip
Use StopServicesSetup to stop/start framework.
Bug: 155774142 Test: none Exempt-From-Owner-Approval: This CL replaces target preparer, shouldn't change test behavior. Change-Id: I83cffadfff15e6352a69641c3227efb63e7a34e4 Merged-In: I83cffadfff15e6352a69641c3227efb63e7a34e4
Diffstat (limited to 'sensors')
-rw-r--r--sensors/1.0/vts/functional/AndroidTest.xml9
-rw-r--r--sensors/2.0/vts/functional/AndroidTest.xml9
2 files changed, 4 insertions, 14 deletions
diff --git a/sensors/1.0/vts/functional/AndroidTest.xml b/sensors/1.0/vts/functional/AndroidTest.xml
index fb0d64c215..5011f09bfb 100644
--- a/sensors/1.0/vts/functional/AndroidTest.xml
+++ b/sensors/1.0/vts/functional/AndroidTest.xml
@@ -17,13 +17,8 @@
<option name="test-suite-tag" value="apct" />
<option name="test-suite-tag" value="apct-native" />
- <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer">
- </target_preparer>
-
- <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
- <option name="run-command" value="stop"/>
- <option name="teardown-command" value="start"/>
- </target_preparer>
+ <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/>
+ <target_preparer class="com.android.tradefed.targetprep.StopServicesSetup"/>
<target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
<option name="cleanup" value="true" />
diff --git a/sensors/2.0/vts/functional/AndroidTest.xml b/sensors/2.0/vts/functional/AndroidTest.xml
index b710ed0f06..b7658a9624 100644
--- a/sensors/2.0/vts/functional/AndroidTest.xml
+++ b/sensors/2.0/vts/functional/AndroidTest.xml
@@ -17,13 +17,8 @@
<option name="test-suite-tag" value="apct" />
<option name="test-suite-tag" value="apct-native" />
- <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer">
- </target_preparer>
-
- <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
- <option name="run-command" value="stop"/>
- <option name="teardown-command" value="start"/>
- </target_preparer>
+ <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/>
+ <target_preparer class="com.android.tradefed.targetprep.StopServicesSetup"/>
<target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
<option name="cleanup" value="true" />