Baligh Uddin | 6a41dd4 | 2020-11-04 04:21:14 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2015 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="Config for CTS net host test cases"> |
| 17 | <option name="test-suite-tag" value="cts" /> |
| 18 | <option name="config-descriptor:metadata" key="component" value="networking" /> |
| 19 | <option name="config-descriptor:metadata" key="parameter" value="instant_app" /> |
| 20 | <option name="config-descriptor:metadata" key="parameter" value="not_multi_abi" /> |
| 21 | <option name="config-descriptor:metadata" key="parameter" value="secondary_user" /> |
| 22 | |
| 23 | <target_preparer class="com.android.compatibility.common.tradefed.targetprep.LocationCheck" /> |
| 24 | <target_preparer class="com.android.cts.net.NetworkPolicyTestsPreparer" /> |
| 25 | |
| 26 | <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> |
| 27 | <option name="teardown-command" value="cmd power set-mode 0" /> |
| 28 | <option name="teardown-command" value="cmd battery reset" /> |
| 29 | <option name="teardown-command" value="cmd netpolicy stop-watching" /> |
| 30 | </target_preparer> |
| 31 | |
| 32 | <test class="com.android.compatibility.common.tradefed.testtype.JarHostTest" > |
| 33 | <option name="jar" value="CtsHostsideNetworkTests.jar" /> |
| 34 | <option name="runtime-hint" value="3m56s" /> |
| 35 | </test> |
| 36 | |
| 37 | <metrics_collector class="com.android.tradefed.device.metric.FilePullerLogCollector"> |
| 38 | <option name="directory-keys" value="/sdcard/CtsHostsideNetworkTests" /> |
| 39 | <option name="collect-on-run-ended-only" value="true" /> |
| 40 | </metrics_collector> |
| 41 | </configuration> |