1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2020 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License
16  -->
17<!-- System packages to preinstall, per user type.
18     Documentation at frameworks/base/data/etc/preinstalled-packages-platform.xml
19-->
20<config>
21<!--
22  Apps that need to run on SYSTEM.
23  Here the apps will have FULL and SYSTEM.
24-->
25    <install-in-user-type package="com.android.car.developeroptions">
26        <install-in user-type="FULL" />
27        <install-in user-type="SYSTEM" />
28    </install-in-user-type>
29    <install-in-user-type package="com.android.localtransport">
30        <install-in user-type="FULL" />
31        <install-in user-type="SYSTEM" />
32    </install-in-user-type>
33    <install-in-user-type package="com.android.phone">
34        <install-in user-type="FULL" />
35        <install-in user-type="SYSTEM" />
36    </install-in-user-type>
37    <install-in-user-type package="com.android.systemui">
38        <install-in user-type="FULL" />
39        <install-in user-type="SYSTEM" />
40    </install-in-user-type>
41    <install-in-user-type package="com.android.traceur">
42        <install-in user-type="FULL" />
43        <install-in user-type="SYSTEM" />
44    </install-in-user-type>
45    <!-- This application is needed in ModuleInfoProvider -->
46    <install-in-user-type package="com.android.modulemetadata">
47        <install-in user-type="FULL" />
48        <install-in user-type="SYSTEM" />
49    </install-in-user-type>
50    <!-- Required for SUW to assume app updates -->
51    <install-in-user-type package="com.android.car.systemupdater">
52        <install-in user-type="FULL" />
53        <install-in user-type="SYSTEM" />
54    </install-in-user-type>
55    <!-- Required in SettingHelperImpl to start settings with shell command.-->
56    <install-in-user-type package="com.android.car.settings">
57        <install-in user-type="FULL" />
58        <install-in user-type="SYSTEM" />
59    </install-in-user-type>
60    <!-- Required for Wifi -->
61    <install-in-user-type package="com.android.networkstack">
62        <install-in user-type="FULL" />
63        <install-in user-type="SYSTEM" />
64    </install-in-user-type>
65    <!-- Required for Tethering -->
66    <install-in-user-type package="com.android.networkstack.tethering">
67        <install-in user-type="FULL" />
68        <install-in user-type="SYSTEM" />
69    </install-in-user-type>
70    <install-in-user-type package="com.android.connectivity.resources">
71        <install-in user-type="FULL" />
72        <install-in user-type="SYSTEM" />
73    </install-in-user-type>
74    <!-- Required for Wifi -->
75    <install-in-user-type package="com.android.networkstack.inprocess">
76        <install-in user-type="FULL" />
77        <install-in user-type="SYSTEM" />
78    </install-in-user-type>
79    <!-- Required when sysui queries for system user apps to handle the home intent -->
80    <install-in-user-type package="com.android.car.carlauncher">
81        <install-in user-type="FULL" />
82        <install-in user-type="SYSTEM" />
83    </install-in-user-type>
84    <!-- Required when using Camera2 extensions -->
85    <install-in-user-type package="com.android.cameraextensions">
86        <install-in user-type="SYSTEM" />
87        <install-in user-type="FULL" />
88    </install-in-user-type>
89    <install-in-user-type package="com.android.apps.tag">
90        <install-in user-type="FULL" />
91        <install-in user-type="SYSTEM" />
92    </install-in-user-type>
93    <install-in-user-type package="com.android.imsserviceentitlement">
94        <install-in user-type="FULL" />
95        <install-in user-type="SYSTEM" />
96    </install-in-user-type>
97    <install-in-user-type package="com.android.cellbroadcastservice">
98        <install-in user-type="FULL" />
99        <install-in user-type="SYSTEM" />
100    </install-in-user-type>
101    <install-in-user-type package="com.android.cellbroadcastreceiver.module">
102        <install-in user-type="FULL" />
103        <install-in user-type="SYSTEM" />
104    </install-in-user-type>
105
106
107<!--
108  Apps that do need to run on SYSTEM and evaluated by package owner.
109  Here the apps will have FULL only.
110-->
111    <install-in-user-type package="com.android.car.goldilocks">
112        <install-in user-type="FULL" />
113    </install-in-user-type>
114    <install-in-user-type package="com.android.car.speedbump">
115        <install-in user-type="FULL" />
116    </install-in-user-type>
117    <install-in-user-type package="com.android.contacts">
118        <install-in user-type="FULL" />
119    </install-in-user-type>
120    <install-in-user-type package="com.android.dynsystem">
121        <install-in user-type="FULL" />
122    </install-in-user-type>
123    <install-in-user-type package="com.android.mms.service">
124        <install-in user-type="FULL" />
125    </install-in-user-type>
126    <install-in-user-type package="com.android.mtp">
127        <install-in user-type="FULL" />
128    </install-in-user-type>
129    <install-in-user-type package="com.android.nfc">
130        <install-in user-type="FULL" />
131    </install-in-user-type>
132    <install-in-user-type package="com.android.car.media">
133        <install-in user-type="FULL" />
134    </install-in-user-type>
135    <install-in-user-type package="com.android.car.radio">
136        <install-in user-type="FULL" />
137    </install-in-user-type>
138    <install-in-user-type package="com.android.car.media.localmediaplayer">
139        <install-in user-type="FULL" />
140    </install-in-user-type>
141    <install-in-user-type package="com.android.gallery3d">
142        <install-in user-type="FULL" />
143    </install-in-user-type>
144    <install-in-user-type package="com.android.car.themeplayground">
145        <install-in user-type="FULL" />
146    </install-in-user-type>
147    <install-in-user-type package="com.android.car.linkviewer">
148        <install-in user-type="FULL" />
149    </install-in-user-type>
150    <install-in-user-type package="com.android.car.multidisplay">
151        <install-in user-type="FULL" />
152    </install-in-user-type>
153      <install-in-user-type package="com.android.car.voicecontrol">
154        <install-in user-type="FULL" />
155    </install-in-user-type>
156    <install-in-user-type package="com.google.android.car.multidisplaytest">
157        <install-in user-type="FULL" />
158    </install-in-user-type>
159    <install-in-user-type package="com.android.car.retaildemo">
160        <install-in user-type="FULL" />
161    </install-in-user-type>
162    <install-in-user-type package="com.android.documentsui">
163        <install-in user-type="FULL" />
164    </install-in-user-type>
165    <install-in-user-type package="com.android.musicfx">
166        <install-in user-type="FULL" />
167    </install-in-user-type>
168    <install-in-user-type package="com.google.android.marvin.talkback">
169        <install-in user-type="FULL" />
170    </install-in-user-type>
171    <install-in-user-type package="com.android.google.gce.gceservice">
172        <install-in user-type="FULL" />
173    </install-in-user-type>
174    <install-in-user-type package="com.google.android.apps.geo.autograph.vms.client.systemstate">
175        <install-in user-type="FULL" />
176    </install-in-user-type>
177    <install-in-user-type package="com.android.smspush">
178        <install-in user-type="FULL" />
179    </install-in-user-type>
180    <install-in-user-type package="com.android.angle">
181        <install-in user-type="FULL" />
182    </install-in-user-type>
183</config>
184