blob: 43676fc71ae34ca906080b6c6ad0f5e94667e43a [file] [log] [blame]
David Brazdil493c1f22018-11-12 15:55:00 +00001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2018 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 Hidden API Signature test cases">
17 <option name="test-suite-tag" value="cts" />
18 <option name="config-descriptor:metadata" key="component" value="systems" />
Paul Duffin8cea3f32019-06-07 15:58:42 +010019 <option name="config-descriptor:metadata" key="parameter" value="instant_app" />
David Brazdil9245f612019-02-20 23:20:23 +000020 <option name="config-descriptor:metadata" key="parameter" value="not_multi_abi" />
Julien Desprez3b7a6432019-06-19 15:30:07 -070021 <option name="config-descriptor:metadata" key="parameter" value="secondary_user" />
satayeved95e2f2021-08-27 10:12:58 +000022 <option name="config-descriptor:metadata" key="parameter" value="no_foldable_states" />
David Brazdil493c1f22018-11-12 15:55:00 +000023 <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
24 <option name="cleanup-apks" value="true" />
Andrei Onea5b089612020-09-08 14:36:49 +010025 <option name="test-file-name" value="CtsHiddenApiBlocklistApi28TestCases.apk" />
David Brazdil493c1f22018-11-12 15:55:00 +000026 </target_preparer>
27 <test class="com.android.tradefed.testtype.AndroidJUnitTest" >
Andrei Onea5b089612020-09-08 14:36:49 +010028 <option name="package" value="android.signature.cts.api.hiddenapi_blocklist_api_28" />
David Brazdil493c1f22018-11-12 15:55:00 +000029 <option name="runner" value="repackaged.android.test.InstrumentationTestRunner" />
Andreas Gampef03310e2019-02-05 11:51:59 -080030 <option name="class" value="android.signature.cts.api.api28.HiddenApiTest" />
Paul Duffin8cea3f32019-06-07 15:58:42 +010031 <option name="instrumentation-arg" key="hiddenapi-files" value="hiddenapi-flags.csv" />
Andrei Onea3dfeecd2020-08-07 18:03:21 +010032 <option name="instrumentation-arg" key="hiddenapi-test-flags" value="blocked,max-target-o" />
Rahul Sabnisb2d58202020-10-07 17:29:25 -070033 <option name="instrumentation-arg" key="hiddenapi-filter-file" value="hiddenapi-filter.csv" />
Artur Satayev80d7c612019-11-27 15:16:15 +000034 <option name="test-api-access" value="false" />
David Brazdil493c1f22018-11-12 15:55:00 +000035 <option name="runtime-hint" value="30s" />
36 </test>
37</configuration>