xref: /aosp_15_r20/external/aac/tests/AacDecBenchmark/AndroidTest.xml (revision e54365361535b070c2db7374cec45c159c7d0e7a)
1*e5436536SAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*e5436536SAndroid Build Coastguard Worker<!-- Copyright (C) 2024 The Android Open Source Project
3*e5436536SAndroid Build Coastguard Worker
4*e5436536SAndroid Build Coastguard Worker     Licensed under the Apache License, Version 2.0 (the "License");
5*e5436536SAndroid Build Coastguard Worker     you may not use this file except in compliance with the License.
6*e5436536SAndroid Build Coastguard Worker     You may obtain a copy of the License at
7*e5436536SAndroid Build Coastguard Worker
8*e5436536SAndroid Build Coastguard Worker          http://www.apache.org/licenses/LICENSE-2.0
9*e5436536SAndroid Build Coastguard Worker
10*e5436536SAndroid Build Coastguard Worker     Unless required by applicable law or agreed to in writing, software
11*e5436536SAndroid Build Coastguard Worker     distributed under the License is distributed on an "AS IS" BASIS,
12*e5436536SAndroid Build Coastguard Worker     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*e5436536SAndroid Build Coastguard Worker     See the License for the specific language governing permissions and
14*e5436536SAndroid Build Coastguard Worker     limitations under the License.
15*e5436536SAndroid Build Coastguard Worker-->
16*e5436536SAndroid Build Coastguard Worker<configuration description="Unit test configuration for AacDecBenchmark">
17*e5436536SAndroid Build Coastguard Worker    <option name="test-suite-tag" value="device-tests" />
18*e5436536SAndroid Build Coastguard Worker    <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
19*e5436536SAndroid Build Coastguard Worker        <option name="cleanup" value="true" />
20*e5436536SAndroid Build Coastguard Worker        <option name="push-file" key="AacDecBenchmark" value="/data/local/tmp/AacDecBenchmark" />
21*e5436536SAndroid Build Coastguard Worker    </target_preparer>
22*e5436536SAndroid Build Coastguard Worker    <target_preparer class="com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher">
23*e5436536SAndroid Build Coastguard Worker        <option name="target" value="host" />
24*e5436536SAndroid Build Coastguard Worker        <option name="config-filename" value="AacDecBenchmark" />
25*e5436536SAndroid Build Coastguard Worker        <option name="version" value="1.0"/>
26*e5436536SAndroid Build Coastguard Worker    </target_preparer>
27*e5436536SAndroid Build Coastguard Worker    <target_preparer class="com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher">
28*e5436536SAndroid Build Coastguard Worker        <option name="target" value="device" />
29*e5436536SAndroid Build Coastguard Worker        <option name="config-filename" value="AacDecBenchmark" />
30*e5436536SAndroid Build Coastguard Worker        <option name="version" value="1.0"/>
31*e5436536SAndroid Build Coastguard Worker    </target_preparer>
32*e5436536SAndroid Build Coastguard Worker    <target_preparer class="com.android.compatibility.common.tradefed.targetprep.MediaPreparer">
33*e5436536SAndroid Build Coastguard Worker        <option name="push-all" value="true" />
34*e5436536SAndroid Build Coastguard Worker        <option name="media-folder-name" value="AacDecBenchmark-1.0" />
35*e5436536SAndroid Build Coastguard Worker        <option name="dynamic-config-module" value="AacDecBenchmark" />
36*e5436536SAndroid Build Coastguard Worker    </target_preparer>
37*e5436536SAndroid Build Coastguard Worker    <test class="com.android.tradefed.testtype.GoogleBenchmarkTest" >
38*e5436536SAndroid Build Coastguard Worker        <option name="native-benchmark-device-path" value="/data/local/tmp" />
39*e5436536SAndroid Build Coastguard Worker        <option name="benchmark-module-name" value="AacDecBenchmark" />
40*e5436536SAndroid Build Coastguard Worker    </test>
41*e5436536SAndroid Build Coastguard Worker</configuration>
42