blob: a25df870bfbffcc99bb5841debea25dd64e5492c [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" />
24
keunyoungcc449f72015-08-12 10:46:27 -070025 <permission-group
Kai25c0b852018-03-01 11:52:31 -080026 android:name="android.car.permission-group.CAR_MONITORING"
keunyoungcc449f72015-08-12 10:46:27 -070027 android:icon="@drawable/car_ic_mode"
28 android:description="@string/car_permission_desc"
29 android:label="@string/car_permission_label" />
Steve Paik875616c2016-02-05 10:55:59 -080030 <permission
Kai25c0b852018-03-01 11:52:31 -080031 android:name="android.car.permission.ADJUST_CAR_CABIN"
Steve Paik43c04a72016-07-08 19:12:09 -070032 android:protectionLevel="system|signature"
33 android:label="@string/car_permission_label_cabin"
34 android:description="@string/car_permission_desc_cabin" />
35 <permission
Steve Paik875616c2016-02-05 10:55:59 -080036 android:name="android.car.permission.CAR_CAMERA"
Steve Paik875616c2016-02-05 10:55:59 -080037 android:protectionLevel="system|signature"
38 android:label="@string/car_permission_label_camera"
39 android:description="@string/car_permission_desc_camera" />
keunyoungcc449f72015-08-12 10:46:27 -070040 <permission
Keun-young Parke54ac272016-02-16 19:02:18 -080041 android:name="android.car.permission.CAR_FUEL"
Kai25c0b852018-03-01 11:52:31 -080042 android:permissionGroup="android.car.permission-group.CAR_MONITORING"
keunyoungcc449f72015-08-12 10:46:27 -070043 android:protectionLevel="dangerous"
44 android:label="@string/car_permission_label_fuel"
45 android:description="@string/car_permission_desc_fuel" />
46 <permission
Kai25c0b852018-03-01 11:52:31 -080047 android:name="android.car.permission.ADJUST_CAR_CLIMATE"
Steve Paik66481982015-10-27 15:22:38 -070048 android:protectionLevel="system|signature"
49 android:label="@string/car_permission_label_hvac"
50 android:description="@string/car_permission_desc_hvac" />
51 <permission
Keun-young Parke54ac272016-02-16 19:02:18 -080052 android:name="android.car.permission.CAR_MILEAGE"
Kai25c0b852018-03-01 11:52:31 -080053 android:permissionGroup="android.car.permission-group.CAR_MONITORING"
54 android:protectionLevel="system|signature"
keunyoungcc449f72015-08-12 10:46:27 -070055 android:label="@string/car_permission_label_mileage"
56 android:description="@string/car_permission_desc_mileage" />
57 <permission
Keun-young Parke54ac272016-02-16 19:02:18 -080058 android:name="android.car.permission.CAR_SPEED"
keunyoungcc449f72015-08-12 10:46:27 -070059 android:permissionGroup="android.permission-group.LOCATION"
60 android:protectionLevel="dangerous"
61 android:label="@string/car_permission_label_speed"
62 android:description="@string/car_permission_desc_speed" />
63 <permission
Kai25c0b852018-03-01 11:52:31 -080064 android:name="android.car.permission.CAR_ENGINE_DETAILED"
65 android:permissionGroup="android.car.permission-group.CAR_MONITORING"
66 android:protectionLevel="system|signature"
67 android:label="@string/car_permission_label_car_engine_detailed"
68 android:description="@string/car_permission_desc_car_engine_detailed" />
69 <permission
Steve Paik289ab992017-07-11 22:40:57 -070070 android:name="android.car.permission.VEHICLE_DYNAMICS_STATE"
Kai25c0b852018-03-01 11:52:31 -080071 android:permissionGroup="android.car.permission-group.CAR_MONITORING"
72 android:protectionLevel="system|signature"
Steve Paik289ab992017-07-11 22:40:57 -070073 android:label="@string/car_permission_label_vehicle_dynamics_state"
74 android:description="@string/car_permission_desc_vehicle_dynamics_state" />
75 <permission
Keun-young Parke54ac272016-02-16 19:02:18 -080076 android:name="android.car.permission.CAR_VENDOR_EXTENSION"
keunyoungcc449f72015-08-12 10:46:27 -070077 android:protectionLevel="system|signature"
78 android:label="@string/car_permission_label_vendor_extension"
79 android:description="@string/car_permission_desc_vendor_extension" />
Sanket Agarwal3cf096a2015-10-13 14:46:31 -070080 <permission
Keun-young Parke54ac272016-02-16 19:02:18 -080081 android:name="android.car.permission.CAR_RADIO"
Sanket Agarwal3cf096a2015-10-13 14:46:31 -070082 android:protectionLevel="system|signature"
83 android:label="@string/car_permission_label_radio"
84 android:description="@string/car_permission_desc_radio" />
Vitalii Tomkiv6e5ee612016-03-09 14:57:32 -080085 <permission
86 android:name="android.car.permission.CAR_PROJECTION"
Vitalii Tomkiv6e5ee612016-03-09 14:57:32 -080087 android:protectionLevel="system|signature"
88 android:label="@string/car_permission_label_projection"
89 android:description="@string/car_permission_desc_projection" />
keunyoung1ab8e182015-09-24 09:25:22 -070090 <permission
Keun-young Parke54ac272016-02-16 19:02:18 -080091 android:name="android.car.permission.CAR_MOCK_VEHICLE_HAL"
keunyoung1ab8e182015-09-24 09:25:22 -070092 android:protectionLevel="system|signature"
93 android:label="@string/car_permission_label_mock_vehicle_hal"
94 android:description="@string/car_permission_desc_mock_vehicle_hal" />
Pavel Maltsevce4ffd92016-03-09 10:56:23 -080095 <permission
Keun-young Parke31a8b22016-03-16 17:34:08 -070096 android:name="android.car.permission.CAR_NAVIGATION_MANAGER"
Pavel Maltsevce4ffd92016-03-09 10:56:23 -080097 android:protectionLevel="system|signature"
98 android:label="@string/car_permission_car_navigation_manager"
99 android:description="@string/car_permission_desc_car_navigation_manager" />
Enrico Granata3c7a6662017-02-23 18:07:59 -0800100 <permission
Kai25c0b852018-03-01 11:52:31 -0800101 android:name="android.car.permission.CAR_DIAGNOSTICS"
102 android:permissionGroup="android.car.permission-group.CAR_MONITORING"
103 android:protectionLevel="system|signature"
104 android:label="@string/car_permission_label_diag_read"
105 android:description="@string/car_permission_desc_diag_read" />
Enrico Granata3c7a6662017-02-23 18:07:59 -0800106 <permission
Kai25c0b852018-03-01 11:52:31 -0800107 android:name="android.car.permission.CLEAR_CAR_DIAGNOSTICS"
Enrico Granata88e1c022017-04-11 15:02:25 -0700108 android:protectionLevel="system|signature"
Enrico Granata3c7a6662017-02-23 18:07:59 -0800109 android:label="@string/car_permission_label_diag_clear"
110 android:description="@string/car_permission_desc_diag_clear" />
Antonio Cortes12858a22017-03-01 07:37:17 -0800111 <permission
112 android:name="android.car.permission.VMS_PUBLISHER"
113 android:protectionLevel="system|signature"
114 android:label="@string/car_permission_label_vms_publisher"
115 android:description="@string/car_permission_desc_vms_publisher" />
116 <permission
117 android:name="android.car.permission.VMS_SUBSCRIBER"
118 android:protectionLevel="system|signature"
119 android:label="@string/car_permission_label_vms_subscriber"
120 android:description="@string/car_permission_desc_vms_subscriber" />
Ram Periathiruvadi25c16f12017-11-17 16:48:37 -0800121 <permission
122 android:name="android.car.permission.CAR_DRIVING_STATE"
123 android:protectionLevel="system|signature"
124 android:label="@string/car_permission_label_driving_state"
125 android:description="@string/car_permission_desc_driving_state" />
Keun-young Park4aeb4bf2015-12-08 18:31:33 -0800126 <!-- may replace this with system permission if proper one is defined. -->
127 <permission
Keun-young Parke54ac272016-02-16 19:02:18 -0800128 android:name="android.car.permission.CONTROL_APP_BLOCKING"
Keun-young Park4aeb4bf2015-12-08 18:31:33 -0800129 android:protectionLevel="system|signature"
130 android:label="@string/car_permission_label_control_app_blocking"
131 android:description="@string/car_permission_desc_control_app_blocking" />
132
Yao Chenc4d442f2016-04-08 11:33:47 -0700133 <permission
134 android:name="android.car.permission.CAR_CONTROL_AUDIO_VOLUME"
135 android:protectionLevel="system|signature"
136 android:label="@string/car_permission_label_audio_volume"
137 android:description="@string/car_permission_desc_audio_volume" />
138
Pavel Maltsev0477e292016-05-27 12:22:36 -0700139 <permission
Keun-young Parkfe1a8f12017-01-17 20:06:34 -0800140 android:name="android.car.permission.CAR_CONTROL_AUDIO_SETTINGS"
141 android:protectionLevel="system|signature"
142 android:label="@string/car_permission_label_audio_settings"
143 android:description="@string/car_permission_desc_audio_settings" />
144
145 <permission
Pavel Maltsev0477e292016-05-27 12:22:36 -0700146 android:name="android.car.permission.BIND_INSTRUMENT_CLUSTER_RENDERER_SERVICE"
147 android:protectionLevel="signature"
148 android:label="@string/car_permission_label_bind_instrument_cluster_rendering"
149 android:description="@string/car_permission_desc_bind_instrument_cluster_rendering"/>
150
Vitalii Tomkiv2bd06922016-07-26 11:07:48 -0700151 <permission
152 android:name="android.car.permission.BIND_CAR_INPUT_SERVICE"
153 android:protectionLevel="signature"
154 android:label="@string/car_permission_label_bind_input_service"
155 android:description="@string/car_permission_desc_bind_input_service"/>
156
Pavel Maltsev905968c2017-07-16 19:48:57 -0700157 <permission
158 android:name="android.car.permission.CAR_DISPLAY_IN_CLUSTER"
159 android:protectionLevel="system|signature"
160 android:label="@string/car_permission_car_display_in_cluster"
161 android:description="@string/car_permission_desc_car_display_in_cluster" />
162
163 <permission android:name="android.car.permission.CAR_INSTRUMENT_CLUSTER_CONTROL"
164 android:protectionLevel="system|signature"
165 android:label="@string/car_permission_car_cluster_control"
166 android:description="@string/car_permission_desc_car_cluster_control" />
167
Enrico Granata1172f882017-09-21 14:51:30 -0700168 <permission android:name="android.car.permission.STORAGE_MONITORING"
169 android:protectionLevel="system|signature"
170 android:label="@string/car_permission_label_storage_monitoring"
171 android:description="@string/car_permission_desc_storage_monitoring" />
172
Keun-young Park4727da32016-05-31 10:00:51 -0700173 <uses-permission android:name="android.permission.CALL_PHONE" />
keunyoungca515072015-07-10 12:21:47 -0700174 <uses-permission android:name="android.permission.DEVICE_POWER" />
Antonio Cortesbb73c4c2017-05-16 14:18:47 -0700175 <uses-permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS" />
Keun-young Park4727da32016-05-31 10:00:51 -0700176 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
177 <uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" />
keunyoungd32f4e62015-09-21 11:33:06 -0700178 <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING" />
Joseph Pirozzo317343d2016-01-25 10:22:37 -0800179 <uses-permission android:name="android.permission.MODIFY_DAY_NIGHT_MODE" />
Vitalii Tomkive2142e52016-04-29 11:35:26 -0700180 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
Keun-young Park4727da32016-05-31 10:00:51 -0700181 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Vitalii Tomkive2142e52016-04-29 11:35:26 -0700182 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Keun-young Park4727da32016-05-31 10:00:51 -0700183 <uses-permission android:name="android.permission.REAL_GET_TASKS" />
184 <uses-permission android:name="android.permission.REBOOT" />
185 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
186 <uses-permission android:name="android.permission.REMOVE_TASKS" />
187 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
188 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
Ram Periathiruvadi7ed84182017-01-20 15:18:08 -0800189 <uses-permission android:name="android.permission.BLUETOOTH" />
Ram Periathiruvadiacb60242017-04-13 16:19:09 -0700190 <uses-permission android:name="android.permission.MANAGE_USERS" />
Gregory Clarkd8136062017-12-11 14:27:53 -0800191 <uses-permission android:name="android.permission.LOCATION_HARDWARE" />
192 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
keunyoungca515072015-07-10 12:21:47 -0700193
194 <application android:label="Car service"
Vitalii Tomkiv860f82e2016-05-06 13:20:51 -0700195 android:directBootAware="true"
Pavel Maltsev1f1d00b2016-04-20 21:46:34 -0700196 android:allowBackup="false"
Pavel Maltsev0477e292016-05-27 12:22:36 -0700197 android:persistent="true">
keunyoungca515072015-07-10 12:21:47 -0700198
Paul Duffincb641452017-12-08 00:02:43 +0000199 <uses-library android:name="android.test.runner" />
Gregory Clarkd8136062017-12-11 14:27:53 -0800200 <service android:name=".CarService"
keunyoungca515072015-07-10 12:21:47 -0700201 android:singleUser="true">
202 <intent-filter>
Keun-young Parke54ac272016-02-16 19:02:18 -0800203 <action android:name="android.car.ICar" />
keunyoungca515072015-07-10 12:21:47 -0700204 </intent-filter>
205 </service>
Ram Periathiruvadiacb60242017-04-13 16:19:09 -0700206 <service android:name=".PerUserCarService" android:exported="false" />
Keun-young Park4727da32016-05-31 10:00:51 -0700207 <activity android:name="com.android.car.pm.ActivityBlockingActivity"
208 android:excludeFromRecents="true"
209 android:exported="false">
210 <intent-filter>
211 <action android:name="android.intent.action.MAIN" />
212 </intent-filter>
213 </activity>
keunyoungca515072015-07-10 12:21:47 -0700214 </application>
215</manifest>