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.ACCESS_NETWORK_STATE"/> 20 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> 21 <!-- The test need CHANGE_NETWORK_STATE permission to use requestNetwork API to setup test 22 network. Since R shell application don't have such permission, grant permission to the test 23 here. TODO: Remove CHANGE_NETWORK_STATE permission here and use adopt shell perssion to 24 obtain CHANGE_NETWORK_STATE for testing once R device is no longer supported. --> 25 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/> 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.networkstack.tethering.tests.integration" 33 android:label="Tethering integration tests"> 34 </instrumentation> 35</manifest> 36