blob: bfd373544096c75c0e81562b920cc30c4d9fd2ce [file] [log] [blame]
Xiao Ma53ed1ac2019-06-03 15:48:39 +09001<?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">
Xiao Ma53ed1ac2019-06-03 15:48:39 +090019
20 <!-- Note: do not add any privileged or signature permissions that are granted
21 to the network stack app. Otherwise, the test APK will install, but when the device is
22 rebooted, it will bootloop with something like:
23
Chiachang Wang2c6b6682020-07-31 04:28:45 +000024 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}
Xiao Ma53ed1ac2019-06-03 15:48:39 +090025 -->
26
27 <application android:debuggable="true">
28 <uses-library android:name="android.test.runner" />
29 </application>
30 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
31 android:targetPackage="com.android.server.networkstack.integrationtests"
32 android:label="Networking stack integration tests">
33 </instrumentation>
34</manifest>