xref: /aosp_15_r20/cts/hostsidetests/multidevices/bluetooth/AndroidTest.xml (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2023 The Android Open Source Project
3     Licensed under the Apache License, Version 2.0 (the "License");
4     you may not use this file except in compliance with the License.
5     You may obtain a copy of the License at
6          http://www.apache.org/licenses/LICENSE-2.0
7     Unless required by applicable law or agreed to in writing, software
8     distributed under the License is distributed on an "AS IS" BASIS,
9     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10     See the License for the specific language governing permissions and
11     limitations under the License.
12-->
13<configuration description="Config for CTS Bluetooth multi devices test cases">
14    <option name="test-suite-tag" value="cts" />
15    <option name="config-descriptor:metadata" key="component" value="bluetooth" />
16    <option name="config-descriptor:metadata" key="parameter" value="not_instant_app" />
17    <option name="config-descriptor:metadata" key="parameter" value="not_multi_abi" />
18    <option name="config-descriptor:metadata" key="parameter" value="secondary_user" />
19
20    <device name="device1">
21        <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
22            <option name="test-file-name" value="bluetooth_multi_devices_snippet.apk" />
23        </target_preparer>
24        <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
25            <option name="run-command" value="input keyevent KEYCODE_WAKEUP" />
26            <option name="run-command" value="wm dismiss-keyguard" />
27        </target_preparer>
28    </device>
29    <device name="device2">
30        <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
31            <option name="test-file-name" value="bluetooth_multi_devices_snippet.apk" />
32        </target_preparer>
33        <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
34            <option name="run-command" value="input keyevent KEYCODE_WAKEUP" />
35            <option name="run-command" value="wm dismiss-keyguard" />
36        </target_preparer>
37    </device>
38
39    <test class="com.android.tradefed.testtype.mobly.MoblyBinaryHostTest">
40      <!-- The mobly-par-file-name should match the module name -->
41      <option name="mobly-par-file-name" value="CtsBluetoothMultiDevicesTestCases" />
42      <!-- Timeout limit in milliseconds for all test cases of the python binary -->
43      <option name="mobly-test-timeout" value="180000" />
44    </test>
45</configuration>
46
47