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" /> 24 25 <permission-group 26 android:name="android.car.permission.CAR_INFORMATION" 27 android:icon="@drawable/car_ic_mode" 28 android:description="@string/car_permission_desc" 29 android:label="@string/car_permission_label" /> 30 <permission 31 android:name="android.car.permission.CAR_CAMERA" 32 android:protectionLevel="system|signature" 33 android:label="@string/car_permission_label_camera" 34 android:description="@string/car_permission_desc_camera" /> 35 <permission 36 android:name="android.car.permission.CAR_FUEL" 37 android:permissionGroup="android.car.permission.CAR_INFORMATION" 38 android:protectionLevel="dangerous" 39 android:label="@string/car_permission_label_fuel" 40 android:description="@string/car_permission_desc_fuel" /> 41 <permission 42 android:name="android.car.permission.CAR_HVAC" 43 android:protectionLevel="system|signature" 44 android:label="@string/car_permission_label_hvac" 45 android:description="@string/car_permission_desc_hvac" /> 46 <permission 47 android:name="android.car.permission.CAR_MILEAGE" 48 android:permissionGroup="android.car.permission.CAR_INFORMATION" 49 android:protectionLevel="dangerous" 50 android:label="@string/car_permission_label_mileage" 51 android:description="@string/car_permission_desc_mileage" /> 52 <permission 53 android:name="android.car.permission.CAR_SPEED" 54 android:permissionGroup="android.permission-group.LOCATION" 55 android:protectionLevel="dangerous" 56 android:label="@string/car_permission_label_speed" 57 android:description="@string/car_permission_desc_speed" /> 58 <permission 59 android:name="android.car.permission.CAR_VENDOR_EXTENSION" 60 android:protectionLevel="system|signature" 61 android:label="@string/car_permission_label_vendor_extension" 62 android:description="@string/car_permission_desc_vendor_extension" /> 63 <permission 64 android:name="android.car.permission.CAR_RADIO" 65 android:protectionLevel="system|signature" 66 android:label="@string/car_permission_label_radio" 67 android:description="@string/car_permission_desc_radio" /> 68 <permission 69 android:name="android.car.permission.CAR_PROJECTION" 70 android:protectionLevel="system|signature" 71 android:label="@string/car_permission_label_projection" 72 android:description="@string/car_permission_desc_projection" /> 73 <permission 74 android:name="android.car.permission.CAR_MOCK_VEHICLE_HAL" 75 android:protectionLevel="system|signature" 76 android:label="@string/car_permission_label_mock_vehicle_hal" 77 android:description="@string/car_permission_desc_mock_vehicle_hal" /> 78 <permission 79 android:name="android.car.permission.CAR_NAVIGATION_MANAGER" 80 android:protectionLevel="system|signature" 81 android:label="@string/car_permission_car_navigation_manager" 82 android:description="@string/car_permission_desc_car_navigation_manager" /> 83 84 <!-- may replace this with system permission if proper one is defined. --> 85 <permission 86 android:name="android.car.permission.CONTROL_APP_BLOCKING" 87 android:protectionLevel="system|signature" 88 android:label="@string/car_permission_label_control_app_blocking" 89 android:description="@string/car_permission_desc_control_app_blocking" /> 90 91 <uses-permission android:name="android.permission.WRITE_SETTINGS" /> 92 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> 93 <uses-permission android:name="android.permission.DEVICE_POWER" /> 94 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 95 <uses-permission android:name="android.permission.REBOOT" /> 96 <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING" /> 97 <uses-permission android:name="android.permission.MODIFY_DAY_NIGHT_MODE" /> 98 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> 99 100 <application android:label="Car service" 101 android:directBootAware="true" 102 android:allowBackup="false" 103 android:persistent="true"> 104 105 <service android:name=".CarService" 106 android:singleUser="true"> 107 <intent-filter> 108 <action android:name="android.car.ICar" /> 109 </intent-filter> 110 </service> 111 <receiver android:name=".BootReceiver"> 112 <intent-filter android:priority="1000"> 113 <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/> 114 <action android:name="android.intent.action.BOOT_COMPLETED"/> 115 </intent-filter> 116 </receiver> 117 </application> 118 </manifest> 119