blob: 6010c60e978e36ec2684d87dd50c15fba945bf1e [file] [log] [blame]
Cheney Ni1f3312c2021-04-23 11:40:53 +08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2021 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16<configuration description="Runs VtsHalBluetoothV1_0TargetTest.">
17 <option name="test-suite-tag" value="apct" />
18 <option name="test-suite-tag" value="apct-native" />
19
20 <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer">
21 </target_preparer>
22 <target_preparer class="com.android.tradefed.targetprep.StopServicesSetup">
23 </target_preparer>
24
Karthik Ramakrishnan0dc66a22022-02-07 17:37:39 -080025 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
26 <option name="run-command" value="settings put global ble_scan_always_enabled 0" />
William Escandecd64ee12022-12-21 18:20:54 -080027 <option name="run-command" value="cmd bluetooth_manager disable" />
28 <option name="run-command" value="cmd bluetooth_manager wait-for-state:STATE_OFF" />
29 <option name="teardown-command" value="cmd bluetooth_manager enable" />
30 <option name="teardown-command" value="cmd bluetooth_manager wait-for-state:STATE_ON" />
Karthik Ramakrishnan0dc66a22022-02-07 17:37:39 -080031 <option name="teardown-command" value="settings put global ble_scan_always_enabled 1" />
Cheney Ni1f3312c2021-04-23 11:40:53 +080032 </target_preparer>
33
34 <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
35 <option name="cleanup" value="true" />
36 <option name="push" value="VtsHalBluetoothV1_0TargetTest->/data/local/tmp/VtsHalBluetoothV1_0TargetTest" />
37 </target_preparer>
38
39 <test class="com.android.tradefed.testtype.GTest" >
40 <option name="native-test-device-path" value="/data/local/tmp" />
41 <option name="module-name" value="VtsHalBluetoothV1_0TargetTest" />
42 </test>
43</configuration>