• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <install-in-user-type package="com.android.car.scriptexecutor">
30        <install-in user-type="SYSTEM"/>
31    </install-in-user-type>
32
33    <!-- This package is required for system user to test cluster_home_service -->
34    <install-in-user-type package="com.android.car.cluster.home">
35        <install-in user-type="SYSTEM" />
36    </install-in-user-type>
37
38    <!-- RemoteProvisioner app does not have any UI and will only be run as
39    a background service -->
40    <install-in-user-type package="com.android.remoteprovisioner">
41        <install-in user-type="SYSTEM" />
42    </install-in-user-type>
43
44    <install-in-user-type package="android.car.cluster">
45        <install-in user-type="SYSTEM" />
46    </install-in-user-type>
47
48    <!-- These two packages should only support one proxy device-wide, and that
49    the proxy depends on the network, which are independent of users. -->
50    <install-in-user-type package="com.android.pacprocessor">
51        <install-in user-type="SYSTEM"/>
52    </install-in-user-type>
53    <install-in-user-type package="com.android.proxyhandler">
54        <install-in user-type="SYSTEM"/>
55    </install-in-user-type>
56<!--
57  Apps that need to run on SYSTEM and evaluated by package owner.
58  Here the apps will have FULL and SYSTEM.
59-->
60    <install-in-user-type package="android">
61        <install-in user-type="FULL" />
62        <install-in user-type="SYSTEM" />
63    </install-in-user-type>
64    <!-- Failed to complete CtsShortcutHostTestCases if LocalTransport is not
65    installed for system user  -->
66    <install-in-user-type package="com.android.localtransport">
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.car">
71        <install-in user-type="FULL" />
72        <install-in user-type="SYSTEM" />
73    </install-in-user-type>
74    <install-in-user-type package="com.android.car.updatable">
75        <install-in user-type="FULL" />
76        <install-in user-type="SYSTEM" />
77    </install-in-user-type>
78    <install-in-user-type package="com.android.car.module">
79        <install-in user-type="FULL" />
80        <install-in user-type="SYSTEM" />
81    </install-in-user-type>
82        <install-in-user-type package="com.android.car.shell">
83        <install-in user-type="FULL" />
84        <install-in user-type="SYSTEM" />
85    </install-in-user-type>
86    <install-in-user-type package="com.android.car.frameworkpackagestubs">
87        <install-in user-type="FULL" />
88        <install-in user-type="SYSTEM" />
89    </install-in-user-type>
90
91    <!-- Needed for Projected on Embedded so it receives LOCKED_BOOT_COMPLETED immediately,
92      otherwise projection wouldn't launch on startup -->
93    <install-in-user-type package="android.car.usb.handler">
94        <install-in user-type="FULL" />
95        <install-in user-type="SYSTEM" />
96    </install-in-user-type>
97
98    <!-- Need to upload collected bugreports even if full user was deleted or changed -->
99    <install-in-user-type package="com.android.car.bugreport">
100        <install-in user-type="FULL" />
101        <install-in user-type="SYSTEM" />
102    </install-in-user-type>
103
104    <!-- Not sure, leave for security purpose -->
105    <install-in-user-type package="com.android.keychain">
106        <install-in user-type="FULL" />
107        <install-in user-type="SYSTEM" />
108    </install-in-user-type>
109
110    <!-- Provides Settings. Secure for SYSTEM, which are used in places such as SUW -->
111    <install-in-user-type package="com.android.providers.settings">
112        <install-in user-type="FULL" />
113        <install-in user-type="SYSTEM" />
114    </install-in-user-type>
115
116    <!--
117      CompanionDeviceSupport app needs to run on SYSTEM for the Trusted Device feature to work.
118      It needs to run in the foreground user for other companion app features like calendar sync
119      and notifications bridging
120    -->
121    <install-in-user-type package="com.android.car.companiondevicesupport">
122        <install-in user-type="FULL" />
123        <install-in user-type="SYSTEM" />
124    </install-in-user-type>
125
126    <!-- Not sure, leave for security purpose -->
127    <install-in-user-type package="com.android.se">
128        <install-in user-type="FULL" />
129        <install-in user-type="SYSTEM" />
130    </install-in-user-type>
131
132    <!-- Needed by the Location service during system bootup -->
133    <install-in-user-type package="com.android.location.fused">
134        <install-in user-type="FULL" />
135        <install-in user-type="SYSTEM" />
136    </install-in-user-type>
137
138    <!-- Resides on a device's /system partition to verify certain upgrade scenarios -->
139    <install-in-user-type package="com.android.cts.ctsshim">
140        <install-in user-type="FULL" />
141        <install-in user-type="SYSTEM" />
142    </install-in-user-type>
143
144    <!-- Resides on a device's /system partition to verify certain upgrade scenarios -->
145    <install-in-user-type package="com.android.cts.priv.ctsshim">
146        <install-in user-type="FULL" />
147        <install-in user-type="SYSTEM" />
148    </install-in-user-type>
149
150    <!-- Contains exported and single user service -->
151    <install-in-user-type package="com.android.ons">
152        <install-in user-type="FULL" />
153        <install-in user-type="SYSTEM" />
154    </install-in-user-type>
155
156    <!-- Needs this packages during bootup, otherwise system won't boot -->
157    <install-in-user-type package="com.android.wifi.resources">
158        <install-in user-type="FULL" />
159        <install-in user-type="SYSTEM" />
160    </install-in-user-type>
161
162    <!-- Required by StorageManagerService to bind to the ExternalStorageService -->
163    <install-in-user-type package="com.android.providers.media.module">
164        <install-in user-type="FULL" />
165        <install-in user-type="SYSTEM" />
166    </install-in-user-type>
167
168    <!-- Required by StorageManagerService  -->
169    <install-in-user-type package="com.android.externalstorage">
170        <install-in user-type="FULL" />
171        <install-in user-type="SYSTEM" />
172    </install-in-user-type>
173
174    <!-- Needs to run on system user otherwise cannot find available device -->
175    <install-in-user-type package="com.android.bluetooth">
176        <install-in user-type="FULL" />
177        <install-in user-type="SYSTEM" />
178    </install-in-user-type>
179
180    <!-- Required to create application com.android.phone.PhoneApp -->
181    <install-in-user-type package="com.android.telephony.resources">
182        <install-in user-type="FULL" />
183        <install-in user-type="SYSTEM" />
184    </install-in-user-type>
185
186    <!-- Required to find provider info for telephony for com.android.phone.PhoneApp -->
187    <install-in-user-type package="com.android.providers.telephony">
188        <install-in user-type="FULL" />
189        <install-in user-type="SYSTEM" />
190    </install-in-user-type>
191
192    <!-- Required to use adb -->
193    <install-in-user-type package="com.android.shell">
194        <install-in user-type="FULL" />
195        <install-in user-type="SYSTEM" />
196    </install-in-user-type>
197
198    <!-- Required to get current location; check map -->
199    <install-in-user-type package="com.android.server.telecom">
200        <install-in user-type="FULL" />
201        <install-in user-type="SYSTEM" />
202    </install-in-user-type>
203
204    <!-- Required for compatibility -->
205    <install-in-user-type package="com.android.statementservice">
206        <install-in user-type="FULL" />
207        <install-in user-type="SYSTEM" />
208    </install-in-user-type>
209
210    <!-- Failed to find provider info for downloads error if not installed for system user -->
211    <install-in-user-type package="com.android.providers.downloads">
212        <install-in user-type="FULL" />
213        <install-in user-type="SYSTEM" />
214    </install-in-user-type>
215
216    <!-- Failed to find provider info for calendar error if not installed for system user -->
217    <install-in-user-type package="com.android.providers.calendar">
218        <install-in user-type="FULL" />
219        <install-in user-type="SYSTEM" />
220    </install-in-user-type>
221
222    <!-- Failed to pass CTS if not installed for system user -->
223    <install-in-user-type package="com.android.car.ui.sharedlibrary">
224        <install-in user-type="FULL" />
225        <install-in user-type="SYSTEM" />
226    </install-in-user-type>
227
228    <!-- Needed for new developer options module (under settings package) -->
229    <install-in-user-type package="com.android.settings">
230        <install-in user-type="FULL" />
231        <install-in user-type="SYSTEM" />
232    </install-in-user-type>
233
234    <!-- Required to initialize the Safety Center service -->
235    <install-in-user-type package="com.android.safetycenter.resources">
236        <install-in user-type="FULL" />
237        <install-in user-type="SYSTEM" />
238    </install-in-user-type>
239
240    <!-- CarService updatable resources -->
241    <install-in-user-type package="com.android.car.resources.vendor">
242        <install-in user-type="FULL" />
243        <install-in user-type="SYSTEM" />
244    </install-in-user-type>
245
246<!--
247  Apps that do need to run on SYSTEM and evaluated by package owner.
248  Here the apps will have FULL only.
249-->
250    <install-in-user-type package="com.android.htmlviewer">
251        <install-in user-type="FULL" />
252    </install-in-user-type>
253    <install-in-user-type package="com.android.inputdevices">
254        <install-in user-type="FULL" />
255    </install-in-user-type>
256    <!-- IntentResolver only consists of Activity and requires user interaction -->
257    <install-in-user-type package="com.android.intentresolver">
258        <install-in user-type="FULL" />
259    </install-in-user-type>
260    <install-in-user-type package="com.android.soundpicker">
261        <install-in user-type="FULL" />
262    </install-in-user-type>
263    <install-in-user-type package="com.android.captiveportallogin">
264        <install-in user-type="FULL" />
265    </install-in-user-type>
266    <install-in-user-type package="com.google.android.car.hideapps">
267        <install-in user-type="FULL" />
268    </install-in-user-type>
269    <install-in-user-type package="com.android.stk">
270        <install-in user-type="FULL" />
271    </install-in-user-type>
272    <install-in-user-type package="com.android.dreams.phototable">
273        <install-in user-type="FULL" />
274    </install-in-user-type>
275    <install-in-user-type package="com.android.carrierdefaultapp">
276        <install-in user-type="FULL" />
277    </install-in-user-type>
278    <install-in-user-type package="com.android.soundrecorder">
279        <install-in user-type="FULL" />
280    </install-in-user-type>
281    <install-in-user-type package="com.android.bips">
282        <install-in user-type="FULL" />
283    </install-in-user-type>
284    <install-in-user-type package="com.android.settings.intelligence">
285        <install-in user-type="FULL" />
286    </install-in-user-type>
287    <install-in-user-type package="com.android.egg">
288        <install-in user-type="FULL" />
289    </install-in-user-type>
290    <install-in-user-type package="com.android.simappdialog">
291        <install-in user-type="FULL" />
292    </install-in-user-type>
293    <install-in-user-type package="com.android.dreams.basic">
294        <install-in user-type="FULL" />
295    </install-in-user-type>
296    <install-in-user-type package="com.android.companiondevicemanager">
297        <install-in user-type="FULL" />
298    </install-in-user-type>
299    <install-in-user-type package="com.android.bluetoothmidiservice">
300        <install-in user-type="FULL" />
301    </install-in-user-type>
302    <!-- ManagedProvisioning app is used for provisioning the device. It
303         requires UX for the provisioning flow. -->
304    <install-in-user-type package="com.android.managedprovisioning">
305        <install-in user-type="FULL" />
306    </install-in-user-type>
307    <install-in-user-type package="com.android.statementservice">
308        <install-in user-type="FULL" />
309    </install-in-user-type>
310    <install-in-user-type package="com.android.providers.blockednumber">
311        <install-in user-type="FULL" />
312    </install-in-user-type>
313    <install-in-user-type package="com.android.providers.contacts">
314        <install-in user-type="FULL" />
315    </install-in-user-type>
316    <install-in-user-type package="com.android.providers.downloads.ui">
317        <install-in user-type="FULL" />
318    </install-in-user-type>
319    <install-in-user-type package="com.android.providers.media">
320        <install-in user-type="FULL" />
321    </install-in-user-type>
322    <install-in-user-type package="com.android.providers.userdictionary">
323        <install-in user-type="FULL" />
324    </install-in-user-type>
325    <install-in-user-type package="com.android.voicetrigger">
326        <install-in user-type="FULL" />
327    </install-in-user-type>
328    <install-in-user-type package="com.android.car.calendar">
329        <install-in user-type="FULL" />
330    </install-in-user-type>
331    <install-in-user-type package="com.android.car.activityresolver">
332        <install-in user-type="FULL" />
333    </install-in-user-type>
334    <install-in-user-type package="com.android.cellbroadcastreceiver">
335        <install-in user-type="FULL" />
336    </install-in-user-type>
337    <install-in-user-type package="com.android.storagemanager">
338        <install-in user-type="FULL" />
339    </install-in-user-type>
340    <install-in-user-type package="com.android.carrierconfig">
341        <install-in user-type="FULL" />
342    </install-in-user-type>
343    <install-in-user-type package="com.android.certinstaller">
344        <install-in user-type="FULL" />
345    </install-in-user-type>
346    <install-in-user-type package="com.android.vpndialogs">
347        <install-in user-type="FULL" />
348    </install-in-user-type>
349    <install-in-user-type package="com.android.hotspot2.osulogin">
350        <install-in user-type="FULL" />
351    </install-in-user-type>
352    <install-in-user-type package="com.android.wifi.dialog">
353        <install-in user-type="FULL" />
354    </install-in-user-type>
355    <install-in-user-type package="com.android.permissioncontroller.car.rro">
356        <install-in user-type="FULL" />
357        <install-in user-type="PROFILE" />
358    </install-in-user-type>
359    <install-in-user-type package="com.android.uwb.resources">
360        <install-in user-type="FULL" />
361        <install-in user-type="SYSTEM" />
362    </install-in-user-type>
363    <!-- Provides ability to configure network preferences. -->
364    <install-in-user-type package="com.google.android.car.networking.preferenceupdater">
365        <install-in user-type="FULL" />
366    </install-in-user-type>
367    <!-- Provides a reference for configuring internal networks. -->
368    <install-in-user-type package="com.google.android.car.networking.railway">
369        <install-in user-type="FULL" />
370    </install-in-user-type>
371    <install-in-user-type package="com.android.supplemental.process">
372        <install-in user-type="FULL" />
373    </install-in-user-type>
374    <install-in-user-type package="com.android.nearby.halfsheet">
375        <install-in user-type="FULL" />
376    </install-in-user-type>
377    <install-in-user-type package="com.android.ondevicepersonalization.services">
378        <install-in user-type="FULL" />
379    </install-in-user-type>
380    <install-in-user-type package="com.android.sdksandbox">
381        <install-in user-type="FULL" />
382        <install-in user-type="SYSTEM" />
383    </install-in-user-type>
384    <!-- Mainline module -->
385    <install-in-user-type package="com.android.adservices.api">
386        <install-in user-type="FULL" />
387    </install-in-user-type>
388    <!-- Remove camera apps when ENABLE_CAMERA_SERVICE is false. -->
389    <install-in-user-type package="com.android.car.hidecameraapps">
390        <install-in user-type="FULL" />
391    </install-in-user-type>
392    <!-- Android Camera2 package is included when ENABLE_CAMERA_SERVICE is true -->
393    <install-in-user-type package="com.android.camera2">
394        <install-in user-type="FULL" />
395    </install-in-user-type>
396    <!-- Required by RotaryService -->
397    <install-in-user-type package="com.android.car.rotaryime">
398        <install-in user-type="FULL" />
399    </install-in-user-type>
400    <install-in-user-type package="com.android.car.rotaryplayground">
401        <install-in user-type="FULL" />
402    </install-in-user-type>
403    <install-in-user-type package="com.android.permissioncontroller">
404        <install-in user-type="FULL" />
405        <install-in user-type="SYSTEM" />
406        <install-in user-type="PROFILE" />
407    </install-in-user-type>
408</config>
409