blob: e2db410dbd1debe9de661173a4cff977cb34b647 [file] [log] [blame]
keunyoungca515072015-07-10 12:21:47 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
19 package="com.android.car"
20 coreApp="true"
21 android:sharedUserId="android.uid.system">
22
23 <original-package android:name="com.android.car" />
Vasco Britod253c1e2019-04-23 18:10:11 -070024
25 <!-- Used for runtime permissions related to monitoring vehicle information. -->
26 <permission-group
Kai4959eee2018-04-24 00:34:02 -070027 android:name="android.car.permission-group.CAR_MONITORING"
Brad Stenningee3d0752018-12-12 18:05:54 -080028 android:icon="@drawable/perm_group_car"
Kai4959eee2018-04-24 00:34:02 -070029 android:description="@string/car_permission_desc"
30 android:label="@string/car_permission_label" />
Vasco Britod253c1e2019-04-23 18:10:11 -070031
32 <!-- Allows an application to read the vehicle energy information.
33 <p>Protection level: dangerous
34 -->
Steve Paik875616c2016-02-05 10:55:59 -080035 <permission
Kai68ee16b2018-03-22 11:57:37 -070036 android:name="android.car.permission.CAR_ENERGY"
Kai4959eee2018-04-24 00:34:02 -070037 android:permissionGroup="android.car.permission-group.CAR_MONITORING"
keunyoungcc449f72015-08-12 10:46:27 -070038 android:protectionLevel="dangerous"
Kai68ee16b2018-03-22 11:57:37 -070039 android:label="@string/car_permission_label_energy"
40 android:description="@string/car_permission_desc_energy" />
Vasco Britod253c1e2019-04-23 18:10:11 -070041
42 <!-- Allows an application to read the VIN information.
43 <p>Protection level: signature|privileged
44 -->
keunyoungcc449f72015-08-12 10:46:27 -070045 <permission
Kai68ee16b2018-03-22 11:57:37 -070046 android:name="android.car.permission.CAR_IDENTIFICATION"
Vasco Britod253c1e2019-04-23 18:10:11 -070047 android:protectionLevel="signature|privileged"
Kai68ee16b2018-03-22 11:57:37 -070048 android:label="@string/car_permission_label_car_identification"
49 android:description="@string/car_permission_desc_car_identification" />
Vasco Britod253c1e2019-04-23 18:10:11 -070050
51 <!-- Allows an application to control the vehicle HVAC.
52 <p>Protection level: signature|privileged
53 -->
Kai68ee16b2018-03-22 11:57:37 -070054 <permission
55 android:name="android.car.permission.CONTROL_CAR_CLIMATE"
Vasco Britod253c1e2019-04-23 18:10:11 -070056 android:protectionLevel="signature|privileged"
Steve Paik66481982015-10-27 15:22:38 -070057 android:label="@string/car_permission_label_hvac"
58 android:description="@string/car_permission_desc_hvac" />
Vasco Britod253c1e2019-04-23 18:10:11 -070059
60 <!-- Allows an application to control the vehicle doors.
61 <p>Protection level: signature|privileged
62 -->
Steve Paik66481982015-10-27 15:22:38 -070063 <permission
Kai68ee16b2018-03-22 11:57:37 -070064 android:name="android.car.permission.CONTROL_CAR_DOORS"
Vasco Britod253c1e2019-04-23 18:10:11 -070065 android:protectionLevel="signature|privileged"
Kai68ee16b2018-03-22 11:57:37 -070066 android:label="@string/car_permission_label_control_car_doors"
67 android:description="@string/car_permission_desc_control_car_doors" />
Vasco Britod253c1e2019-04-23 18:10:11 -070068
69 <!-- Allows an application to control the vehicle windows.
70 <p>Protection level: signature|privileged
71 -->
Kai68ee16b2018-03-22 11:57:37 -070072 <permission
73 android:name="android.car.permission.CONTROL_CAR_WINDOWS"
Vasco Britod253c1e2019-04-23 18:10:11 -070074 android:protectionLevel="signature|privileged"
Kai68ee16b2018-03-22 11:57:37 -070075 android:label="@string/car_permission_label_control_car_windows"
76 android:description="@string/car_permission_desc_control_car_windows" />
Vasco Britod253c1e2019-04-23 18:10:11 -070077
78 <!-- Allows an application to control the vehicle mirrors.
79 <p>Protection level: signature|privileged
80 -->
Kai68ee16b2018-03-22 11:57:37 -070081 <permission
82 android:name="android.car.permission.CONTROL_CAR_MIRRORS"
Vasco Britod253c1e2019-04-23 18:10:11 -070083 android:protectionLevel="signature|privileged"
Kai68ee16b2018-03-22 11:57:37 -070084 android:label="@string/car_permission_label_control_car_mirrors"
85 android:description="@string/car_permission_desc_control_car_mirrors" />
Vasco Britod253c1e2019-04-23 18:10:11 -070086
87 <!-- Allows an application to control the vehicle seats.
88 <p>Protection level: signature|privileged
89 -->
Kai68ee16b2018-03-22 11:57:37 -070090 <permission
91 android:name="android.car.permission.CONTROL_CAR_SEATS"
Vasco Britod253c1e2019-04-23 18:10:11 -070092 android:protectionLevel="signature|privileged"
Kai68ee16b2018-03-22 11:57:37 -070093 android:label="@string/car_permission_label_control_car_seats"
94 android:description="@string/car_permission_desc_control_car_seats" />
Vasco Britod253c1e2019-04-23 18:10:11 -070095
96 <!-- Allows an application to read the vehicle mileage information.
97 <p>Protection level: signature|privileged
98 -->
Kai68ee16b2018-03-22 11:57:37 -070099 <permission
Keun-young Parke54ac272016-02-16 19:02:18 -0800100 android:name="android.car.permission.CAR_MILEAGE"
Vasco Britod253c1e2019-04-23 18:10:11 -0700101 android:protectionLevel="signature|privileged"
keunyoungcc449f72015-08-12 10:46:27 -0700102 android:label="@string/car_permission_label_mileage"
103 android:description="@string/car_permission_desc_mileage" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700104
105 <!-- Allows an application to read the vehicle tire pressure information.
106 <p>Protection level: signature|privileged
107 -->
keunyoungcc449f72015-08-12 10:46:27 -0700108 <permission
Kai68ee16b2018-03-22 11:57:37 -0700109 android:name="android.car.permission.CAR_TIRES"
Vasco Britod253c1e2019-04-23 18:10:11 -0700110 android:protectionLevel="signature|privileged"
Kai68ee16b2018-03-22 11:57:37 -0700111 android:label="@string/car_permission_label_car_tires"
112 android:description="@string/car_permission_desc_car_tires" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700113
114 <!-- Allows an application to read the vehicle steering angle information.
115 <p>Protection level: signature|privileged
116 -->
Kai68ee16b2018-03-22 11:57:37 -0700117 <permission
Kai6ee9ca22019-01-08 12:06:36 -0800118 android:name="android.car.permission.READ_CAR_STEERING"
Vasco Britod253c1e2019-04-23 18:10:11 -0700119 android:protectionLevel="signature|privileged"
Kai6ee9ca22019-01-08 12:06:36 -0800120 android:label="@string/car_permission_label_car_steering"
121 android:description="@string/car_permission_desc_car_steering" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700122
123 <!-- Allows an application to read the display units for distance, fuel, tire pressure,
124 EV battery and fuel consumption.
125 <p>Protection level: normal
126 -->
Kai6ee9ca22019-01-08 12:06:36 -0800127 <permission
128 android:name="android.car.permission.READ_CAR_DISPLAY_UNITS"
129 android:protectionLevel="normal"
130 android:label="@string/car_permission_label_read_car_display_units"
131 android:description="@string/car_permission_desc_read_car_display_units" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700132
133 <!-- Allows an application to control the display units for distance, fuel, tire pressure,
134 EV battery and fuel consumption.
135 <p>Protection level: normal
136 -->
Kai6ee9ca22019-01-08 12:06:36 -0800137 <permission
138 android:name="android.car.permission.CONTROL_CAR_DISPLAY_UNITS"
139 android:protectionLevel="normal"
140 android:label="@string/car_permission_label_control_car_display_units"
141 android:description="@string/car_permission_desc_control_car_display_units" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700142
143 <!-- Allows an application to read the vehicle speed.
144 <p>Protection level: dangerous
145 -->
Kai6ee9ca22019-01-08 12:06:36 -0800146 <permission
Keun-young Parke54ac272016-02-16 19:02:18 -0800147 android:name="android.car.permission.CAR_SPEED"
keunyoungcc449f72015-08-12 10:46:27 -0700148 android:permissionGroup="android.permission-group.LOCATION"
149 android:protectionLevel="dangerous"
150 android:label="@string/car_permission_label_speed"
151 android:description="@string/car_permission_desc_speed" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700152
153 <!-- Allows an application to read the vehicle fuel and charge port status.
154 <p>Protection level: normal
155 -->
keunyoungcc449f72015-08-12 10:46:27 -0700156 <permission
Kai68ee16b2018-03-22 11:57:37 -0700157 android:name="android.car.permission.CAR_ENERGY_PORTS"
158 android:protectionLevel="normal"
159 android:label="@string/car_permission_label_car_energy_ports"
160 android:description="@string/car_permission_desc_car_energy_ports" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700161
162 <!-- Allows an application to read the vehicle engine information. For example, it allows an
163 application to read the engine oil level, oil temperature, coolant temperature and RPM.
164 <p>Protection level: signature|privileged
165 -->
Kai68ee16b2018-03-22 11:57:37 -0700166 <permission
Kai25c0b852018-03-01 11:52:31 -0800167 android:name="android.car.permission.CAR_ENGINE_DETAILED"
Vasco Britod253c1e2019-04-23 18:10:11 -0700168 android:protectionLevel="signature|privileged"
Kai25c0b852018-03-01 11:52:31 -0800169 android:label="@string/car_permission_label_car_engine_detailed"
170 android:description="@string/car_permission_desc_car_engine_detailed" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700171
172 <!-- Allows an application to read the vehicle dynamic state information. For example, it
173 allows an application to read the ABS and traction control status.
174 <p>Protection level: signature|privileged
175 -->
Kai25c0b852018-03-01 11:52:31 -0800176 <permission
Kai68ee16b2018-03-22 11:57:37 -0700177 android:name="android.car.permission.CAR_DYNAMICS_STATE"
Vasco Britod253c1e2019-04-23 18:10:11 -0700178 android:protectionLevel="signature|privileged"
Steve Paik289ab992017-07-11 22:40:57 -0700179 android:label="@string/car_permission_label_vehicle_dynamics_state"
180 android:description="@string/car_permission_desc_vehicle_dynamics_state" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700181
182 <!-- Allows an application to access the vehicle vendor channel to exchange vendor-specific information.
183 <p>Protection level: signature|privileged
184 -->
Steve Paik289ab992017-07-11 22:40:57 -0700185 <permission
Keun-young Parke54ac272016-02-16 19:02:18 -0800186 android:name="android.car.permission.CAR_VENDOR_EXTENSION"
Vasco Britod253c1e2019-04-23 18:10:11 -0700187 android:protectionLevel="signature|privileged"
keunyoungcc449f72015-08-12 10:46:27 -0700188 android:label="@string/car_permission_label_vendor_extension"
189 android:description="@string/car_permission_desc_vendor_extension" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700190
191 <!-- Allows an application to project an interface from a phone to the vehicle display.
192 <p>Protection level: signature|privileged
193 -->
Sanket Agarwal3cf096a2015-10-13 14:46:31 -0700194 <permission
Vitalii Tomkiv6e5ee612016-03-09 14:57:32 -0800195 android:name="android.car.permission.CAR_PROJECTION"
Vasco Britod253c1e2019-04-23 18:10:11 -0700196 android:protectionLevel="signature|privileged"
Vitalii Tomkiv6e5ee612016-03-09 14:57:32 -0800197 android:label="@string/car_permission_label_projection"
198 android:description="@string/car_permission_desc_projection" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700199
200 <!-- Allows an application to get the status of other applications projecting to the vehicle display.
201 technologies status changes.
202 <p>Protection level: signature|privileged
203 -->
keunyoung1ab8e182015-09-24 09:25:22 -0700204 <permission
Vasco Britod253c1e2019-04-23 18:10:11 -0700205 android:name="android.car.permission.ACCESS_CAR_PROJECTION_STATUS"
206 android:protectionLevel="signature|privileged"
207 android:label="@string/car_permission_label_access_projection_status"
208 android:description="@string/car_permission_desc_access_projection_status" />
209
210 <!-- Must be required by projection service to ensure only system can bind to it.
211 <p>Protection level: signature
212 -->
Pavel Maltsev116055f2019-03-14 14:03:15 -0700213 <permission
Vasco Britod253c1e2019-04-23 18:10:11 -0700214 android:name="android.car.permission.BIND_PROJECTION_SERVICE"
215 android:protectionLevel="signature"
216 android:label="@string/car_permission_label_bind_projection_service"
217 android:description="@string/car_permission_desc_bind_projection_service" />
218
219 <!-- Allows an application to emulate the vehicle HAL for testing purposes.
220 <p>Protection level: signature|privileged
221 -->
Pavel Maltsev116055f2019-03-14 14:03:15 -0700222 <permission
Keun-young Parke54ac272016-02-16 19:02:18 -0800223 android:name="android.car.permission.CAR_MOCK_VEHICLE_HAL"
Vasco Britod253c1e2019-04-23 18:10:11 -0700224 android:protectionLevel="signature|privileged"
keunyoung1ab8e182015-09-24 09:25:22 -0700225 android:label="@string/car_permission_label_mock_vehicle_hal"
226 android:description="@string/car_permission_desc_mock_vehicle_hal" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700227
228 <!-- Allows an application to read the vehicle car basic information. For example, it allows
229 an application to read the vehicle Make, Model, Model Year, fuel capacity, fuel type,
230 EV battery capacity, EV connection type, fuel door location and driver seat location.
231 <p>Protection level: normal
232 -->
Pavel Maltsevce4ffd92016-03-09 10:56:23 -0800233 <permission
Kai68ee16b2018-03-22 11:57:37 -0700234 android:name="android.car.permission.CAR_INFO"
235 android:protectionLevel="normal"
236 android:label="@string/car_permission_label_car_info"
237 android:description="@string/car_permission_desc_car_info" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700238
239 <!-- Allows an application to read the vehicle exterior environment information. For example,
240 it allows an application to read the vehicle exterior temperature and night mode status.
241 <p>Protection level: normal
242 -->
Kai68ee16b2018-03-22 11:57:37 -0700243 <permission
Kai4959eee2018-04-24 00:34:02 -0700244 android:name="android.car.permission.CAR_EXTERIOR_ENVIRONMENT"
245 android:protectionLevel="normal"
246 android:label="@string/car_permission_label_car_exterior_environment"
247 android:description="@string/car_permission_desc_car_exterior_environment" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700248
249 <!-- Allows an application to read the vehicle exterior lights state.
250 <p>Protection level: signature|privileged
251 -->
Kai4959eee2018-04-24 00:34:02 -0700252 <permission
Kai68ee16b2018-03-22 11:57:37 -0700253 android:name="android.car.permission.CAR_EXTERIOR_LIGHTS"
Vasco Britod253c1e2019-04-23 18:10:11 -0700254 android:protectionLevel="signature|privileged"
Kai68ee16b2018-03-22 11:57:37 -0700255 android:label="@string/car_permission_label_car_exterior_lights"
256 android:description="@string/car_permission_desc_car_exterior_lights" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700257
258 <!-- Allows an application to control the vehicle exterior lights.
259 <p>Protection level: signature|privileged
260 -->
Kai68ee16b2018-03-22 11:57:37 -0700261 <permission
262 android:name="android.car.permission.CONTROL_CAR_EXTERIOR_LIGHTS"
Vasco Britod253c1e2019-04-23 18:10:11 -0700263 android:protectionLevel="signature|privileged"
Kai68ee16b2018-03-22 11:57:37 -0700264 android:label="@string/car_permission_label_control_car_exterior_lights"
265 android:description="@string/car_permission_desc_control_car_exterior_lights" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700266
267 <!-- Allows an application to read the vehicle interior lights state.
268 <p>Protection level: signature|privileged
269 -->
Kai68ee16b2018-03-22 11:57:37 -0700270 <permission
Kai6ee9ca22019-01-08 12:06:36 -0800271 android:name="android.car.permission.READ_CAR_INTERIOR_LIGHTS"
Vasco Britod253c1e2019-04-23 18:10:11 -0700272 android:protectionLevel="signature|privileged"
Kai6ee9ca22019-01-08 12:06:36 -0800273 android:label="@string/car_permission_label_car_interior_lights"
274 android:description="@string/car_permission_desc_car_interior_lights" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700275
276 <!-- Allows an application to control the vehicle interior lights state.
277 <p>Protection level: signature|privileged
278 -->
Kai6ee9ca22019-01-08 12:06:36 -0800279 <permission
280 android:name="android.car.permission.CONTROL_CAR_INTERIOR_LIGHTS"
Vasco Britod253c1e2019-04-23 18:10:11 -0700281 android:protectionLevel="signature|privileged"
Kai6ee9ca22019-01-08 12:06:36 -0800282 android:label="@string/car_permission_label_control_car_interior_lights"
283 android:description="@string/car_permission_desc_control_car_interior_lights" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700284
285 <!-- Allows an application to control the vehicle power state.
286 <p>Protection level: signature|privileged
287 -->
Kai6ee9ca22019-01-08 12:06:36 -0800288 <permission
Kai68ec51d2018-08-02 17:34:35 -0700289 android:name="android.car.permission.CAR_POWER"
Vasco Britod253c1e2019-04-23 18:10:11 -0700290 android:protectionLevel="signature|privileged"
Kai68ec51d2018-08-02 17:34:35 -0700291 android:label="@string/car_permission_label_car_power"
292 android:description="@string/car_permission_desc_car_power" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700293
294 <!-- Allows an application to read the vehicle powertrain information. For example, it allows
295 an application to read the vehicle current gear, ignition state or parking break status.
296 <p>Protection level: normal
297 -->
Kai68ec51d2018-08-02 17:34:35 -0700298 <permission
Kai68ee16b2018-03-22 11:57:37 -0700299 android:name="android.car.permission.CAR_POWERTRAIN"
300 android:protectionLevel="normal"
301 android:label="@string/car_permission_label_car_powertrain"
302 android:description="@string/car_permission_desc_car_powertrain" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700303
304 <!-- Allows an application to access {@link android.car.navigation.CarNavigationStatusManager}
305 to report navigation data. This information may be displayed by the vehicle in the
306 instrument cluster, head-up display or other locations.
307 <p>Protection level: signature|privileged
308 -->
Kai68ee16b2018-03-22 11:57:37 -0700309 <permission
Keun-young Parke31a8b22016-03-16 17:34:08 -0700310 android:name="android.car.permission.CAR_NAVIGATION_MANAGER"
Vasco Britod253c1e2019-04-23 18:10:11 -0700311 android:protectionLevel="signature|privileged"
Pavel Maltsevce4ffd92016-03-09 10:56:23 -0800312 android:label="@string/car_permission_car_navigation_manager"
313 android:description="@string/car_permission_desc_car_navigation_manager" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700314
315 <!-- Allows an application to read vehicle diagnostic information, including vendor-specific
316 information.
317 <p>Protection level: signature|privileged
318 -->
Enrico Granata3c7a6662017-02-23 18:07:59 -0800319 <permission
Kai25c0b852018-03-01 11:52:31 -0800320 android:name="android.car.permission.CAR_DIAGNOSTICS"
Vasco Britod253c1e2019-04-23 18:10:11 -0700321 android:protectionLevel="signature|privileged"
Kai25c0b852018-03-01 11:52:31 -0800322 android:label="@string/car_permission_label_diag_read"
323 android:description="@string/car_permission_desc_diag_read" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700324
325 <!-- Allows an application to clear diagnostic information from the vehicle.
326 <p>Protection level: signature|privileged
327 -->
Enrico Granata3c7a6662017-02-23 18:07:59 -0800328 <permission
Vasco Britod253c1e2019-04-23 18:10:11 -0700329 android:name="android.car.permission.CLEAR_CAR_DIAGNOSTICS"
330 android:protectionLevel="signature|privileged"
331 android:label="@string/car_permission_label_diag_clear"
332 android:description="@string/car_permission_desc_diag_clear" />
333
334 <!-- Must be required by VMS client service to ensure only system can bind to it.
335 <p>Protection level: signature
336 -->
Antonio Cortes12858a22017-03-01 07:37:17 -0800337 <permission
Mark Tabrye1a7fa72019-01-11 12:34:38 -0800338 android:name="android.car.permission.BIND_VMS_CLIENT"
339 android:protectionLevel="signature"
340 android:label="@string/car_permission_label_bind_vms_client"
341 android:description="@string/car_permission_desc_bind_vms_client" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700342
343 <!-- Allows an application to publich VMS messages.
344 <p>Protection level: signature|privileged
345 -->
Mark Tabrye1a7fa72019-01-11 12:34:38 -0800346 <permission
Antonio Cortes12858a22017-03-01 07:37:17 -0800347 android:name="android.car.permission.VMS_PUBLISHER"
Vasco Britod253c1e2019-04-23 18:10:11 -0700348 android:protectionLevel="signature|privileged"
Antonio Cortes12858a22017-03-01 07:37:17 -0800349 android:label="@string/car_permission_label_vms_publisher"
350 android:description="@string/car_permission_desc_vms_publisher" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700351
352 <!-- Allows an application to subscribe to VMS messages.
353 <p>Protection level: signature|privileged
354 -->
Antonio Cortes12858a22017-03-01 07:37:17 -0800355 <permission
356 android:name="android.car.permission.VMS_SUBSCRIBER"
Vasco Britod253c1e2019-04-23 18:10:11 -0700357 android:protectionLevel="signature|privileged"
Antonio Cortes12858a22017-03-01 07:37:17 -0800358 android:label="@string/car_permission_label_vms_subscriber"
359 android:description="@string/car_permission_desc_vms_subscriber" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700360
361 <!-- Allows an application to read the vehicle driving state.
362 <p>Protection level: signature|privileged
363 -->
Ram Periathiruvadi25c16f12017-11-17 16:48:37 -0800364 <permission
365 android:name="android.car.permission.CAR_DRIVING_STATE"
Vasco Britod253c1e2019-04-23 18:10:11 -0700366 android:protectionLevel="signature|privileged"
Ram Periathiruvadi25c16f12017-11-17 16:48:37 -0800367 android:label="@string/car_permission_label_driving_state"
368 android:description="@string/car_permission_desc_driving_state" />
Vasco Britod253c1e2019-04-23 18:10:11 -0700369
Keun-young Park4aeb4bf2015-12-08 18:31:33 -0800370 <!-- may replace this with system permission if proper one is defined. -->
Vasco Britod253c1e2019-04-23 18:10:11 -0700371 <eat-comment />
372 <!-- Allows an application to block other applications for driver distraction purposes.
373 Note: This permission may be replaced in future versions.
374 <p>Protection level: signature|privileged
375 -->
Keun-young Park4aeb4bf2015-12-08 18:31:33 -0800376 <permission
Keun-young Parke54ac272016-02-16 19:02:18 -0800377 android:name="android.car.permission.CONTROL_APP_BLOCKING"
Vasco Britod253c1e2019-04-23 18:10:11 -0700378 android:protectionLevel="signature|privileged"
Keun-young Park4aeb4bf2015-12-08 18:31:33 -0800379 android:label="@string/car_permission_label_control_app_blocking"
380 android:description="@string/car_permission_desc_control_app_blocking" />
381
Vasco Britod253c1e2019-04-23 18:10:11 -0700382 <!-- Allows an application to control the vehicle audio volume.
383 <p>Protection level: signature|privileged
384 -->
Yao Chenc4d442f2016-04-08 11:33:47 -0700385 <permission
386 android:name="android.car.permission.CAR_CONTROL_AUDIO_VOLUME"
Vasco Britod253c1e2019-04-23 18:10:11 -0700387 android:protectionLevel="signature|privileged"
Yao Chenc4d442f2016-04-08 11:33:47 -0700388 android:label="@string/car_permission_label_audio_volume"
389 android:description="@string/car_permission_desc_audio_volume" />
390
Vasco Britod253c1e2019-04-23 18:10:11 -0700391 <!-- Allows an application to control the vehicle audio settings.
392 <p>Protection level: signature|privileged
393 -->
Pavel Maltsev0477e292016-05-27 12:22:36 -0700394 <permission
Keun-young Parkfe1a8f12017-01-17 20:06:34 -0800395 android:name="android.car.permission.CAR_CONTROL_AUDIO_SETTINGS"
Vasco Britod253c1e2019-04-23 18:10:11 -0700396 android:protectionLevel="signature|privileged"
Keun-young Parkfe1a8f12017-01-17 20:06:34 -0800397 android:label="@string/car_permission_label_audio_settings"
398 android:description="@string/car_permission_desc_audio_settings" />
399
Vasco Britod253c1e2019-04-23 18:10:11 -0700400 <!-- Must be required by instrument cluster service to ensure only system can bind to it.
401 <p>Protection level: signature
402 -->
Keun-young Parkfe1a8f12017-01-17 20:06:34 -0800403 <permission
Justin Pauporeeade0f22019-03-13 19:03:13 -0700404 android:name="android.car.permission.RECEIVE_CAR_AUDIO_DUCKING_EVENTS"
405 android:protectionLevel="system|signature"
406 android:label="@string/car_permission_label_receive_ducking"
407 android:description="@string/car_permission_desc_receive_ducking" />
408
409 <permission
Yao, Yuxing0811d5a2018-11-29 16:18:53 -0800410 android:name="android.car.permission.BIND_INSTRUMENT_CLUSTER_RENDERER_SERVICE"
411 android:protectionLevel="signature"
412 android:label="@string/car_permission_label_bind_instrument_cluster_rendering"
413 android:description="@string/car_permission_desc_bind_instrument_cluster_rendering"/>
Pavel Maltsev0477e292016-05-27 12:22:36 -0700414
Vasco Britod253c1e2019-04-23 18:10:11 -0700415 <!-- Allows an application to handle the vehicle input events.
416 <p>Protection level: signature
417 -->
Vitalii Tomkiv2bd06922016-07-26 11:07:48 -0700418 <permission
Yao, Yuxing0811d5a2018-11-29 16:18:53 -0800419 android:name="android.car.permission.BIND_CAR_INPUT_SERVICE"
420 android:protectionLevel="signature"
421 android:label="@string/car_permission_label_bind_input_service"
422 android:description="@string/car_permission_desc_bind_input_service"/>
Vitalii Tomkiv2bd06922016-07-26 11:07:48 -0700423
Vasco Britod253c1e2019-04-23 18:10:11 -0700424 <!-- Allows an application to declare activities to be displayed in the instrument cluster.
425 <p>Protection level: signature|privileged
426 -->
Pavel Maltsev905968c2017-07-16 19:48:57 -0700427 <permission
Yao, Yuxing0811d5a2018-11-29 16:18:53 -0800428 android:name="android.car.permission.CAR_DISPLAY_IN_CLUSTER"
Vasco Britod253c1e2019-04-23 18:10:11 -0700429 android:protectionLevel="signature|privileged"
Yao, Yuxing0811d5a2018-11-29 16:18:53 -0800430 android:label="@string/car_permission_car_display_in_cluster"
431 android:description="@string/car_permission_desc_car_display_in_cluster" />
Pavel Maltsev905968c2017-07-16 19:48:57 -0700432
Vasco Britod253c1e2019-04-23 18:10:11 -0700433 <!-- Allows an application to lunch applications in the instrument cluster.
434 <p>Protection level: signature|privileged
435 -->
Yao, Yuxing0811d5a2018-11-29 16:18:53 -0800436 <permission
437 android:name="android.car.permission.CAR_INSTRUMENT_CLUSTER_CONTROL"
Vasco Britod253c1e2019-04-23 18:10:11 -0700438 android:protectionLevel="signature|privileged"
Yao, Yuxing0811d5a2018-11-29 16:18:53 -0800439 android:label="@string/car_permission_car_cluster_control"
440 android:description="@string/car_permission_desc_car_cluster_control" />
Pavel Maltsev905968c2017-07-16 19:48:57 -0700441
Vasco Britod253c1e2019-04-23 18:10:11 -0700442 <!-- Allows an application to communicate with a device in AOAP mode.
443 <p>Protection level: signature|privileged
444 -->
Yao, Yuxing0811d5a2018-11-29 16:18:53 -0800445 <permission
Pavel Maltsev6b49b9b2019-03-14 10:14:24 -0700446 android:name="android.car.permission.CAR_HANDLE_USB_AOAP_DEVICE"
Vasco Britod253c1e2019-04-23 18:10:11 -0700447 android:protectionLevel="signature|privileged"
Pavel Maltsev6b49b9b2019-03-14 10:14:24 -0700448 android:label="@string/car_permission_label_car_handle_usb_aoap_device"
449 android:description="@string/car_permission_desc_car_handle_usb_aoap_device" />
450
Vasco Britod253c1e2019-04-23 18:10:11 -0700451 <!-- Allows an application to configure UX restrictions in the device.
452 <p>Protection level: signature|privileged
453 -->
Pavel Maltsev6b49b9b2019-03-14 10:14:24 -0700454 <permission
Yao, Yuxing0811d5a2018-11-29 16:18:53 -0800455 android:name="android.car.permission.CAR_UX_RESTRICTIONS_CONFIGURATION"
Vasco Britod253c1e2019-04-23 18:10:11 -0700456 android:protectionLevel="signature|privileged"
Yao, Yuxing0811d5a2018-11-29 16:18:53 -0800457 android:label="@string/car_permission_label_car_ux_restrictions_configuration"
458 android:description="@string/car_permission_desc_car_ux_restrictions_configuration" />
459
Vasco Britod253c1e2019-04-23 18:10:11 -0700460 <!-- Allows an application to monitor flash storage usage.
461 <p>Protection level: signature|privileged
462 -->
Yao, Yuxing0811d5a2018-11-29 16:18:53 -0800463 <permission
464 android:name="android.car.permission.STORAGE_MONITORING"
Vasco Britod253c1e2019-04-23 18:10:11 -0700465 android:protectionLevel="signature|privileged"
Enrico Granata1172f882017-09-21 14:51:30 -0700466 android:label="@string/car_permission_label_storage_monitoring"
467 android:description="@string/car_permission_desc_storage_monitoring" />
468
Vasco Britod253c1e2019-04-23 18:10:11 -0700469 <!-- Allows an application to enroll trusted devices.
470 <p>Protection level: signature|privileged
471 -->
Ram Periathiruvadi97989be2019-03-28 18:20:05 -0700472 <permission
473 android:name="android.car.permission.CAR_ENROLL_TRUST"
Vasco Britod253c1e2019-04-23 18:10:11 -0700474 android:protectionLevel="signature|privileged"
Ram Periathiruvadi97989be2019-03-28 18:20:05 -0700475 android:label="@string/car_permission_label_enroll_trust"
476 android:description="@string/car_permission_desc_enroll_trust" />
477
Keun young Park82b39fe2019-10-17 09:21:02 -0700478 <!-- Allows a test application to control car service's testing mode.
479 This is only for platform level testing.
480 <p>Protection level: signature|privileged
481 -->
482 <permission
483 android:name="android.car.permission.CAR_TEST_SERVICE"
484 android:protectionLevel="signature|privileged"
485 android:label="@string/car_permission_label_car_test_service"
486 android:description="@string/car_permission_desc_car_test_service" />
487
Keun-young Park4727da32016-05-31 10:00:51 -0700488 <uses-permission android:name="android.permission.CALL_PHONE" />
keunyoungca515072015-07-10 12:21:47 -0700489 <uses-permission android:name="android.permission.DEVICE_POWER" />
Antonio Cortesbb73c4c2017-05-16 14:18:47 -0700490 <uses-permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS" />
Keun-young Park4727da32016-05-31 10:00:51 -0700491 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
492 <uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" />
keunyoungd32f4e62015-09-21 11:33:06 -0700493 <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING" />
Joseph Pirozzo317343d2016-01-25 10:22:37 -0800494 <uses-permission android:name="android.permission.MODIFY_DAY_NIGHT_MODE" />
Vitalii Tomkive2142e52016-04-29 11:35:26 -0700495 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
Keun-young Park4727da32016-05-31 10:00:51 -0700496 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Vitalii Tomkive2142e52016-04-29 11:35:26 -0700497 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Keun-young Park4727da32016-05-31 10:00:51 -0700498 <uses-permission android:name="android.permission.REAL_GET_TASKS" />
499 <uses-permission android:name="android.permission.REBOOT" />
500 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
501 <uses-permission android:name="android.permission.REMOVE_TASKS" />
502 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
503 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
Ram Periathiruvadi7ed84182017-01-20 15:18:08 -0800504 <uses-permission android:name="android.permission.BLUETOOTH" />
Keun young Park2bf014e2019-09-12 10:31:48 -0700505 <uses-permission android:name="android.permission.MANAGE_APP_OPS_MODES" />
Ram Periathiruvadiacb60242017-04-13 16:19:09 -0700506 <uses-permission android:name="android.permission.MANAGE_USERS" />
Gregory Clarkd8136062017-12-11 14:27:53 -0800507 <uses-permission android:name="android.permission.LOCATION_HARDWARE" />
508 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
Ram Periathiruvadide0ca082019-03-20 11:16:44 -0700509 <uses-permission android:name="android.permission.PROVIDE_TRUST_AGENT" />
Selim Gurunc4492162019-05-23 22:03:33 -0700510 <uses-permission android:name="android.permission.READ_LOGS" />
keunyoungca515072015-07-10 12:21:47 -0700511
Colin Cross4543e612018-06-14 15:57:30 -0700512 <application android:label="@string/app_title"
Vitalii Tomkiv860f82e2016-05-06 13:20:51 -0700513 android:directBootAware="true"
Pavel Maltsev1f1d00b2016-04-20 21:46:34 -0700514 android:allowBackup="false"
Pavel Maltsev0477e292016-05-27 12:22:36 -0700515 android:persistent="true">
keunyoungca515072015-07-10 12:21:47 -0700516
Paul Duffincb641452017-12-08 00:02:43 +0000517 <uses-library android:name="android.test.runner" />
Gregory Clarkd8136062017-12-11 14:27:53 -0800518 <service android:name=".CarService"
keunyoungca515072015-07-10 12:21:47 -0700519 android:singleUser="true">
520 <intent-filter>
Keun-young Parke54ac272016-02-16 19:02:18 -0800521 <action android:name="android.car.ICar" />
keunyoungca515072015-07-10 12:21:47 -0700522 </intent-filter>
523 </service>
Ram Periathiruvadiacb60242017-04-13 16:19:09 -0700524 <service android:name=".PerUserCarService" android:exported="false" />
Ram Periathiruvadide0ca082019-03-20 11:16:44 -0700525
526 <service
527 android:name="com.android.car.trust.CarBleTrustAgent"
528 android:permission="android.permission.BIND_TRUST_AGENT"
529 android:singleUser="true">
530 <intent-filter>
531 <action android:name="android.service.trust.TrustAgentService" />
532 <category android:name="android.intent.category.DEFAULT" />
533 </intent-filter>
534 <!-- Warning: the meta data must be included if the service is direct boot aware.
535 If not included, the device will crash before boot completes. Rendering the
536 device unusable. -->
537 <meta-data android:name="android.service.trust.trustagent"
538 android:resource="@xml/car_trust_agent"/>
539 </service>
Keun-young Park4727da32016-05-31 10:00:51 -0700540 <activity android:name="com.android.car.pm.ActivityBlockingActivity"
Yao, Yuxingd525de12019-05-06 15:11:48 -0700541 android:documentLaunchMode="always"
Keun-young Park4727da32016-05-31 10:00:51 -0700542 android:excludeFromRecents="true"
Yao, Yuxingd1d6a372018-05-08 10:37:43 -0700543 android:exported="false"
Yao, Yuxingd525de12019-05-06 15:11:48 -0700544 android:theme="@android:style/Theme.Translucent.NoTitleBar">
Keun-young Park4727da32016-05-31 10:00:51 -0700545 <intent-filter>
546 <action android:name="android.intent.action.MAIN" />
547 </intent-filter>
548 </activity>
keunyoungca515072015-07-10 12:21:47 -0700549 </application>
550</manifest>