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 <!-- Failed to complete CtsShortcutHostTestCases if LocalTransport is not 30 installed for system user --> 31 <install-in-user-type package="com.android.localtransport"> 32 <install-in user-type="SYSTEM" /> 33 </install-in-user-type> 34 35 <!-- This package is required for system user to test cluster_home_service --> 36 <install-in-user-type package="com.android.car.cluster.home"> 37 <install-in user-type="SYSTEM" /> 38 </install-in-user-type> 39 40 <!-- RemoteProvisioner app does not have any UI and will only be run as 41 a background service --> 42 <install-in-user-type package="com.android.remoteprovisioner"> 43 <install-in user-type="SYSTEM" /> 44 </install-in-user-type> 45 46 <install-in-user-type package="android.car.cluster"> 47 <install-in user-type="SYSTEM" /> 48 </install-in-user-type> 49 50 <!-- These two packages should only support one proxy device-wide, and that 51 the proxy depends on the network, which are independent of users. --> 52 <install-in-user-type package="com.android.pacprocessor"> 53 <install-in user-type="SYSTEM"/> 54 </install-in-user-type> 55 <install-in-user-type package="com.android.proxyhandler"> 56 <install-in user-type="SYSTEM"/> 57 </install-in-user-type> 58<!-- 59 Apps that need to run on SYSTEM and evaluated by package owner. 60 Here the apps will have FULL and SYSTEM. 61--> 62 <install-in-user-type package="android"> 63 <install-in user-type="FULL" /> 64 <install-in user-type="SYSTEM" /> 65 </install-in-user-type> 66 <install-in-user-type package="com.android.car"> 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.shell"> 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.frameworkpackagestubs"> 75 <install-in user-type="FULL" /> 76 <install-in user-type="SYSTEM" /> 77 </install-in-user-type> 78 79 <!-- Needed for Projected on Embedded so it receives LOCKED_BOOT_COMPLETED immediately, 80 otherwise projection wouldn't launch on startup --> 81 <install-in-user-type package="android.car.usb.handler"> 82 <install-in user-type="FULL" /> 83 <install-in user-type="SYSTEM" /> 84 </install-in-user-type> 85 86 <!-- Need to upload collected bugreports even if full user was deleted or changed --> 87 <install-in-user-type package="com.android.car.bugreport"> 88 <install-in user-type="FULL" /> 89 <install-in user-type="SYSTEM" /> 90 </install-in-user-type> 91 92 <!-- Not sure, leave for security purpose --> 93 <install-in-user-type package="com.android.keychain"> 94 <install-in user-type="FULL" /> 95 <install-in user-type="SYSTEM" /> 96 </install-in-user-type> 97 98 <!-- Provides Settings. Secure for SYSTEM, which are used in places such as SUW --> 99 <install-in-user-type package="com.android.providers.settings"> 100 <install-in user-type="FULL" /> 101 <install-in user-type="SYSTEM" /> 102 </install-in-user-type> 103 104 <!-- 105 CompanionDeviceSupport app needs to run on SYSTEM for the Trusted Device feature to work. 106 It needs to run in the foreground user for other companion app features like calendar sync 107 and notifications bridging 108 --> 109 <install-in-user-type package="com.android.car.companiondevicesupport"> 110 <install-in user-type="FULL" /> 111 <install-in user-type="SYSTEM" /> 112 </install-in-user-type> 113 114 <!-- Not sure, leave for security purpose --> 115 <install-in-user-type package="com.android.se"> 116 <install-in user-type="FULL" /> 117 <install-in user-type="SYSTEM" /> 118 </install-in-user-type> 119 120 <!-- Needed by the Location service during system bootup --> 121 <install-in-user-type package="com.android.location.fused"> 122 <install-in user-type="FULL" /> 123 <install-in user-type="SYSTEM" /> 124 </install-in-user-type> 125 126 <!-- Resides on a device's /system partition to verify certain upgrade scenarios --> 127 <install-in-user-type package="com.android.cts.ctsshim"> 128 <install-in user-type="FULL" /> 129 <install-in user-type="SYSTEM" /> 130 </install-in-user-type> 131 132 <!-- Resides on a device's /system partition to verify certain upgrade scenarios --> 133 <install-in-user-type package="com.android.cts.priv.ctsshim"> 134 <install-in user-type="FULL" /> 135 <install-in user-type="SYSTEM" /> 136 </install-in-user-type> 137 138 <!-- Contains exported and single user service --> 139 <install-in-user-type package="com.android.ons"> 140 <install-in user-type="FULL" /> 141 <install-in user-type="SYSTEM" /> 142 </install-in-user-type> 143 144 <!-- Needs this packages during bootup, otherwise system won't boot --> 145 <install-in-user-type package="com.android.wifi.resources"> 146 <install-in user-type="FULL" /> 147 <install-in user-type="SYSTEM" /> 148 </install-in-user-type> 149 150 <!-- Required by StorageManagerService to bind to the ExternalStorageService --> 151 <install-in-user-type package="com.android.providers.media.module"> 152 <install-in user-type="FULL" /> 153 <install-in user-type="SYSTEM" /> 154 </install-in-user-type> 155 156 <!-- Required by StorageManagerService --> 157 <install-in-user-type package="com.android.externalstorage"> 158 <install-in user-type="FULL" /> 159 <install-in user-type="SYSTEM" /> 160 </install-in-user-type> 161 162 <!-- Needs to run on system user otherwise cannot find available device --> 163 <install-in-user-type package="com.android.bluetooth"> 164 <install-in user-type="FULL" /> 165 <install-in user-type="SYSTEM" /> 166 </install-in-user-type> 167 168 <!-- Required to create application com.android.phone.PhoneApp --> 169 <install-in-user-type package="com.android.telephony.resources"> 170 <install-in user-type="FULL" /> 171 <install-in user-type="SYSTEM" /> 172 </install-in-user-type> 173 174 <!-- Required to find provider info for telephony for com.android.phone.PhoneApp --> 175 <install-in-user-type package="com.android.providers.telephony"> 176 <install-in user-type="FULL" /> 177 <install-in user-type="SYSTEM" /> 178 </install-in-user-type> 179 180 <!-- Required to use adb --> 181 <install-in-user-type package="com.android.shell"> 182 <install-in user-type="FULL" /> 183 <install-in user-type="SYSTEM" /> 184 </install-in-user-type> 185 186 <!-- Required to get current location; check map --> 187 <install-in-user-type package="com.android.server.telecom"> 188 <install-in user-type="FULL" /> 189 <install-in user-type="SYSTEM" /> 190 </install-in-user-type> 191 192 <!-- Required for compatibility --> 193 <install-in-user-type package="com.android.statementservice"> 194 <install-in user-type="FULL" /> 195 <install-in user-type="SYSTEM" /> 196 </install-in-user-type> 197 198 <!-- Failed to find provider info for downloads error if not installed for system user --> 199 <install-in-user-type package="com.android.providers.downloads"> 200 <install-in user-type="FULL" /> 201 <install-in user-type="SYSTEM" /> 202 </install-in-user-type> 203 204 <!-- Failed to find provider info for calendar error if not installed for system user --> 205 <install-in-user-type package="com.android.providers.calendar"> 206 <install-in user-type="FULL" /> 207 <install-in user-type="SYSTEM" /> 208 </install-in-user-type> 209 210 <!-- Failed to pass CTS if not installed for system user --> 211 <install-in-user-type package="com.android.car.ui.sharedlibrary"> 212 <install-in user-type="FULL" /> 213 <install-in user-type="SYSTEM" /> 214 </install-in-user-type> 215 216 <!-- Needed for new developer options module (under settings package) --> 217 <install-in-user-type package="com.android.settings"> 218 <install-in user-type="FULL" /> 219 <install-in user-type="SYSTEM" /> 220 </install-in-user-type> 221 222<!-- 223 Apps that do need to run on SYSTEM and evaluated by package owner. 224 Here the apps will have FULL only. 225--> 226 <install-in-user-type package="com.android.htmlviewer"> 227 <install-in user-type="FULL" /> 228 </install-in-user-type> 229 <install-in-user-type package="com.android.inputdevices"> 230 <install-in user-type="FULL" /> 231 </install-in-user-type> 232 <install-in-user-type package="com.android.soundpicker"> 233 <install-in user-type="FULL" /> 234 </install-in-user-type> 235 <install-in-user-type package="com.android.captiveportallogin"> 236 <install-in user-type="FULL" /> 237 </install-in-user-type> 238 <install-in-user-type package="com.google.android.car.hideapps"> 239 <install-in user-type="FULL" /> 240 </install-in-user-type> 241 <install-in-user-type package="com.android.stk"> 242 <install-in user-type="FULL" /> 243 </install-in-user-type> 244 <install-in-user-type package="com.android.dreams.phototable"> 245 <install-in user-type="FULL" /> 246 </install-in-user-type> 247 <install-in-user-type package="com.android.carrierdefaultapp"> 248 <install-in user-type="FULL" /> 249 </install-in-user-type> 250 <install-in-user-type package="com.android.soundrecorder"> 251 <install-in user-type="FULL" /> 252 </install-in-user-type> 253 <install-in-user-type package="com.android.bips"> 254 <install-in user-type="FULL" /> 255 </install-in-user-type> 256 <install-in-user-type package="com.android.settings.intelligence"> 257 <install-in user-type="FULL" /> 258 </install-in-user-type> 259 <install-in-user-type package="com.android.egg"> 260 <install-in user-type="FULL" /> 261 </install-in-user-type> 262 <install-in-user-type package="com.android.simappdialog"> 263 <install-in user-type="FULL" /> 264 </install-in-user-type> 265 <install-in-user-type package="com.android.dreams.basic"> 266 <install-in user-type="FULL" /> 267 </install-in-user-type> 268 <install-in-user-type package="com.android.companiondevicemanager"> 269 <install-in user-type="FULL" /> 270 </install-in-user-type> 271 <install-in-user-type package="com.android.bluetoothmidiservice"> 272 <install-in user-type="FULL" /> 273 </install-in-user-type> 274 <install-in-user-type package="com.android.statementservice"> 275 <install-in user-type="FULL" /> 276 </install-in-user-type> 277 <install-in-user-type package="com.android.providers.blockednumber"> 278 <install-in user-type="FULL" /> 279 </install-in-user-type> 280 <install-in-user-type package="com.android.providers.contacts"> 281 <install-in user-type="FULL" /> 282 </install-in-user-type> 283 <install-in-user-type package="com.android.providers.downloads.ui"> 284 <install-in user-type="FULL" /> 285 </install-in-user-type> 286 <install-in-user-type package="com.android.providers.media"> 287 <install-in user-type="FULL" /> 288 </install-in-user-type> 289 <install-in-user-type package="com.android.providers.userdictionary"> 290 <install-in user-type="FULL" /> 291 </install-in-user-type> 292 <install-in-user-type package="com.android.voicetrigger"> 293 <install-in user-type="FULL" /> 294 </install-in-user-type> 295 <install-in-user-type package="com.android.car.calendar"> 296 <install-in user-type="FULL" /> 297 </install-in-user-type> 298 <install-in-user-type package="com.android.car.activityresolver"> 299 <install-in user-type="FULL" /> 300 </install-in-user-type> 301 <install-in-user-type package="com.android.cellbroadcastreceiver"> 302 <install-in user-type="FULL" /> 303 </install-in-user-type> 304 <install-in-user-type package="com.android.networkstack.permissionconfig"> 305 <install-in user-type="FULL" /> 306 </install-in-user-type> 307 <install-in-user-type package="com.android.storagemanager"> 308 <install-in user-type="FULL" /> 309 </install-in-user-type> 310 <install-in-user-type package="com.android.carrierconfig"> 311 <install-in user-type="FULL" /> 312 </install-in-user-type> 313 <install-in-user-type package="com.android.certinstaller"> 314 <install-in user-type="FULL" /> 315 </install-in-user-type> 316 <install-in-user-type package="com.android.vpndialogs"> 317 <install-in user-type="FULL" /> 318 </install-in-user-type> 319 <install-in-user-type package="com.android.hotspot2.osulogin"> 320 <install-in user-type="FULL" /> 321 </install-in-user-type> 322 <install-in-user-type package="com.android.permissioncontroller.car.rro"> 323 <install-in user-type="FULL" /> 324 </install-in-user-type> 325 <!-- Provides ability to configure network preferences. --> 326 <install-in-user-type package="com.google.android.car.networking.preferenceupdater"> 327 <install-in user-type="FULL" /> 328 </install-in-user-type> 329</config> 330