Remi NGUYEN VAN | c094a54 | 2018-12-07 16:52:24 +0900 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
Remi NGUYEN VAN | 8acc99a | 2019-03-08 17:20:49 +0900 | [diff] [blame] | 4 | * Copyright (C) 2019 The Android Open Source Project |
Remi NGUYEN VAN | c094a54 | 2018-12-07 16:52:24 +0900 | [diff] [blame] | 5 | * |
| 6 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | * you may not use this file except in compliance with the License. |
| 8 | * You may obtain a copy of the License at |
| 9 | * |
| 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | * |
| 12 | * Unless required by applicable law or agreed to in writing, software |
| 13 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | * See the License for the specific language governing permissions and |
| 16 | * limitations under the License. |
| 17 | */ |
| 18 | --> |
| 19 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Jeff Hamilton | ad2a947 | 2019-03-29 13:41:27 -0400 | [diff] [blame] | 20 | package="com.android.networkstack" |
| 21 | android:sharedUserId="android.uid.networkstack" |
Akshay | 38efbb6 | 2019-04-26 17:04:37 -0700 | [diff] [blame] | 22 | android:versionCode="220000000" |
Jeff Hamilton | ad2a947 | 2019-03-29 13:41:27 -0400 | [diff] [blame] | 23 | android:versionName="29 system image" |
| 24 | > |
| 25 | |
Remi NGUYEN VAN | ae1ef49 | 2019-03-20 17:29:10 +0900 | [diff] [blame] | 26 | <uses-sdk android:minSdkVersion="28" android:targetSdkVersion="28" /> |
Remi NGUYEN VAN | d4cbba8 | 2019-03-29 15:33:07 +0900 | [diff] [blame] | 27 | |
Remi NGUYEN VAN | e799f84 | 2019-04-01 10:56:05 +0900 | [diff] [blame] | 28 | <!-- Permissions must be defined here, and not in the base manifest, as the network stack |
| 29 | running in the system server process does not need any permission, and having privileged |
| 30 | permissions added would cause crashes on startup unless they are also added to the |
| 31 | privileged permissions whitelist for that package. --> |
Remi NGUYEN VAN | d4cbba8 | 2019-03-29 15:33:07 +0900 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.INTERNET" /> |
| 33 | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| 34 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 35 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| 36 | <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" /> |
| 37 | <!-- Send latency broadcast as current user --> |
| 38 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> |
| 39 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 40 | <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" /> |
Chiachang Wang | e027ed6 | 2019-04-01 09:56:05 +0800 | [diff] [blame] | 41 | <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" /> |
Remi NGUYEN VAN | d8c75a0 | 2019-01-30 21:45:56 +0900 | [diff] [blame] | 42 | <!-- Signature permission defined in NetworkStackStub --> |
| 43 | <uses-permission android:name="android.permission.MAINLINE_NETWORK_STACK" /> |
Richard Uhler | 103dbe3 | 2019-05-13 16:05:51 +0100 | [diff] [blame] | 44 | <application android:extractNativeLibs="false"> |
Remi NGUYEN VAN | c094a54 | 2018-12-07 16:52:24 +0900 | [diff] [blame] | 45 | <service android:name="com.android.server.NetworkStackService"> |
| 46 | <intent-filter> |
| 47 | <action android:name="android.net.INetworkStackConnector"/> |
| 48 | </intent-filter> |
| 49 | </service> |
| 50 | </application> |
Remi NGUYEN VAN | ae1ef49 | 2019-03-20 17:29:10 +0900 | [diff] [blame] | 51 | </manifest> |