blob: c08e9d5049d9af2001828b5642caaf4ec5eeb5da [file] [log] [blame]
Paul Duffince31c052018-01-11 20:55:18 +00001<?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 Duffin50380682021-11-18 14:30:17 +000019 <option name="config-descriptor:metadata" key="parameter" value="not_instant_app" />
Jiyong Park41258e02019-03-13 00:38:04 +090020 <option name="config-descriptor:metadata" key="parameter" value="not_multi_abi" />
Paul Duffin50380682021-11-18 14:30:17 +000021 <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 Desprez3b7a6432019-06-19 15:30:07 -070026 <option name="config-descriptor:metadata" key="parameter" value="secondary_user" />
Orion Hodsonc72a4ca2021-08-26 19:55:00 +010027 <option name="config-descriptor:metadata" key="parameter" value="no_foldable_states" />
Paul Duffince31c052018-01-11 20:55:18 +000028 <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 Onuki74ebc5d2020-06-01 09:35:10 -070036 <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 Parkf0a19f22020-02-19 20:06:51 +090037 <option name="instrumentation-arg" key="annotation-for-exact-match" value="@android.annotation.SystemApi\(client=PRIVILEGED_APPS\)" />
Paul Duffince31c052018-01-11 20:55:18 +000038 <option name="runtime-hint" value="30s" />
Paul Duffincdad3362020-10-22 10:56:14 +010039 <!-- Disable hidden API checks (http://b/171459260). -->
40 <option name="hidden-api-checks" value="false" />
Paul Duffin50380682021-11-18 14:30:17 +000041 <!-- disable isolated storage so tests can access dynamic config stored in /sdcard. -->
42 <option name="isolated-storage" value="false" />
Paul Duffince31c052018-01-11 20:55:18 +000043 </test>
Lev Rumyantsev424d0ab2019-09-04 19:37:44 -070044
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 Duffince31c052018-01-11 20:55:18 +000048</configuration>