Jack He | 37b717c | 2018-08-28 18:28:55 -0700 | [diff] [blame] | 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 | <test class="com.android.tradefed.testtype.GTest" > |
| 29 | <option name="native-test-device-path" value="/data/local/tmp" /> |
| 30 | <option name="module-name" value="{MODULE}" /> |
| 31 | <option name="run-test-as" value="0" /> |
| 32 | </test> |
| 33 | </configuration> |