1*b7c941bbSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?> 2*b7c941bbSAndroid Build Coastguard Worker<!-- Copyright (C) 2020 The Android Open Source Project 3*b7c941bbSAndroid Build Coastguard Worker 4*b7c941bbSAndroid Build Coastguard Worker Licensed under the Apache License, Version 2.0 (the "License"); 5*b7c941bbSAndroid Build Coastguard Worker you may not use this file except in compliance with the License. 6*b7c941bbSAndroid Build Coastguard Worker You may obtain a copy of the License at 7*b7c941bbSAndroid Build Coastguard Worker 8*b7c941bbSAndroid Build Coastguard Worker http://www.apache.org/licenses/LICENSE-2.0 9*b7c941bbSAndroid Build Coastguard Worker 10*b7c941bbSAndroid Build Coastguard Worker Unless required by applicable law or agreed to in writing, software 11*b7c941bbSAndroid Build Coastguard Worker distributed under the License is distributed on an "AS IS" BASIS, 12*b7c941bbSAndroid Build Coastguard Worker WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*b7c941bbSAndroid Build Coastguard Worker See the License for the specific language governing permissions and 14*b7c941bbSAndroid Build Coastguard Worker limitations under the License. 15*b7c941bbSAndroid Build Coastguard Worker--> 16*b7c941bbSAndroid Build Coastguard Worker<configuration description="Config for GTS Root Device Policy test cases"> 17*b7c941bbSAndroid Build Coastguard Worker <option name="test-suite-tag" value="gts" /> 18*b7c941bbSAndroid Build Coastguard Worker <option name="config-descriptor:metadata" key="component" value="gts-root" /> 19*b7c941bbSAndroid Build Coastguard Worker <!-- Instant apps can never be device admin / profile owner / device owner so positive tests 20*b7c941bbSAndroid Build Coastguard Worker here are not applicable --> 21*b7c941bbSAndroid Build Coastguard Worker <option name="config-descriptor:metadata" key="parameter" value="not_instant_app" /> 22*b7c941bbSAndroid Build Coastguard Worker <option name="config-descriptor:metadata" key="parameter" value="multi_abi" /> 23*b7c941bbSAndroid Build Coastguard Worker <option name="config-descriptor:metadata" key="parameter" value="secondary_user" /> 24*b7c941bbSAndroid Build Coastguard Worker<!-- <option name="config-descriptor:metadata" key="parameter" value="multiuser" />--> 25*b7c941bbSAndroid Build Coastguard Worker <option name="config-descriptor:metadata" key="parameter" value="no_foldable_states" /> 26*b7c941bbSAndroid Build Coastguard Worker 27*b7c941bbSAndroid Build Coastguard Worker <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/> 28*b7c941bbSAndroid Build Coastguard Worker <target_preparer class="com.android.tradefed.targetprep.RunOnSystemUserTargetPreparer"/> 29*b7c941bbSAndroid Build Coastguard Worker <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> 30*b7c941bbSAndroid Build Coastguard Worker <option name="cleanup-apks" value="true" /> 31*b7c941bbSAndroid Build Coastguard Worker <option name="install-arg" value="-t" /> 32*b7c941bbSAndroid Build Coastguard Worker <option name="test-file-name" value="GtsRootDevicePolicyTestCases.apk" /> 33*b7c941bbSAndroid Build Coastguard Worker </target_preparer> 34*b7c941bbSAndroid Build Coastguard Worker <test class="com.android.tradefed.testtype.AndroidJUnitTest" > 35*b7c941bbSAndroid Build Coastguard Worker <option name="package" value="android.devicepolicy.cts" /> 36*b7c941bbSAndroid Build Coastguard Worker <option name="include-annotation" value="com.android.xts.root.annotations.RequireRootInstrumentation" /> 37*b7c941bbSAndroid Build Coastguard Worker <option name="include-filter" value="android.devicepolicy.cts.ApplicationHiddenTest" /> 38*b7c941bbSAndroid Build Coastguard Worker<!-- <option name="include-filter" value="android.devicepolicy.cts.DevicePolicyManagerTest" />--> 39*b7c941bbSAndroid Build Coastguard Worker<!-- <option name="exclude-annotation" value="com.android.bedstead.enterprise.annotations.RequireRunOnWorkProfile" />--> 40*b7c941bbSAndroid Build Coastguard Worker<!-- <option name="exclude-annotation" value="com.android.bedstead.multiuser.annotations.RequireRunOnSecondaryUser" />--> 41*b7c941bbSAndroid Build Coastguard Worker<!-- <option name="exclude-annotation" value="com.android.bedstead.multiuser.annotations.RequireRunOnCloneProfile" />--> 42*b7c941bbSAndroid Build Coastguard Worker<!-- <option name="exclude-annotation" value="com.android.bedstead.multiuser.annotations.RequireRunOnPrivateProfile" />--> 43*b7c941bbSAndroid Build Coastguard Worker<!-- <option name="exclude-annotation" value="com.android.interactive.annotations.Interactive" />--> 44*b7c941bbSAndroid Build Coastguard Worker <option name="hidden-api-checks" value="false" /> 45*b7c941bbSAndroid Build Coastguard Worker <!-- test-timeout unit is ms, value = 10 min --> 46*b7c941bbSAndroid Build Coastguard Worker <option name="test-timeout" value="600000" /> 47*b7c941bbSAndroid Build Coastguard Worker </test> 48*b7c941bbSAndroid Build Coastguard Worker</configuration> 49