Handa Wang | 806f5a1 | 2023-12-04 12:53:39 +0800 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2023 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.thread.tests.integration"> |
| 18 | |
| 19 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> |
| 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 permission 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"/> |
| 25 | <uses-permission android:name="android.permission.THREAD_NETWORK_PRIVILEGED"/> |
| 26 | <uses-permission android:name="android.permission.INTERNET"/> |
| 27 | |
| 28 | <application android:debuggable="true"> |
| 29 | <uses-library android:name="android.test.runner" /> |
| 30 | </application> |
| 31 | <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" |
| 32 | android:targetPackage="com.android.thread.tests.integration" |
| 33 | android:label="Thread integration tests"> |
| 34 | </instrumentation> |
| 35 | </manifest> |