blob: bb838a2bc0625348d822e1ab5afaa51120081363 [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"
Remi NGUYEN VAN8c0d9462019-02-08 15:26:06 +090020 package="com.android.networkstack"
Remi NGUYEN VAN8acc99a2019-03-08 17:20:49 +090021 android:sharedUserId="android.uid.networkstack">
Remi NGUYEN VANae1ef492019-03-20 17:29:10 +090022 <uses-sdk android:minSdkVersion="28" android:targetSdkVersion="28" />
Remi NGUYEN VAN2a23dfd2019-03-29 14:56:34 +090023
Remi NGUYEN VANe799f842019-04-01 10:56:05 +090024 <!-- Permissions must be defined here, and not in the base manifest, as the network stack
25 running in the system server process does not need any permission, and having privileged
26 permissions added would cause crashes on startup unless they are also added to the
27 privileged permissions whitelist for that package. -->
Remi NGUYEN VAN2a23dfd2019-03-29 14:56:34 +090028 <uses-permission android:name="android.permission.INTERNET" />
29 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
30 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
31 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
32 <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
33 <!-- Send latency broadcast as current user -->
34 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
35 <uses-permission android:name="android.permission.WAKE_LOCK" />
36 <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
Chiachang Wange027ed62019-04-01 09:56:05 +080037 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
Remi NGUYEN VANd8c75a02019-01-30 21:45:56 +090038 <!-- Signature permission defined in NetworkStackStub -->
39 <uses-permission android:name="android.permission.MAINLINE_NETWORK_STACK" />
Remi NGUYEN VAN38e261c2019-05-16 18:02:11 +090040 <application
41 android:extractNativeLibs="false"
42 android:persistent="true">
Remi NGUYEN VANc094a542018-12-07 16:52:24 +090043 <service android:name="com.android.server.NetworkStackService">
44 <intent-filter>
45 <action android:name="android.net.INetworkStackConnector"/>
46 </intent-filter>
47 </service>
paulhuc8773112019-05-21 13:57:02 +080048 <service android:name="com.android.server.connectivity.ipmemorystore.RegularMaintenanceJobService"
49 android:permission="android.permission.BIND_JOB_SERVICE" >
50 </service>
Remi NGUYEN VANc094a542018-12-07 16:52:24 +090051 </application>
Remi NGUYEN VANae1ef492019-03-20 17:29:10 +090052</manifest>