1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 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.integrationtests"
18          android:sharedUserId="android.uid.networkstack">
19    <uses-sdk android:minSdkVersion="29" android:targetSdkVersion="29" />
20
21    <!-- Note: do not add any privileged or signature permissions that are granted
22         to the network stack app. Otherwise, the test APK will install, but when the device is
23         rebooted, it will bootloop with something like:
24
25         05-14 00:41:02.723 18330 18330 E AndroidRuntime: java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.android.server.networkstack.integrationtests: android.permission.CONNECTIVITY_INTERNAL}
26    -->
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.server.networkstack.integrationtests"
33        android:label="Networking stack integration tests">
34    </instrumentation>
35</manifest>
36