1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2023 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="Configuration for OS Vibrator Tests"> 17 <option name="test-suite-tag" value="cts" /> 18 <option name="config-descriptor:metadata" key="component" value="framework" /> 19 <option name="config-descriptor:metadata" key="parameter" value="instant_app" /> 20 <option name="config-descriptor:metadata" key="parameter" value="multi_abi" /> 21 <option name="config-descriptor:metadata" key="parameter" value="secondary_user" /> 22 <option name="config-descriptor:metadata" key="parameter" value="multiuser" /> 23 <option name="config-descriptor:metadata" key="parameter" value="run_on_sdk_sandbox" /> 24 25 <target_preparer class="com.android.tradefed.targetprep.DeviceSetup"> 26 <option name="force-skip-system-props" value="true" /> 27 <option name="set-global-setting" key="verifier_engprod" value="1" /> 28 <option name="set-global-setting" key="verifier_verify_adb_installs" value="0" /> 29 <option name="restore-settings" value="true" /> 30 </target_preparer> 31 32 <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> 33 <option name="cleanup-apks" value="true" /> 34 <option name="test-file-name" value="CtsVibratorTestCases.apk" /> 35 </target_preparer> 36 <test class="com.android.tradefed.testtype.AndroidJUnitTest" > 37 <option name="package" value="android.os.vibrator.cts" /> 38 <option name="runner" value="androidx.test.runner.AndroidJUnitRunner" /> 39 <!-- Do not disable hidden-api-checks for this test. This test includes 40 StrictModeTest which relies on hidden API checks being enabled in 41 order to function properly. Any APIs used by this test should be 42 added to the light grey list, or made @TestApi instead. 43 <option name="hidden-api-checks" value="false" /> 44 --> 45 </test> 46</configuration> 47