| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- Copyright (C) 2021 The Android Open Source Project | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software | |
| distributed under the License is distributed on an "AS IS" BASIS, | |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| See the License for the specific language governing permissions and | |
| limitations under the License. | |
| --> | |
| <configuration description="Host driven tests for Microdroid"> | |
| <option name="config-descriptor:metadata" key="component" value="security" /> | |
| <option name="config-descriptor:metadata" key="parameter" value="not_instant_app" /> | |
| <option name="config-descriptor:metadata" key="parameter" value="not_multi_abi" /> | |
| <option name="config-descriptor:metadata" key="parameter" value="secondary_user" /> | |
| <!-- Skip tests if DUT does not have the AVF feature --> | |
| <object type="module_controller" | |
| class="com.android.tradefed.testtype.suite.module.DeviceFeatureModuleController"> | |
| <option name="required-feature" value="android.software.virtualization_framework" /> | |
| </object> | |
| <!-- Controller that will skip the module if a native bridge situation is detected --> | |
| <!-- For example: module wants to run arm and device is x86 --> | |
| <object type="module_controller" class="com.android.tradefed.testtype.suite.module.NativeBridgeModuleController" /> | |
| <object type="module_controller" class="com.android.microdroid.test.preparer.TestInstallAbiModuleController"> | |
| <option name="test-apk-name" value="MicrodroidTestHelperApp.apk" /> | |
| </object> | |
| <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"> | |
| <!-- Permission checks are bypassed if shell is root --> | |
| <option name="force-root" value="false"/> | |
| </target_preparer> | |
| <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> | |
| <option name="cleanup-apks" value="true" /> | |
| <option name="test-file-name" value="MicrodroidTestHelperApp.apk" /> | |
| </target_preparer> | |
| <test class="com.android.compatibility.common.tradefed.testtype.JarHostTest" > | |
| <option name="jar" value="{MODULE}.jar" /> | |
| </test> | |
| {EXTRA_CONFIGS} | |
| </configuration> |