blob: 8332422b344895846238a5780915bfb73eb23fbf [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" />
William Escandeca23daa2022-12-19 17:54:08 -080027 <option name="run-command" value="cmd bluetooth_manager disable" />
28 <option name="run-command" value="cmd bluetooth_manager wait-for-state:STATE_OFF" />
Jack Hecac30a22018-08-28 18:28:55 -070029 </target_preparer>
Jack He680f4572018-11-29 16:51:22 -080030 <target_preparer class="com.android.tradefed.targetprep.FolderSaver">
31 <option name="device-path" value="/data/vendor/ssrdump" />
32 </target_preparer>
Jack Hecac30a22018-08-28 18:28:55 -070033 <test class="com.android.tradefed.testtype.GTest" >
34 <option name="native-test-device-path" value="/data/local/tmp" />
35 <option name="module-name" value="{MODULE}" />
36 <option name="run-test-as" value="0" />
37 </test>
Etienne Ruffieux54ec3502022-05-24 01:19:28 +000038
39 <!-- Only run tests in MTS if the Bluetooth Mainline module is installed. -->
40 <object type="module_controller"
41 class="com.android.tradefed.testtype.suite.module.MainlineTestModuleController">
Oriol Prieto Gasco27ada522022-07-07 20:27:56 +000042 <option name="mainline-module-package-name" value="com.android.btservices" />
David Duartec0384192022-11-22 18:44:17 +000043 <option name="mainline-module-package-name" value="com.google.android.btservices" />
Etienne Ruffieux54ec3502022-05-24 01:19:28 +000044 </object>
Jack Hecac30a22018-08-28 18:28:55 -070045</configuration>