blob: bfcd6c1baba37ced807f59cc8bea65516419606b [file] [log] [blame]
Remi NGUYEN VANc094a542018-12-07 16:52:24 +09001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
Remi NGUYEN VAN8acc99a2019-03-08 17:20:49 +09004 * Copyright (C) 2019 The Android Open Source Project
Remi NGUYEN VANc094a542018-12-07 16:52:24 +09005 *
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 Hamiltonad2a9472019-03-29 13:41:27 -040020 package="com.android.networkstack"
21 android:sharedUserId="android.uid.networkstack"
Akshay38efbb62019-04-26 17:04:37 -070022 android:versionCode="220000000"
Jeff Hamiltonad2a9472019-03-29 13:41:27 -040023 android:versionName="29 system image"
24>
25
Remi NGUYEN VANae1ef492019-03-20 17:29:10 +090026 <uses-sdk android:minSdkVersion="28" android:targetSdkVersion="28" />
Remi NGUYEN VANd4cbba82019-03-29 15:33:07 +090027
Remi NGUYEN VANe799f842019-04-01 10:56:05 +090028 <!-- 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 VANd4cbba82019-03-29 15:33:07 +090032 <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 Wange027ed62019-04-01 09:56:05 +080041 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
Remi NGUYEN VANd8c75a02019-01-30 21:45:56 +090042 <!-- Signature permission defined in NetworkStackStub -->
43 <uses-permission android:name="android.permission.MAINLINE_NETWORK_STACK" />
Richard Uhler103dbe32019-05-13 16:05:51 +010044 <application android:extractNativeLibs="false">
Remi NGUYEN VANc094a542018-12-07 16:52:24 +090045 <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 VANae1ef492019-03-20 17:29:10 +090051</manifest>