1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2024 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 17<configuration description="Runs VtsHalThreadNetworkTargetTest."> 18 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> 19 <option name="run-command" value="if pm list features |grep 'android.hardware.thread_network'; then cmd thread_network force-stop-ot-daemon enabled; fi" /> 20 <option name="run-command" value="cmd bluetooth_manager enable" /> 21 <option name="teardown-command" value="if pm list features |grep 'android.hardware.thread_network'; then cmd thread_network force-stop-ot-daemon disabled; fi" /> 22 </target_preparer> 23 <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer"> 24 <option name="cleanup" value="true" /> 25 <option name="push" value="VtsHalThreadNetworkTargetTest->/data/local/tmp/VtsHalThreadNetworkTargetTest" /> 26 </target_preparer> 27 28 <test class="com.android.tradefed.testtype.GTest" > 29 <option name="native-test-device-path" value="/data/local/tmp" /> 30 <option name="module-name" value="VtsHalThreadNetworkTargetTest" /> 31 </test> 32</configuration> 33