1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright 2022 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="Runs net_test_stack_a2dp_codecs_native."> 17 <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" /> 18 <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher"> 19 <option name="cleanup" value="true" /> 20 <option name="push" value="net_test_stack_a2dp_codecs_native32->/data/local/tmp/net_test_stack_a2dp_codecs_native" /> 21 </target_preparer> 22 <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher"> 23 <option name="cleanup" value="true" /> 24 <option name="push" value="pcm0844s.wav->/data/local/tmp/test/a2dp/raw_data/pcm0844s.wav" /> 25 <option name="push" value="pcm1644s.wav->/data/local/tmp/test/a2dp/raw_data/pcm1644s.wav" /> 26 </target_preparer> 27 <test class="com.android.tradefed.testtype.GTest" > 28 <option name="native-test-device-path" value="/data/local/tmp" /> 29 <option name="module-name" value="net_test_stack_a2dp_codecs_native" /> 30 <option name="run-test-as" value="0" /> 31 </test> 32 33 <!-- Only run tests in MTS if the Bluetooth Mainline module is installed. --> 34 <object type="module_controller" 35 class="com.android.tradefed.testtype.suite.module.MainlineTestModuleController"> 36 <option name="mainline-module-package-name" value="com.android.btservices" /> 37 <option name="mainline-module-package-name" value="com.google.android.btservices" /> 38 </object> 39</configuration> 40