1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2022 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 Uwb multi-device test cases"> 14 <option name="test-suite-tag" value="cts" /> 15 <option name="config-descriptor:metadata" key="component" value="uwb" /> 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="not_secondary_user" /> 19 <option name="config-descriptor:metadata" key="mainline-param" value="com.google.android.uwb.apex" /> 20 21 <object class="com.android.tradefed.testtype.suite.module.DeviceFeatureModuleController" 22 type="module_controller"> 23 <option name="required-feature" value="android.hardware.uwb" /> 24 </object> 25 <object type="module_controller" class="com.android.tradefed.testtype.suite.module.MainlineTestModuleController"> 26 <option name="mainline-module-package-name" value="com.google.android.uwb" /> 27 </object> 28 29 <device name="device1"> 30 <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> 31 <option name="test-file-name" value="uwb_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 <device name="device2"> 39 <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> 40 <option name="test-file-name" value="uwb_snippet.apk" /> 41 </target_preparer> 42 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> 43 <option name="run-command" value="input keyevent KEYCODE_WAKEUP" /> 44 <option name="run-command" value="wm dismiss-keyguard" /> 45 </target_preparer> 46 </device> 47 48 <test class="com.android.tradefed.testtype.mobly.MoblyBinaryHostTest"> 49 <!-- The mobly-par-file-name should match the module name --> 50 <option name="mobly-par-file-name" value="CtsUwbMultiDeviceTestCase_FiraRangingTests" /> 51 <!-- Timeout limit in milliseconds for all test cases of the python binary --> 52 <option name="mobly-test-timeout" value="1800000" /> 53 </test> 54</configuration> 55 56