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" /> 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 <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> 23 <option name="cleanup-apks" value="true" /> 24 <option name="test-file-name" value="CtsSystemApiAnnotationTestCases.apk" /> 25 </target_preparer> 26 <test class="com.android.tradefed.testtype.AndroidJUnitTest" > 27 <option name="package" value="android.signature.cts.api.system_annotation" /> 28 <option name="runner" value="repackaged.android.test.InstrumentationTestRunner" /> 29 <option name="class" value="android.signature.cts.api.AnnotationTest" /> 30 <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" /> 31 <option name="instrumentation-arg" key="annotation-for-exact-match" value="@android.annotation.SystemApi\(client=PRIVILEGED_APPS\)" /> 32 <option name="runtime-hint" value="30s" /> 33 </test> 34 35 <!-- Controller that will skip the module if a native bridge situation is detected --> 36 <!-- For example: module wants to run arm32 and device is x86 --> 37 <object type="module_controller" class="com.android.tradefed.testtype.suite.module.NativeBridgeModuleController" /> 38</configuration> 39