OSDN Git Service

Merge "Disable sniff in link policy before a2dp streaming" into sc-v2-dev
[android-x86/system-bt.git] / AndroidTestTemplate.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2018 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 {MODULE}.">
17   <option name="test-suite-tag" value="apct" />
18   <option name="test-suite-tag" value="apct-native" />
19   <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" />
20   <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
21     <option name="cleanup" value="true" />
22     <option name="push" value="{MODULE}->/data/local/tmp/{MODULE}" />
23   </target_preparer>
24   <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
25     <option name="run-command" value="settings put global ble_scan_always_enabled 0" />
26     <option name="run-command" value="svc bluetooth disable" />
27   </target_preparer>
28   <target_preparer class="com.android.tradefed.targetprep.FolderSaver">
29     <option name="device-path" value="/data/vendor/ssrdump" />
30   </target_preparer>
31   <test class="com.android.tradefed.testtype.GTest" >
32     <option name="native-test-device-path" value="/data/local/tmp" />
33     <option name="module-name" value="{MODULE}" />
34     <option name="run-test-as" value="0" />
35   </test>
36 </configuration>