1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright 2015 Google Inc. All Rights Reserved --> 3<configuration description="Runs a Camera App startup test on device"> 4 <target_preparer class="com.android.tradefed.targetprep.TestAppInstallSetup" /> 5 <target_preparer class="com.android.tradefed.targetprep.InstallApkSetup" /> 6 <target_preparer class="com.android.tradefed.targetprep.TimeWaster" /> 7 <target_preparer class="com.android.tradefed.targetprep.TemperatureThrottlingWaiter" /> 8 9 <!--Push executable binaries --> 10 <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer"> 11 <option name="push" value="/google/data/ro/teams/tradefed/testdata/camera/hup/cpu_heavyuser->/data/local/tmp/cpu_heavyuser" /> 12 </target_preparer> 13 14 <!--Push pre run shell script --> 15 <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer"> 16 <option name="push" value="/google/data/ro/teams/tradefed/testdata/camera/hup/prerun.sh->/data/local/tmp/prerun.sh" /> 17 <option name="post-push" value="chmod 555 /data/local/tmp/prerun.sh" /> 18 </target_preparer> 19 20 <!--Start eating agents--> 21 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> 22 <option name="run-command" value="sh /data/local/tmp/prerun.sh" /> 23 </target_preparer> 24 25 <test class="com.android.media.tests.CameraStartupTest"> 26 27 </test> 28</configuration> 29