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.NETWORK_SETTINGS"/>
27    <uses-permission android:name="android.permission.INTERNET"/>
28
29    <application android:debuggable="true">
30        <uses-library android:name="android.test.runner" />
31    </application>
32    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
33        android:targetPackage="com.android.thread.tests.integration"
34        android:label="Thread integration tests">
35    </instrumentation>
36</manifest>
37