1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2019 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 on all automotive devices, per user type.
18     OEMs must provide they own as well, listing their specific apps (like launcher, settings, etc...)
19     Documentation at frameworks/base/data/etc/preinstalled-packages-platform.xml
20-->
21<config>
22<!--
23  Here the apps will have SYSTEM only.
24-->
25    <install-in-user-type package="com.android.experimentalcar">
26        <install-in user-type="SYSTEM" />
27    </install-in-user-type>
28
29<!--
30  Apps that need to run on SYSTEM and evaluated by package owner.
31  Here the apps will have FULL and SYSTEM.
32-->
33    <install-in-user-type package="android">
34        <install-in user-type="FULL" />
35        <install-in user-type="SYSTEM" />
36    </install-in-user-type>
37    <install-in-user-type package="android.car.cluster">
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.car">
42        <install-in user-type="FULL" />
43        <install-in user-type="SYSTEM" />
44    </install-in-user-type>
45    <install-in-user-type package="com.android.car.frameworkpackagestubs">
46        <install-in user-type="FULL" />
47        <install-in user-type="SYSTEM" />
48    </install-in-user-type>
49
50    <!-- Needed for Projected on Embedded so it receives LOCKED_BOOT_COMPLETED immediately,
51      otherwise projection wouldn't launch on startup -->
52    <install-in-user-type package="android.car.usb.handler">
53        <install-in user-type="FULL" />
54        <install-in user-type="SYSTEM" />
55    </install-in-user-type>
56
57    <!-- Need to upload collected bugreports even if full user was deleted or changed -->
58    <install-in-user-type package="com.android.car.bugreport">
59        <install-in user-type="FULL" />
60        <install-in user-type="SYSTEM" />
61    </install-in-user-type>
62
63    <!-- Not sure, leave for security purpose -->
64    <install-in-user-type package="com.android.keychain">
65        <install-in user-type="FULL" />
66        <install-in user-type="SYSTEM" />
67    </install-in-user-type>
68
69    <!-- Provides Settings. Secure for SYSTEM, which are used in places such as SUW -->
70    <install-in-user-type package="com.android.providers.settings">
71        <install-in user-type="FULL" />
72        <install-in user-type="SYSTEM" />
73    </install-in-user-type>
74
75    <!--
76      CompanionDeviceSupport app needs to run on SYSTEM for the Trusted Device feature to work.
77      It needs to run in the foreground user for other companion app features like calendar sync
78      and notifications bridging
79    -->
80    <install-in-user-type package="com.android.car.companiondevicesupport">
81        <install-in user-type="FULL" />
82        <install-in user-type="SYSTEM" />
83    </install-in-user-type>
84
85    <!-- Not sure, leave for security purpose -->
86    <install-in-user-type package="com.android.se">
87        <install-in user-type="FULL" />
88        <install-in user-type="SYSTEM" />
89    </install-in-user-type>
90
91    <!-- Needed by the Location service during system bootup -->
92    <install-in-user-type package="com.android.location.fused">
93        <install-in user-type="FULL" />
94        <install-in user-type="SYSTEM" />
95    </install-in-user-type>
96
97    <!-- Resides on a device's /system partition to verify certain upgrade scenarios -->
98    <install-in-user-type package="com.android.cts.ctsshim">
99        <install-in user-type="FULL" />
100        <install-in user-type="SYSTEM" />
101    </install-in-user-type>
102
103    <!-- Resides on a device's /system partition to verify certain upgrade scenarios -->
104    <install-in-user-type package="com.android.cts.priv.ctsshim">
105        <install-in user-type="FULL" />
106        <install-in user-type="SYSTEM" />
107    </install-in-user-type>
108
109    <!-- Contains exported and single user service -->
110    <install-in-user-type package="com.android.ons">
111        <install-in user-type="FULL" />
112        <install-in user-type="SYSTEM" />
113    </install-in-user-type>
114
115    <!-- Needs this packages during bootup, otherwise system won't boot -->
116    <install-in-user-type package="com.android.wifi.resources">
117        <install-in user-type="FULL" />
118        <install-in user-type="SYSTEM" />
119    </install-in-user-type>
120
121    <!-- Required StorageManagerService to bind to the ExternalStorageService -->
122    <install-in-user-type package="com.android.providers.media.module">
123        <install-in user-type="FULL" />
124        <install-in user-type="SYSTEM" />
125    </install-in-user-type>
126
127    <!-- Needs to run on system user otherwise cannot find available device -->
128    <install-in-user-type package="com.android.bluetooth">
129        <install-in user-type="FULL" />
130        <install-in user-type="SYSTEM" />
131    </install-in-user-type>
132
133    <!-- Required to create application com.android.phone.PhoneApp -->
134    <install-in-user-type package="com.android.telephony.resources">
135        <install-in user-type="FULL" />
136        <install-in user-type="SYSTEM" />
137    </install-in-user-type>
138
139    <!-- Required to find provider info for telephony for com.android.phone.PhoneApp -->
140    <install-in-user-type package="com.android.providers.telephony">
141        <install-in user-type="FULL" />
142        <install-in user-type="SYSTEM" />
143    </install-in-user-type>
144
145    <!-- Required to use adb -->
146    <install-in-user-type package="com.android.shell">
147        <install-in user-type="FULL" />
148        <install-in user-type="SYSTEM" />
149    </install-in-user-type>
150
151    <!-- Required to get current location; check map -->
152    <install-in-user-type package="com.android.server.telecom">
153        <install-in user-type="FULL" />
154        <install-in user-type="SYSTEM" />
155    </install-in-user-type>
156
157    <!-- Required for compatibility -->
158    <install-in-user-type package="com.android.statementservice">
159        <install-in user-type="FULL" />
160        <install-in user-type="SYSTEM" />
161    </install-in-user-type>
162
163    <!-- Failed to find provider info for downloads error if not installed for system user -->
164    <install-in-user-type package="com.android.providers.downloads">
165        <install-in user-type="FULL" />
166        <install-in user-type="SYSTEM" />
167    </install-in-user-type>
168
169    <!-- Failed to find provider info for calendar error if not installed for system user -->
170    <install-in-user-type package="com.android.providers.calendar">
171        <install-in user-type="FULL" />
172        <install-in user-type="SYSTEM" />
173    </install-in-user-type>
174
175    <!-- Failed to pass CTS if not installed for system user -->
176    <install-in-user-type package="com.android.car.ui.sharedlibrary">
177        <install-in user-type="FULL" />
178        <install-in user-type="SYSTEM" />
179    </install-in-user-type>
180
181<!--
182  Apps that do need to run on SYSTEM and evaluated by package owner.
183  Here the apps will have FULL only.
184-->
185    <install-in-user-type package="com.android.htmlviewer">
186        <install-in user-type="FULL" />
187    </install-in-user-type>
188    <install-in-user-type package="com.android.inputdevices">
189        <install-in user-type="FULL" />
190    </install-in-user-type>
191    <install-in-user-type package="com.android.soundpicker">
192        <install-in user-type="FULL" />
193    </install-in-user-type>
194    <install-in-user-type package="com.android.captiveportallogin">
195        <install-in user-type="FULL" />
196    </install-in-user-type>
197    <install-in-user-type package="com.google.android.car.hideapps">
198        <install-in user-type="FULL" />
199    </install-in-user-type>
200    <install-in-user-type package="com.android.stk">
201        <install-in user-type="FULL" />
202    </install-in-user-type>
203    <install-in-user-type package="com.android.dreams.phototable">
204        <install-in user-type="FULL" />
205    </install-in-user-type>
206    <install-in-user-type package="com.android.carrierdefaultapp">
207        <install-in user-type="FULL" />
208    </install-in-user-type>
209    <install-in-user-type package="com.android.soundrecorder">
210        <install-in user-type="FULL" />
211    </install-in-user-type>
212    <install-in-user-type package="com.android.bips">
213        <install-in user-type="FULL" />
214    </install-in-user-type>
215    <install-in-user-type package="com.android.settings.intelligence">
216        <install-in user-type="FULL" />
217    </install-in-user-type>
218    <install-in-user-type package="com.android.egg">
219        <install-in user-type="FULL" />
220    </install-in-user-type>
221    <install-in-user-type package="com.android.simappdialog">
222        <install-in user-type="FULL" />
223    </install-in-user-type>
224    <install-in-user-type package="com.android.dreams.basic">
225        <install-in user-type="FULL" />
226    </install-in-user-type>
227    <install-in-user-type package="com.android.companiondevicemanager">
228        <install-in user-type="FULL" />
229    </install-in-user-type>
230    <install-in-user-type package="com.android.bluetoothmidiservice">
231        <install-in user-type="FULL" />
232    </install-in-user-type>
233    <install-in-user-type package="com.android.statementservice">
234        <install-in user-type="FULL" />
235    </install-in-user-type>
236    <install-in-user-type package="com.android.backupconfirm">
237        <install-in user-type="FULL" />
238    </install-in-user-type>
239   <install-in-user-type package="com.android.calllogbackup">
240        <install-in user-type="FULL" />
241    </install-in-user-type>
242    <install-in-user-type package="com.android.providers.blockednumber">
243        <install-in user-type="FULL" />
244    </install-in-user-type>
245    <install-in-user-type package="com.android.providers.contacts">
246        <install-in user-type="FULL" />
247    </install-in-user-type>
248    <install-in-user-type package="com.android.providers.downloads.ui">
249        <install-in user-type="FULL" />
250    </install-in-user-type>
251    <install-in-user-type package="com.android.providers.media">
252        <install-in user-type="FULL" />
253    </install-in-user-type>
254    <install-in-user-type package="com.android.providers.userdictionary">
255        <install-in user-type="FULL" />
256    </install-in-user-type>
257    <install-in-user-type package="com.android.voicetrigger">
258        <install-in user-type="FULL" />
259    </install-in-user-type>
260    <install-in-user-type package="com.android.internal.display.cutout.emulation.hole">
261        <install-in user-type="FULL" />
262    </install-in-user-type>
263    <install-in-user-type package="com.android.internal.display.cutout.emulation.waterfall">
264        <install-in user-type="FULL" />
265    </install-in-user-type>
266    <install-in-user-type package="android.auto_generated_rro_product__">
267        <install-in user-type="FULL" />
268    </install-in-user-type>
269    <install-in-user-type package="android.auto_generated_rro_vendor__">
270        <install-in user-type="FULL" />
271    </install-in-user-type>
272    <install-in-user-type package="com.android.car.calendar">
273        <install-in user-type="FULL" />
274    </install-in-user-type>
275    <install-in-user-type package="com.android.wifi.inprocess.overlay.car">
276        <install-in user-type="FULL" />
277    </install-in-user-type>
278    <install-in-user-type package="com.android.cellbroadcastreceiver">
279        <install-in user-type="FULL" />
280    </install-in-user-type>
281    <install-in-user-type package="com.android.networkstack.permissionconfig">
282        <install-in user-type="FULL" />
283    </install-in-user-type>
284    <install-in-user-type package="com.android.storagemanager">
285        <install-in user-type="FULL" />
286    </install-in-user-type>
287    <install-in-user-type package="com.android.carrierconfig">
288        <install-in user-type="FULL" />
289    </install-in-user-type>
290    <install-in-user-type package="com.android.certinstaller">
291        <install-in user-type="FULL" />
292    </install-in-user-type>
293    <install-in-user-type package="com.android.pacprocessor">
294        <install-in user-type="FULL" />
295    </install-in-user-type>
296    <install-in-user-type package="com.android.proxyhandler">
297        <install-in user-type="FULL" />
298    </install-in-user-type>
299    <install-in-user-type package="com.android.vpndialogs">
300        <install-in user-type="FULL" />
301    </install-in-user-type>
302    <install-in-user-type package="com.android.sharedstoragebackup">
303        <install-in user-type="FULL" />
304    </install-in-user-type>
305    <install-in-user-type package="com.android.externalstorage">
306        <install-in user-type="FULL" />
307    </install-in-user-type>
308    <install-in-user-type package="com.android.hotspot2.osulogin">
309        <install-in user-type="FULL" />
310    </install-in-user-type>
311</config>
312