1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 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<manifest xmlns:android="http://schemas.android.com/apk/res/android" 17 package="com.android.server.networkstack.tests"> 18 <uses-sdk android:minSdkVersion="29" android:targetSdkVersion="29" /> 19 20 <!-- DO NOT add privapp permissions here: they are inherited by 21 NetworkStackCoverageTests, which is not signed by the platform key, 22 and on Q rebooting the device would cause a bootloop because of 23 the missing priv-app whitelisting. --> 24 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 25 <uses-permission android:name="android.permission.BROADCAST_STICKY" /> 26 <uses-permission android:name="android.permission.WAKE_LOCK" /> 27 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> 28 <uses-permission android:name="android.permission.INTERNET" /> 29 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> 30 31 <application android:debuggable="true"> 32 <uses-library android:name="android.test.runner" /> 33 </application> 34 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 35 android:targetPackage="com.android.server.networkstack.tests" 36 android:label="Networking service tests"> 37 </instrumentation> 38</manifest> 39