1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2020 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17 18<configuration description="Test module config for PackageManagerServiceHostTests"> 19 <option name="test-tag" value="PackageManagerServiceHostTests" /> 20 21 <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/> 22 23 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> 24 <option name="run-command" 25 value="pm uninstall com.android.cts.install.lib.testapp.A" /> 26 <option name="teardown-command" 27 value="pm uninstall com.android.cts.install.lib.testapp.A" /> 28 </target_preparer> 29 30 <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> 31 <option name="cleanup-apks" value="true" /> 32 <option name="install-arg" value="-t" /> 33 <option name="install-arg" value="-g" /> 34 <option name="test-file-name" value="PackageManagerServiceServerTests.apk" /> 35 </target_preparer> 36 37 <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher"> 38 <!-- The build system produces both 32 and 64 bit variants with bitness suffix. Let 39 FilePusher find the filename with bitness and push to a remote name without bitness. 40 --> 41 <option name="append-bitness" value="true" /> 42 <option name="cleanup" value="true" /> 43 <option name="push" value="block_device_writer->/data/local/tmp/block_device_writer" /> 44 <option name="push" value="fsverity_multilib->/data/local/tmp/fsverity_multilib" /> 45 </target_preparer> 46 47 <test class="com.android.tradefed.testtype.HostTest"> 48 <option name="jar" value="PackageManagerServiceHostTests.jar" /> 49 </test> 50</configuration> 51