Lorenzo Colitti | 4896e32 | 2020-03-17 01:07:47 +0900 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2020 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 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 17 | package="com.android.networkstack.tethering.tests.integration"> |
| 18 | |
| 19 | <uses-permission android:name="android.permission.INTERNET"/> |
markchien | 2fbd3e7 | 2021-08-17 23:59:09 +0800 | [diff] [blame] | 20 | <!-- The test need CHANGE_NETWORK_STATE permission to use requestNetwork API to setup test |
| 21 | network. Since R shell application don't have such permission, grant permission to the test |
| 22 | here. TODO: Remove CHANGE_NETWORK_STATE permission here and use adopt shell perssion to |
| 23 | obtain CHANGE_NETWORK_STATE for testing once R device is no longer supported. --> |
| 24 | <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/> |
Lorenzo Colitti | 4896e32 | 2020-03-17 01:07:47 +0900 | [diff] [blame] | 25 | |
| 26 | <application android:debuggable="true"> |
| 27 | <uses-library android:name="android.test.runner" /> |
| 28 | </application> |
| 29 | <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" |
| 30 | android:targetPackage="com.android.networkstack.tethering.tests.integration" |
| 31 | android:label="Tethering integration tests"> |
| 32 | </instrumentation> |
| 33 | </manifest> |