Jack He | cac30a2 | 2018-08-28 18:28:55 -0700 | [diff] [blame] | 1 | <?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 Ruffieux | 54ec350 | 2022-05-24 01:19:28 +0000 | [diff] [blame] | 20 | <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 He | cac30a2 | 2018-08-28 18:28:55 -0700 | [diff] [blame] | 25 | <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> |
| 26 | <option name="run-command" value="settings put global ble_scan_always_enabled 0" /> |
William Escande | 4ffb8eb | 2022-12-19 17:54:08 -0800 | [diff] [blame] | 27 | <option name="run-command" value="cmd bluetooth_manager disable" /> |
| 28 | <option name="run-command" value="cmd bluetooth_manager wait-for-state:STATE_OFF" /> |
Jack He | cac30a2 | 2018-08-28 18:28:55 -0700 | [diff] [blame] | 29 | </target_preparer> |
Jack He | 680f457 | 2018-11-29 16:51:22 -0800 | [diff] [blame] | 30 | <target_preparer class="com.android.tradefed.targetprep.FolderSaver"> |
| 31 | <option name="device-path" value="/data/vendor/ssrdump" /> |
| 32 | </target_preparer> |
Jack He | cac30a2 | 2018-08-28 18:28:55 -0700 | [diff] [blame] | 33 | <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 Ruffieux | 54ec350 | 2022-05-24 01:19:28 +0000 | [diff] [blame] | 38 | |
| 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 Gasco | 26ae229 | 2022-07-07 20:27:56 +0000 | [diff] [blame] | 42 | <option name="mainline-module-package-name" value="com.android.btservices" /> |
David Duarte | 4293b48 | 2022-11-22 18:44:17 +0000 | [diff] [blame] | 43 | <option name="mainline-module-package-name" value="com.google.android.btservices" /> |
Etienne Ruffieux | 54ec350 | 2022-05-24 01:19:28 +0000 | [diff] [blame] | 44 | </object> |
Jack He | cac30a2 | 2018-08-28 18:28:55 -0700 | [diff] [blame] | 45 | </configuration> |