Raphael Kim | 93b5084 | 2022-11-14 17:41:18 -0800 | [diff] [blame] | 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 CDM multi-device test cases"> |
| 14 | <option name="test-tag" value="CompanionDeviceMultiDeviceTests" /> |
| 15 | <option name="config-descriptor:metadata" key="component" value="framework" /> |
| 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 | <object class="com.android.tradefed.testtype.suite.module.DeviceFeatureModuleController" |
| 21 | type="module_controller"> |
| 22 | <option name="required-feature" value="android.software.companion_device_setup" /> |
| 23 | </object> |
| 24 | |
| 25 | <device name="device1"> |
| 26 | <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
Raphael Kim | 8c57fc5 | 2024-04-08 15:58:17 -0700 | [diff] [blame] | 27 | <option name="test-file-name" value="cdm_snippet_legacy.apk" /> |
Raphael Kim | 93b5084 | 2022-11-14 17:41:18 -0800 | [diff] [blame] | 28 | </target_preparer> |
| 29 | </device> |
| 30 | <device name="device2"> |
| 31 | <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
Raphael Kim | 8c57fc5 | 2024-04-08 15:58:17 -0700 | [diff] [blame] | 32 | <option name="test-file-name" value="cdm_snippet_legacy.apk" /> |
Raphael Kim | 93b5084 | 2022-11-14 17:41:18 -0800 | [diff] [blame] | 33 | </target_preparer> |
| 34 | </device> |
| 35 | |
| 36 | <test class="com.android.tradefed.testtype.mobly.MoblyBinaryHostTest"> |
| 37 | <!-- The mobly-par-file-name should match the module name --> |
| 38 | <option name="mobly-par-file-name" value="CompanionDeviceManagerMultiDeviceTestCases" /> |
| 39 | <!-- Timeout limit in milliseconds for all test cases of the python binary --> |
| 40 | <option name="mobly-test-timeout" value="60000" /> |
| 41 | </test> |
| 42 | </configuration> |