blob: 0fb342cb48bc6ec7892167041c5f4ecd3cf61081 [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"
Remi NGUYEN VANb36247f2019-02-08 15:26:06 +090020 package="com.android.networkstack"
Remi NGUYEN VAN0a4df5a2019-03-08 17:20:49 +090021 android:sharedUserId="android.uid.networkstack">
Remi NGUYEN VANd1c539e2019-03-20 17:29:10 +090022 <uses-sdk android:minSdkVersion="28" android:targetSdkVersion="28" />
Remi NGUYEN VAN5520e472019-03-29 14:56:34 +090023
Remi NGUYEN VAN6fb83552019-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 VAN5520e472019-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" />
37
Remi NGUYEN VANd65832e2019-01-30 21:45:56 +090038 <!-- Signature permission defined in NetworkStackStub -->
39 <uses-permission android:name="android.permission.MAINLINE_NETWORK_STACK" />
Remi NGUYEN VAN0a4df5a2019-03-08 17:20:49 +090040 <application>
Remi NGUYEN VANded23152018-12-07 16:52:24 +090041 <service android:name="com.android.server.NetworkStackService">
42 <intent-filter>
43 <action android:name="android.net.INetworkStackConnector"/>
44 </intent-filter>
45 </service>
46 </application>
Remi NGUYEN VANd1c539e2019-03-20 17:29:10 +090047</manifest>