blob: 6a11b2cd081ae390e242275a969bf01281f964de [file] [log] [blame]
Remi NGUYEN VANded23152018-12-07 16:52:24 +09001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
Remi NGUYEN VAN0a4df5a2019-03-08 17:20:49 +09004 * Copyright (C) 2019 The Android Open Source Project
Remi NGUYEN VANded23152018-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 Hamiltonff88ac22019-03-29 13:41:27 -040020 package="com.android.networkstack"
21 android:sharedUserId="android.uid.networkstack"
Remi NGUYEN VAN71489ae2021-06-08 12:18:15 +090022 android:versionCode="319999900"
23 android:versionName="s_aml_319999900"
Jeff Hamiltonff88ac22019-03-29 13:41:27 -040024>
Remi NGUYEN VAN6fb83552019-04-01 10:56:05 +090025 <!-- Permissions must be defined here, and not in the base manifest, as the network stack
26 running in the system server process does not need any permission, and having privileged
27 permissions added would cause crashes on startup unless they are also added to the
Hongguang Chenebb78392020-07-28 15:34:05 -070028 privileged permissions allowlist for that package. -->
Remi NGUYEN VAN08e96902019-03-29 15:33:07 +090029 <uses-permission android:name="android.permission.INTERNET" />
lucaslin9b4dfab2019-12-17 23:06:12 +080030 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
Remi NGUYEN VAN08e96902019-03-29 15:33:07 +090031 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
32 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
33 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
34 <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
35 <!-- Send latency broadcast as current user -->
36 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
37 <uses-permission android:name="android.permission.WAKE_LOCK" />
38 <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
Chiachang Wang8dea27b2019-04-01 09:56:05 +080039 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
Remi NGUYEN VANd65832e2019-01-30 21:45:56 +090040 <!-- Signature permission defined in NetworkStackStub -->
41 <uses-permission android:name="android.permission.MAINLINE_NETWORK_STACK" />
Remi NGUYEN VAN860ea3c2019-05-16 18:02:11 +090042 <application
43 android:extractNativeLibs="false"
Remi NGUYEN VAN8402c202019-10-03 17:27:18 +090044 android:persistent="true"
45 android:process="com.android.networkstack.process">
Remi NGUYEN VANf3088e92019-08-21 18:18:01 +090046 <service android:name="com.android.server.NetworkStackService"
Ashwini Oruganti2b0d8042020-05-19 18:21:58 -070047 android:exported="true"
Remi NGUYEN VANf3088e92019-08-21 18:18:01 +090048 android:permission="android.permission.MAINLINE_NETWORK_STACK">
Remi NGUYEN VANded23152018-12-07 16:52:24 +090049 <intent-filter>
50 <action android:name="android.net.INetworkStackConnector"/>
51 </intent-filter>
52 </service>
Remi NGUYEN VAN9e6aeea2020-07-06 09:29:06 +090053 <!-- Test instrumentation service, only usable on debuggable builds.
54 The service is protected by NETWORK_SETTINGS permissions as there is no better
55 networking-related permission that exists on Q, is sufficiently protected (signature),
56 and can be obtained via shell permissions. -->
57 <service android:name="com.android.server.TestNetworkStackService"
58 android:permission="android.permission.NETWORK_SETTINGS"
59 android:exported="true">
60 <intent-filter>
61 <action android:name="android.net.INetworkStackConnector.Test"/>
62 </intent-filter>
63 </service>
Paul Huac95b9f2019-05-24 18:28:23 -070064 <service android:name="com.android.server.connectivity.ipmemorystore.RegularMaintenanceJobService"
65 android:permission="android.permission.BIND_JOB_SERVICE" >
66 </service>
Remi NGUYEN VANded23152018-12-07 16:52:24 +090067 </application>
Remi NGUYEN VANd1c539e2019-03-20 17:29:10 +090068</manifest>