1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4 * Copyright (C) 2019 The Android Open Source Project
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"
20          package="com.android.networkstack.inprocess"
21          android:sharedUserId="android.uid.system"
22          android:process="system"
23          coreApp="true">
24    <!--- Defines the MAINLINE_NETWORK_STACK permission used by the networkstack process. -->
25    <permission android:name="android.permission.MAINLINE_NETWORK_STACK"
26                android:protectionLevel="signature"/>
27    <application>
28        <service android:name="com.android.server.NetworkStackService"
29                 android:process="system"
30                 android:exported="true"
31                 android:permission="android.permission.MAINLINE_NETWORK_STACK">
32            <intent-filter>
33                <action android:name="android.net.INetworkStackConnector.InProcess"/>
34            </intent-filter>
35        </service>
36        <service android:name="com.android.networkstack.ipmemorystore.RegularMaintenanceJobService"
37                 android:process="system"
38                 android:permission="android.permission.BIND_JOB_SERVICE" >
39        </service>
40    </application>
41</manifest>
42