Paul Duffin | ce31c05 | 2018-01-11 20:55:18 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2017 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 System Current API Signature test cases"> |
| 17 | <option name="test-suite-tag" value="cts" /> |
| 18 | <option name="config-descriptor:metadata" key="component" value="systems" /> |
Paul Duffin | 5038068 | 2021-11-18 14:30:17 +0000 | [diff] [blame^] | 19 | <option name="config-descriptor:metadata" key="parameter" value="not_instant_app" /> |
Jiyong Park | 41258e0 | 2019-03-13 00:38:04 +0900 | [diff] [blame] | 20 | <option name="config-descriptor:metadata" key="parameter" value="not_multi_abi" /> |
Paul Duffin | 5038068 | 2021-11-18 14:30:17 +0000 | [diff] [blame^] | 21 | <target_preparer class="com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher"> |
| 22 | <option name="target" value="device" /> |
| 23 | <option name="config-filename" value="CtsSystemApiAnnotationTestCases" /> |
| 24 | <option name="version" value="1.0" /> |
| 25 | </target_preparer> |
Julien Desprez | 3b7a643 | 2019-06-19 15:30:07 -0700 | [diff] [blame] | 26 | <option name="config-descriptor:metadata" key="parameter" value="secondary_user" /> |
Orion Hodson | c72a4ca | 2021-08-26 19:55:00 +0100 | [diff] [blame] | 27 | <option name="config-descriptor:metadata" key="parameter" value="no_foldable_states" /> |
Paul Duffin | ce31c05 | 2018-01-11 20:55:18 +0000 | [diff] [blame] | 28 | <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
| 29 | <option name="cleanup-apks" value="true" /> |
| 30 | <option name="test-file-name" value="CtsSystemApiAnnotationTestCases.apk" /> |
| 31 | </target_preparer> |
| 32 | <test class="com.android.tradefed.testtype.AndroidJUnitTest" > |
| 33 | <option name="package" value="android.signature.cts.api.system_annotation" /> |
| 34 | <option name="runner" value="repackaged.android.test.InstrumentationTestRunner" /> |
| 35 | <option name="class" value="android.signature.cts.api.AnnotationTest" /> |
Makoto Onuki | 74ebc5d | 2020-06-01 09:35:10 -0700 | [diff] [blame] | 36 | <option name="instrumentation-arg" key="expected-api-files" value="system-current.api.gz,system-removed.api.gz,car-system-current.api.gz,car-system-removed.api.gz" /> |
Jiyong Park | f0a19f2 | 2020-02-19 20:06:51 +0900 | [diff] [blame] | 37 | <option name="instrumentation-arg" key="annotation-for-exact-match" value="@android.annotation.SystemApi\(client=PRIVILEGED_APPS\)" /> |
Paul Duffin | ce31c05 | 2018-01-11 20:55:18 +0000 | [diff] [blame] | 38 | <option name="runtime-hint" value="30s" /> |
Paul Duffin | cdad336 | 2020-10-22 10:56:14 +0100 | [diff] [blame] | 39 | <!-- Disable hidden API checks (http://b/171459260). --> |
| 40 | <option name="hidden-api-checks" value="false" /> |
Paul Duffin | 5038068 | 2021-11-18 14:30:17 +0000 | [diff] [blame^] | 41 | <!-- disable isolated storage so tests can access dynamic config stored in /sdcard. --> |
| 42 | <option name="isolated-storage" value="false" /> |
Paul Duffin | ce31c05 | 2018-01-11 20:55:18 +0000 | [diff] [blame] | 43 | </test> |
Lev Rumyantsev | 424d0ab | 2019-09-04 19:37:44 -0700 | [diff] [blame] | 44 | |
| 45 | <!-- Controller that will skip the module if a native bridge situation is detected --> |
| 46 | <!-- For example: module wants to run arm32 and device is x86 --> |
| 47 | <object type="module_controller" class="com.android.tradefed.testtype.suite.module.NativeBridgeModuleController" /> |
Paul Duffin | ce31c05 | 2018-01-11 20:55:18 +0000 | [diff] [blame] | 48 | </configuration> |