1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright 2017 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 Bluetooth Test Cases.">
17    <option name="test-suite-tag" value="apct" />
18    <option name="test-suite-tag" value="apct-instrumentation" />
19    <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
20        <option name="cleanup-apks" value="true" />
21        <option name="test-file-name" value="BluetoothInstrumentationTests.apk" />
22    </target_preparer>
23    <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
24        <option name="run-command" value="settings put global ble_scan_always_enabled 0" />
25        <option name="run-command" value="svc bluetooth disable" />
26        <option name="teardown-command" value="svc bluetooth enable" />
27        <option name="teardown-command" value="settings put global ble_scan_always_enabled 1" />
28    </target_preparer>
29    <target_preparer class="com.android.tradefed.targetprep.FolderSaver">
30        <option name="device-path" value="/data/vendor/ssrdump" />
31    </target_preparer>
32    <option name="test-tag" value="BluetoothInstrumentationTests" />
33    <test class="com.android.tradefed.testtype.AndroidJUnitTest" >
34        <option name="package" value="com.android.bluetooth.tests" />
35        <option name="hidden-api-checks" value="false"/>
36    </test>
37</configuration>
38