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, 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.phone">
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.systemui">
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.car.settings">
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    <install-in-user-type package="com.android.localtransport">
46        <install-in user-type="FULL" />
47        <install-in user-type="SYSTEM" />
48    </install-in-user-type>
49
50    <!-- This application is needed in ModuleInfoProvider -->
51    <install-in-user-type package="com.android.modulemetadata">
52        <install-in user-type="FULL" />
53        <install-in user-type="SYSTEM" />
54    </install-in-user-type>
55
56    <!-- Required for SUW to assume app updates -->
57    <install-in-user-type package="com.android.car.systemupdater">
58        <install-in user-type="FULL" />
59        <install-in user-type="SYSTEM" />
60    </install-in-user-type>
61
62    <!-- Required for Wifi -->
63    <install-in-user-type package="com.android.networkstack">
64        <install-in user-type="FULL" />
65        <install-in user-type="SYSTEM" />
66    </install-in-user-type>
67    <!-- Required for Tethering -->
68    <install-in-user-type package="com.android.networkstack.tethering">
69        <install-in user-type="FULL" />
70        <install-in user-type="SYSTEM" />
71    </install-in-user-type>
72    <install-in-user-type package="com.android.connectivity.resources">
73        <install-in user-type="FULL" />
74        <install-in user-type="SYSTEM" />
75    </install-in-user-type>
76
77    <!-- Required when sysui queries for system user apps to handle the home intent -->
78    <install-in-user-type package="com.android.car.carlauncher">
79        <install-in user-type="FULL" />
80        <install-in user-type="SYSTEM" />
81    </install-in-user-type>
82
83    <!-- Required for RearViewCamera -->
84    <install-in-user-type package="com.google.android.car.rvc">
85        <install-in user-type="FULL" />
86        <install-in user-type="SYSTEM" />
87    </install-in-user-type>
88
89    <install-in-user-type package="com.android.emulator.multidisplay">
90        <install-in user-type="SYSTEM" />
91    </install-in-user-type>
92<!--
93  Apps that do need to run on SYSTEM and evaluated by package owner.
94  Here the apps will have FULL only.
95-->
96    <install-in-user-type package="com.android.car.goldilocks">
97        <install-in user-type="FULL" />
98    </install-in-user-type>
99    <install-in-user-type package="com.android.car.speedbump">
100        <install-in user-type="FULL" />
101    </install-in-user-type>
102    <install-in-user-type package="com.android.contacts">
103        <install-in user-type="FULL" />
104    </install-in-user-type>
105    <install-in-user-type package="com.android.dynsystem">
106        <install-in user-type="FULL" />
107    </install-in-user-type>
108    <install-in-user-type package="com.android.mms.service">
109        <install-in user-type="FULL" />
110    </install-in-user-type>
111    <install-in-user-type package="com.android.mtp">
112        <install-in user-type="FULL" />
113    </install-in-user-type>
114    <install-in-user-type package="com.android.nfc">
115        <install-in user-type="FULL" />
116    </install-in-user-type>
117    <install-in-user-type package="com.android.car.media">
118        <install-in user-type="FULL" />
119    </install-in-user-type>
120    <install-in-user-type package="com.android.car.radio">
121        <install-in user-type="FULL" />
122    </install-in-user-type>
123    <install-in-user-type package="com.android.car.media.localmediaplayer">
124        <install-in user-type="FULL" />
125    </install-in-user-type>
126    <install-in-user-type package="com.android.gallery3d">
127        <install-in user-type="FULL" />
128    </install-in-user-type>
129    <install-in-user-type package="com.android.car.themeplayground">
130        <install-in user-type="FULL" />
131    </install-in-user-type>
132    <install-in-user-type package="com.android.car.linkviewer">
133        <install-in user-type="FULL" />
134    </install-in-user-type>
135    <install-in-user-type package="com.android.car.retaildemo">
136        <install-in user-type="FULL" />
137    </install-in-user-type>
138    <install-in-user-type package="com.android.car.rotary">
139        <install-in user-type="FULL" />
140    </install-in-user-type>
141    <install-in-user-type package="com.android.car.rotaryime">
142        <install-in user-type="FULL" />
143    </install-in-user-type>
144    <install-in-user-type package="com.android.car.rotaryplayground">
145        <install-in user-type="FULL" />
146    </install-in-user-type>
147    <install-in-user-type package="com.android.car.voicecontrol">
148        <install-in user-type="FULL" />
149    </install-in-user-type>
150    <install-in-user-type package="com.android.documentsui">
151        <install-in user-type="FULL" />
152    </install-in-user-type>
153    <install-in-user-type package="com.android.musicfx">
154        <install-in user-type="FULL" />
155    </install-in-user-type>
156    <install-in-user-type package="com.android.timezone.updater">
157        <install-in user-type="FULL" />
158    </install-in-user-type>
159    <install-in-user-type package="com.android.sdksetup">
160        <install-in user-type="FULL" />
161    </install-in-user-type>
162    <install-in-user-type package="com.android.cellbroadcastservice">
163        <install-in user-type="FULL" />
164    </install-in-user-type>
165    <install-in-user-type package="com.android.service.ims">
166        <install-in user-type="FULL" />
167    </install-in-user-type>
168    <install-in-user-type package="com.android.safetyregulatoryinfo">
169        <install-in user-type="FULL" />
170    </install-in-user-type>
171    <install-in-user-type package="com.android.providers.partnerbookmarks">
172        <install-in user-type="FULL" />
173    </install-in-user-type>
174    <install-in-user-type package="com.android.service.ims.presence">
175        <install-in user-type="FULL" />
176    </install-in-user-type>
177    <install-in-user-type package="com.android.apps.tag">
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    <install-in-user-type package="com.android.emulator.radio.config">
184        <install-in user-type="FULL" />
185    </install-in-user-type>
186
187<!--
188  Apps installed on multi-display emulator
189  TODO: move to a MD-only XML file under vendor/auto/embedded/products
190-->
191    <!-- defaultToDeviceProtectedStorage -->
192    <install-in-user-type package="com.android.cellbroadcastreceiver.module">
193        <install-in user-type="FULL" />
194        <install-in user-type="SYSTEM" />
195    </install-in-user-type>
196    <install-in-user-type package="com.android.car.multidisplay">
197        <install-in user-type="FULL" />
198    </install-in-user-type>
199    <install-in-user-type package="com.google.android.car.multidisplaytest">
200        <install-in user-type="FULL" />
201    </install-in-user-type>
202    <install-in-user-type package="com.example.android.multiclientinputmethod">
203        <install-in user-type="FULL" />
204    </install-in-user-type>
205</config>
206