1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2015 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="Testing the app launch performance" > 17 18 <option 19 name="test-tag" 20 value="HermeticLaunchTest" /> 21 22 <target_preparer class="com.android.tradefed.targetprep.TestAppInstallSetup" > 23 <option 24 name="test-file-name" 25 value="PerformanceLaunch.apk" /> 26 <option 27 name="test-file-name" 28 value="PerformanceAppTest.apk" /> 29 </target_preparer> 30 <target_preparer class="com.android.tradefed.targetprep.InstallApkSetup" /> 31 32 <target_preparer class="com.android.tradefed.targetprep.CpuThrottlingWaiter" /> 33 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer" /> 34 35 <test class="com.android.performance.tests.HermeticLaunchTest" > 36 <option 37 name="package" 38 value="com.android.performanceapp.tests" /> 39 <option 40 name="target-package" 41 value="com.android.performanceLaunch" /> 42 <option 43 name="launch-count" 44 value="15" /> 45 <option 46 name="save-atrace" 47 value="true" /> 48 </test> 49 50</configuration> 51