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