blob: 33dd881fef39aec67ffaf4a0ac7790541edb571c [file] [log] [blame]
Jack Hecac30a22018-08-28 18:28:55 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright 2018 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 {MODULE}.">
17 <option name="test-suite-tag" value="apct" />
18 <option name="test-suite-tag" value="apct-native" />
19 <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" />
Etienne Ruffieux54ec3502022-05-24 01:19:28 +000020 <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher">
21 <option name="cleanup" value="true" />
22 <option name="push" value="{MODULE}->/data/local/tmp/{MODULE}" />
23 <option name="append-bitness" value="true" />
24 </target_preparer>
Jack Hecac30a22018-08-28 18:28:55 -070025 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
26 <option name="run-command" value="settings put global ble_scan_always_enabled 0" />
27 <option name="run-command" value="svc bluetooth disable" />
28 </target_preparer>
Jack He680f4572018-11-29 16:51:22 -080029 <target_preparer class="com.android.tradefed.targetprep.FolderSaver">
30 <option name="device-path" value="/data/vendor/ssrdump" />
31 </target_preparer>
Jack Hecac30a22018-08-28 18:28:55 -070032 <test class="com.android.tradefed.testtype.GTest" >
33 <option name="native-test-device-path" value="/data/local/tmp" />
34 <option name="module-name" value="{MODULE}" />
35 <option name="run-test-as" value="0" />
36 </test>
Etienne Ruffieux54ec3502022-05-24 01:19:28 +000037
38 <!-- Only run tests in MTS if the Bluetooth Mainline module is installed. -->
39 <object type="module_controller"
40 class="com.android.tradefed.testtype.suite.module.MainlineTestModuleController">
Oriol Prieto Gasco26ae2292022-07-07 20:27:56 +000041 <option name="mainline-module-package-name" value="com.android.btservices" />
David Duarte4293b482022-11-22 18:44:17 +000042 <option name="mainline-module-package-name" value="com.google.android.btservices" />
Etienne Ruffieux54ec3502022-05-24 01:19:28 +000043 </object>
Jack Hecac30a22018-08-28 18:28:55 -070044</configuration>