keunyoung | ca51507 | 2015-07-10 12:21:47 -0700 | [diff] [blame] | 1 | <?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" /> |
Kai | 4959eee | 2018-04-24 00:34:02 -0700 | [diff] [blame] | 24 | <permission-group |
| 25 | android:name="android.car.permission-group.CAR_MONITORING" |
| 26 | android:icon="@drawable/car_ic_mode" |
| 27 | android:description="@string/car_permission_desc" |
| 28 | android:label="@string/car_permission_label" /> |
Steve Paik | 875616c | 2016-02-05 10:55:59 -0800 | [diff] [blame] | 29 | <permission |
Kai | 25c0b85 | 2018-03-01 11:52:31 -0800 | [diff] [blame] | 30 | android:name="android.car.permission.ADJUST_CAR_CABIN" |
Steve Paik | 43c04a7 | 2016-07-08 19:12:09 -0700 | [diff] [blame] | 31 | android:protectionLevel="system|signature" |
| 32 | android:label="@string/car_permission_label_cabin" |
| 33 | android:description="@string/car_permission_desc_cabin" /> |
| 34 | <permission |
Kai | 68ee16b | 2018-03-22 11:57:37 -0700 | [diff] [blame] | 35 | android:name="android.car.permission.CAR_ENERGY" |
Kai | 4959eee | 2018-04-24 00:34:02 -0700 | [diff] [blame] | 36 | android:permissionGroup="android.car.permission-group.CAR_MONITORING" |
keunyoung | cc449f7 | 2015-08-12 10:46:27 -0700 | [diff] [blame] | 37 | android:protectionLevel="dangerous" |
Kai | 68ee16b | 2018-03-22 11:57:37 -0700 | [diff] [blame] | 38 | android:label="@string/car_permission_label_energy" |
| 39 | android:description="@string/car_permission_desc_energy" /> |
keunyoung | cc449f7 | 2015-08-12 10:46:27 -0700 | [diff] [blame] | 40 | <permission |
Kai | 68ee16b | 2018-03-22 11:57:37 -0700 | [diff] [blame] | 41 | android:name="android.car.permission.CAR_IDENTIFICATION" |
Kai | 73a6aaf | 2018-06-04 13:02:56 -0700 | [diff] [blame] | 42 | android:protectionLevel="system|signature" |
Kai | 68ee16b | 2018-03-22 11:57:37 -0700 | [diff] [blame] | 43 | android:label="@string/car_permission_label_car_identification" |
| 44 | android:description="@string/car_permission_desc_car_identification" /> |
| 45 | <permission |
| 46 | android:name="android.car.permission.CONTROL_CAR_CLIMATE" |
Steve Paik | 6648198 | 2015-10-27 15:22:38 -0700 | [diff] [blame] | 47 | android:protectionLevel="system|signature" |
| 48 | android:label="@string/car_permission_label_hvac" |
| 49 | android:description="@string/car_permission_desc_hvac" /> |
| 50 | <permission |
Kai | 68ee16b | 2018-03-22 11:57:37 -0700 | [diff] [blame] | 51 | android:name="android.car.permission.CONTROL_CAR_DOORS" |
| 52 | android:protectionLevel="system|signature" |
| 53 | android:label="@string/car_permission_label_control_car_doors" |
| 54 | android:description="@string/car_permission_desc_control_car_doors" /> |
| 55 | <permission |
| 56 | android:name="android.car.permission.CONTROL_CAR_WINDOWS" |
| 57 | android:protectionLevel="system|signature" |
| 58 | android:label="@string/car_permission_label_control_car_windows" |
| 59 | android:description="@string/car_permission_desc_control_car_windows" /> |
| 60 | <permission |
| 61 | android:name="android.car.permission.CONTROL_CAR_MIRRORS" |
| 62 | android:protectionLevel="system|signature" |
| 63 | android:label="@string/car_permission_label_control_car_mirrors" |
| 64 | android:description="@string/car_permission_desc_control_car_mirrors" /> |
| 65 | <permission |
| 66 | android:name="android.car.permission.CONTROL_CAR_SEATS" |
| 67 | android:protectionLevel="system|signature" |
| 68 | android:label="@string/car_permission_label_control_car_seats" |
| 69 | android:description="@string/car_permission_desc_control_car_seats" /> |
| 70 | <permission |
Keun-young Park | e54ac27 | 2016-02-16 19:02:18 -0800 | [diff] [blame] | 71 | android:name="android.car.permission.CAR_MILEAGE" |
Kai | 25c0b85 | 2018-03-01 11:52:31 -0800 | [diff] [blame] | 72 | android:protectionLevel="system|signature" |
keunyoung | cc449f7 | 2015-08-12 10:46:27 -0700 | [diff] [blame] | 73 | android:label="@string/car_permission_label_mileage" |
| 74 | android:description="@string/car_permission_desc_mileage" /> |
| 75 | <permission |
Kai | 68ee16b | 2018-03-22 11:57:37 -0700 | [diff] [blame] | 76 | android:name="android.car.permission.CAR_TIRES" |
| 77 | android:protectionLevel="system|signature" |
| 78 | android:label="@string/car_permission_label_car_tires" |
| 79 | android:description="@string/car_permission_desc_car_tires" /> |
| 80 | <permission |
Keun-young Park | e54ac27 | 2016-02-16 19:02:18 -0800 | [diff] [blame] | 81 | android:name="android.car.permission.CAR_SPEED" |
keunyoung | cc449f7 | 2015-08-12 10:46:27 -0700 | [diff] [blame] | 82 | android:permissionGroup="android.permission-group.LOCATION" |
| 83 | android:protectionLevel="dangerous" |
| 84 | android:label="@string/car_permission_label_speed" |
| 85 | android:description="@string/car_permission_desc_speed" /> |
| 86 | <permission |
Kai | 68ee16b | 2018-03-22 11:57:37 -0700 | [diff] [blame] | 87 | android:name="android.car.permission.CAR_ENERGY_PORTS" |
| 88 | android:protectionLevel="normal" |
| 89 | android:label="@string/car_permission_label_car_energy_ports" |
| 90 | android:description="@string/car_permission_desc_car_energy_ports" /> |
| 91 | <permission |
Kai | 25c0b85 | 2018-03-01 11:52:31 -0800 | [diff] [blame] | 92 | android:name="android.car.permission.CAR_ENGINE_DETAILED" |
Kai | 25c0b85 | 2018-03-01 11:52:31 -0800 | [diff] [blame] | 93 | android:protectionLevel="system|signature" |
| 94 | android:label="@string/car_permission_label_car_engine_detailed" |
| 95 | android:description="@string/car_permission_desc_car_engine_detailed" /> |
| 96 | <permission |
Kai | 68ee16b | 2018-03-22 11:57:37 -0700 | [diff] [blame] | 97 | android:name="android.car.permission.CAR_DYNAMICS_STATE" |
Kai | 25c0b85 | 2018-03-01 11:52:31 -0800 | [diff] [blame] | 98 | android:protectionLevel="system|signature" |
Steve Paik | 289ab99 | 2017-07-11 22:40:57 -0700 | [diff] [blame] | 99 | android:label="@string/car_permission_label_vehicle_dynamics_state" |
| 100 | android:description="@string/car_permission_desc_vehicle_dynamics_state" /> |
| 101 | <permission |
Keun-young Park | e54ac27 | 2016-02-16 19:02:18 -0800 | [diff] [blame] | 102 | android:name="android.car.permission.CAR_VENDOR_EXTENSION" |
keunyoung | cc449f7 | 2015-08-12 10:46:27 -0700 | [diff] [blame] | 103 | android:protectionLevel="system|signature" |
| 104 | android:label="@string/car_permission_label_vendor_extension" |
| 105 | android:description="@string/car_permission_desc_vendor_extension" /> |
Sanket Agarwal | 3cf096a | 2015-10-13 14:46:31 -0700 | [diff] [blame] | 106 | <permission |
Vitalii Tomkiv | 6e5ee61 | 2016-03-09 14:57:32 -0800 | [diff] [blame] | 107 | android:name="android.car.permission.CAR_PROJECTION" |
Vitalii Tomkiv | 6e5ee61 | 2016-03-09 14:57:32 -0800 | [diff] [blame] | 108 | android:protectionLevel="system|signature" |
| 109 | android:label="@string/car_permission_label_projection" |
| 110 | android:description="@string/car_permission_desc_projection" /> |
keunyoung | 1ab8e18 | 2015-09-24 09:25:22 -0700 | [diff] [blame] | 111 | <permission |
Keun-young Park | e54ac27 | 2016-02-16 19:02:18 -0800 | [diff] [blame] | 112 | android:name="android.car.permission.CAR_MOCK_VEHICLE_HAL" |
keunyoung | 1ab8e18 | 2015-09-24 09:25:22 -0700 | [diff] [blame] | 113 | android:protectionLevel="system|signature" |
| 114 | android:label="@string/car_permission_label_mock_vehicle_hal" |
| 115 | android:description="@string/car_permission_desc_mock_vehicle_hal" /> |
Pavel Maltsev | ce4ffd9 | 2016-03-09 10:56:23 -0800 | [diff] [blame] | 116 | <permission |
Kai | 68ee16b | 2018-03-22 11:57:37 -0700 | [diff] [blame] | 117 | android:name="android.car.permission.CAR_INFO" |
| 118 | android:protectionLevel="normal" |
| 119 | android:label="@string/car_permission_label_car_info" |
| 120 | android:description="@string/car_permission_desc_car_info" /> |
| 121 | <permission |
Kai | 4959eee | 2018-04-24 00:34:02 -0700 | [diff] [blame] | 122 | android:name="android.car.permission.CAR_EXTERIOR_ENVIRONMENT" |
| 123 | android:protectionLevel="normal" |
| 124 | android:label="@string/car_permission_label_car_exterior_environment" |
| 125 | android:description="@string/car_permission_desc_car_exterior_environment" /> |
| 126 | <permission |
Kai | 68ee16b | 2018-03-22 11:57:37 -0700 | [diff] [blame] | 127 | android:name="android.car.permission.CAR_EXTERIOR_LIGHTS" |
| 128 | android:protectionLevel="system|signature" |
| 129 | android:label="@string/car_permission_label_car_exterior_lights" |
| 130 | android:description="@string/car_permission_desc_car_exterior_lights" /> |
| 131 | <permission |
| 132 | android:name="android.car.permission.CONTROL_CAR_EXTERIOR_LIGHTS" |
| 133 | android:protectionLevel="system|signature" |
| 134 | android:label="@string/car_permission_label_control_car_exterior_lights" |
| 135 | android:description="@string/car_permission_desc_control_car_exterior_lights" /> |
| 136 | <permission |
| 137 | android:name="android.car.permission.CAR_POWERTRAIN" |
| 138 | android:protectionLevel="normal" |
| 139 | android:label="@string/car_permission_label_car_powertrain" |
| 140 | android:description="@string/car_permission_desc_car_powertrain" /> |
| 141 | <permission |
Keun-young Park | e31a8b2 | 2016-03-16 17:34:08 -0700 | [diff] [blame] | 142 | android:name="android.car.permission.CAR_NAVIGATION_MANAGER" |
Pavel Maltsev | ce4ffd9 | 2016-03-09 10:56:23 -0800 | [diff] [blame] | 143 | android:protectionLevel="system|signature" |
| 144 | android:label="@string/car_permission_car_navigation_manager" |
| 145 | android:description="@string/car_permission_desc_car_navigation_manager" /> |
Enrico Granata | 3c7a666 | 2017-02-23 18:07:59 -0800 | [diff] [blame] | 146 | <permission |
Kai | 25c0b85 | 2018-03-01 11:52:31 -0800 | [diff] [blame] | 147 | android:name="android.car.permission.CAR_DIAGNOSTICS" |
Kai | 25c0b85 | 2018-03-01 11:52:31 -0800 | [diff] [blame] | 148 | android:protectionLevel="system|signature" |
| 149 | android:label="@string/car_permission_label_diag_read" |
| 150 | android:description="@string/car_permission_desc_diag_read" /> |
Enrico Granata | 3c7a666 | 2017-02-23 18:07:59 -0800 | [diff] [blame] | 151 | <permission |
Kai | 25c0b85 | 2018-03-01 11:52:31 -0800 | [diff] [blame] | 152 | android:name="android.car.permission.CLEAR_CAR_DIAGNOSTICS" |
Enrico Granata | 88e1c02 | 2017-04-11 15:02:25 -0700 | [diff] [blame] | 153 | android:protectionLevel="system|signature" |
Enrico Granata | 3c7a666 | 2017-02-23 18:07:59 -0800 | [diff] [blame] | 154 | android:label="@string/car_permission_label_diag_clear" |
| 155 | android:description="@string/car_permission_desc_diag_clear" /> |
Antonio Cortes | 12858a2 | 2017-03-01 07:37:17 -0800 | [diff] [blame] | 156 | <permission |
| 157 | android:name="android.car.permission.VMS_PUBLISHER" |
| 158 | android:protectionLevel="system|signature" |
| 159 | android:label="@string/car_permission_label_vms_publisher" |
| 160 | android:description="@string/car_permission_desc_vms_publisher" /> |
| 161 | <permission |
| 162 | android:name="android.car.permission.VMS_SUBSCRIBER" |
| 163 | android:protectionLevel="system|signature" |
| 164 | android:label="@string/car_permission_label_vms_subscriber" |
| 165 | android:description="@string/car_permission_desc_vms_subscriber" /> |
Ram Periathiruvadi | 25c16f1 | 2017-11-17 16:48:37 -0800 | [diff] [blame] | 166 | <permission |
| 167 | android:name="android.car.permission.CAR_DRIVING_STATE" |
| 168 | android:protectionLevel="system|signature" |
| 169 | android:label="@string/car_permission_label_driving_state" |
| 170 | android:description="@string/car_permission_desc_driving_state" /> |
Keun-young Park | 4aeb4bf | 2015-12-08 18:31:33 -0800 | [diff] [blame] | 171 | <!-- may replace this with system permission if proper one is defined. --> |
| 172 | <permission |
Keun-young Park | e54ac27 | 2016-02-16 19:02:18 -0800 | [diff] [blame] | 173 | android:name="android.car.permission.CONTROL_APP_BLOCKING" |
Keun-young Park | 4aeb4bf | 2015-12-08 18:31:33 -0800 | [diff] [blame] | 174 | android:protectionLevel="system|signature" |
| 175 | android:label="@string/car_permission_label_control_app_blocking" |
| 176 | android:description="@string/car_permission_desc_control_app_blocking" /> |
| 177 | |
Yao Chen | c4d442f | 2016-04-08 11:33:47 -0700 | [diff] [blame] | 178 | <permission |
| 179 | android:name="android.car.permission.CAR_CONTROL_AUDIO_VOLUME" |
| 180 | android:protectionLevel="system|signature" |
| 181 | android:label="@string/car_permission_label_audio_volume" |
| 182 | android:description="@string/car_permission_desc_audio_volume" /> |
| 183 | |
Pavel Maltsev | 0477e29 | 2016-05-27 12:22:36 -0700 | [diff] [blame] | 184 | <permission |
Keun-young Park | fe1a8f1 | 2017-01-17 20:06:34 -0800 | [diff] [blame] | 185 | android:name="android.car.permission.CAR_CONTROL_AUDIO_SETTINGS" |
| 186 | android:protectionLevel="system|signature" |
| 187 | android:label="@string/car_permission_label_audio_settings" |
| 188 | android:description="@string/car_permission_desc_audio_settings" /> |
| 189 | |
| 190 | <permission |
Pavel Maltsev | 0477e29 | 2016-05-27 12:22:36 -0700 | [diff] [blame] | 191 | android:name="android.car.permission.BIND_INSTRUMENT_CLUSTER_RENDERER_SERVICE" |
| 192 | android:protectionLevel="signature" |
| 193 | android:label="@string/car_permission_label_bind_instrument_cluster_rendering" |
| 194 | android:description="@string/car_permission_desc_bind_instrument_cluster_rendering"/> |
| 195 | |
Vitalii Tomkiv | 2bd0692 | 2016-07-26 11:07:48 -0700 | [diff] [blame] | 196 | <permission |
| 197 | android:name="android.car.permission.BIND_CAR_INPUT_SERVICE" |
| 198 | android:protectionLevel="signature" |
| 199 | android:label="@string/car_permission_label_bind_input_service" |
| 200 | android:description="@string/car_permission_desc_bind_input_service"/> |
| 201 | |
Pavel Maltsev | 905968c | 2017-07-16 19:48:57 -0700 | [diff] [blame] | 202 | <permission |
| 203 | android:name="android.car.permission.CAR_DISPLAY_IN_CLUSTER" |
| 204 | android:protectionLevel="system|signature" |
| 205 | android:label="@string/car_permission_car_display_in_cluster" |
| 206 | android:description="@string/car_permission_desc_car_display_in_cluster" /> |
| 207 | |
| 208 | <permission android:name="android.car.permission.CAR_INSTRUMENT_CLUSTER_CONTROL" |
| 209 | android:protectionLevel="system|signature" |
| 210 | android:label="@string/car_permission_car_cluster_control" |
| 211 | android:description="@string/car_permission_desc_car_cluster_control" /> |
| 212 | |
Enrico Granata | 1172f88 | 2017-09-21 14:51:30 -0700 | [diff] [blame] | 213 | <permission android:name="android.car.permission.STORAGE_MONITORING" |
| 214 | android:protectionLevel="system|signature" |
| 215 | android:label="@string/car_permission_label_storage_monitoring" |
| 216 | android:description="@string/car_permission_desc_storage_monitoring" /> |
| 217 | |
Keun-young Park | 4727da3 | 2016-05-31 10:00:51 -0700 | [diff] [blame] | 218 | <uses-permission android:name="android.permission.CALL_PHONE" /> |
keunyoung | ca51507 | 2015-07-10 12:21:47 -0700 | [diff] [blame] | 219 | <uses-permission android:name="android.permission.DEVICE_POWER" /> |
Antonio Cortes | bb73c4c | 2017-05-16 14:18:47 -0700 | [diff] [blame] | 220 | <uses-permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS" /> |
Keun-young Park | 4727da3 | 2016-05-31 10:00:51 -0700 | [diff] [blame] | 221 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
| 222 | <uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" /> |
keunyoung | d32f4e6 | 2015-09-21 11:33:06 -0700 | [diff] [blame] | 223 | <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING" /> |
Joseph Pirozzo | 317343d | 2016-01-25 10:22:37 -0800 | [diff] [blame] | 224 | <uses-permission android:name="android.permission.MODIFY_DAY_NIGHT_MODE" /> |
Vitalii Tomkiv | e2142e5 | 2016-04-29 11:35:26 -0700 | [diff] [blame] | 225 | <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> |
Keun-young Park | 4727da3 | 2016-05-31 10:00:51 -0700 | [diff] [blame] | 226 | <uses-permission android:name="android.permission.READ_CALL_LOG" /> |
Vitalii Tomkiv | e2142e5 | 2016-04-29 11:35:26 -0700 | [diff] [blame] | 227 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
Keun-young Park | 4727da3 | 2016-05-31 10:00:51 -0700 | [diff] [blame] | 228 | <uses-permission android:name="android.permission.REAL_GET_TASKS" /> |
| 229 | <uses-permission android:name="android.permission.REBOOT" /> |
| 230 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| 231 | <uses-permission android:name="android.permission.REMOVE_TASKS" /> |
| 232 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 233 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> |
Ram Periathiruvadi | 7ed8418 | 2017-01-20 15:18:08 -0800 | [diff] [blame] | 234 | <uses-permission android:name="android.permission.BLUETOOTH" /> |
Ram Periathiruvadi | acb6024 | 2017-04-13 16:19:09 -0700 | [diff] [blame] | 235 | <uses-permission android:name="android.permission.MANAGE_USERS" /> |
Gregory Clark | d813606 | 2017-12-11 14:27:53 -0800 | [diff] [blame] | 236 | <uses-permission android:name="android.permission.LOCATION_HARDWARE" /> |
| 237 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
keunyoung | ca51507 | 2015-07-10 12:21:47 -0700 | [diff] [blame] | 238 | |
Colin Cross | 4543e61 | 2018-06-14 15:57:30 -0700 | [diff] [blame] | 239 | <application android:label="@string/app_title" |
Vitalii Tomkiv | 860f82e | 2016-05-06 13:20:51 -0700 | [diff] [blame] | 240 | android:directBootAware="true" |
Pavel Maltsev | 1f1d00b | 2016-04-20 21:46:34 -0700 | [diff] [blame] | 241 | android:allowBackup="false" |
Pavel Maltsev | 0477e29 | 2016-05-27 12:22:36 -0700 | [diff] [blame] | 242 | android:persistent="true"> |
keunyoung | ca51507 | 2015-07-10 12:21:47 -0700 | [diff] [blame] | 243 | |
Paul Duffin | cb64145 | 2017-12-08 00:02:43 +0000 | [diff] [blame] | 244 | <uses-library android:name="android.test.runner" /> |
Gregory Clark | d813606 | 2017-12-11 14:27:53 -0800 | [diff] [blame] | 245 | <service android:name=".CarService" |
keunyoung | ca51507 | 2015-07-10 12:21:47 -0700 | [diff] [blame] | 246 | android:singleUser="true"> |
| 247 | <intent-filter> |
Keun-young Park | e54ac27 | 2016-02-16 19:02:18 -0800 | [diff] [blame] | 248 | <action android:name="android.car.ICar" /> |
keunyoung | ca51507 | 2015-07-10 12:21:47 -0700 | [diff] [blame] | 249 | </intent-filter> |
| 250 | </service> |
Ram Periathiruvadi | acb6024 | 2017-04-13 16:19:09 -0700 | [diff] [blame] | 251 | <service android:name=".PerUserCarService" android:exported="false" /> |
Keun-young Park | 4727da3 | 2016-05-31 10:00:51 -0700 | [diff] [blame] | 252 | <activity android:name="com.android.car.pm.ActivityBlockingActivity" |
| 253 | android:excludeFromRecents="true" |
Yao, Yuxing | 6664412 | 2018-04-02 10:08:33 -0700 | [diff] [blame] | 254 | android:theme="@android:style/Theme.Translucent.NoTitleBar" |
Yao, Yuxing | d1d6a37 | 2018-05-08 10:37:43 -0700 | [diff] [blame] | 255 | android:exported="false" |
| 256 | android:launchMode="singleTask"> |
Keun-young Park | 4727da3 | 2016-05-31 10:00:51 -0700 | [diff] [blame] | 257 | <intent-filter> |
| 258 | <action android:name="android.intent.action.MAIN" /> |
| 259 | </intent-filter> |
| 260 | </activity> |
keunyoung | ca51507 | 2015-07-10 12:21:47 -0700 | [diff] [blame] | 261 | </application> |
| 262 | </manifest> |