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" /> |
| 24 | |
keunyoung | cc449f7 | 2015-08-12 10:46:27 -0700 | [diff] [blame] | 25 | <permission-group |
| 26 | android:name="android.support.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 | |
| 31 | <permission |
| 32 | android:name="android.support.car.permission.CAR_FUEL" |
| 33 | android:permissionGroup="android.support.car.permission.CAR_INFORMATION" |
| 34 | android:protectionLevel="dangerous" |
| 35 | android:label="@string/car_permission_label_fuel" |
| 36 | android:description="@string/car_permission_desc_fuel" /> |
| 37 | <permission |
Keun-young Park | 4aeb4bf | 2015-12-08 18:31:33 -0800 | [diff] [blame^] | 38 | android:name="android.support.car.permission.CAR_HVAC" |
Steve Paik | 6648198 | 2015-10-27 15:22:38 -0700 | [diff] [blame] | 39 | android:permissionGroup="android.support.car.permission.CAR_INFORMATION" |
| 40 | android:protectionLevel="system|signature" |
| 41 | android:label="@string/car_permission_label_hvac" |
| 42 | android:description="@string/car_permission_desc_hvac" /> |
| 43 | <permission |
keunyoung | cc449f7 | 2015-08-12 10:46:27 -0700 | [diff] [blame] | 44 | android:name="android.support.car.permission.CAR_MILEAGE" |
| 45 | android:permissionGroup="android.support.car.permission.CAR_INFORMATION" |
| 46 | android:protectionLevel="dangerous" |
| 47 | android:label="@string/car_permission_label_mileage" |
| 48 | android:description="@string/car_permission_desc_mileage" /> |
| 49 | <permission |
| 50 | android:name="android.support.car.permission.CAR_SPEED" |
| 51 | android:permissionGroup="android.permission-group.LOCATION" |
| 52 | android:protectionLevel="dangerous" |
| 53 | android:label="@string/car_permission_label_speed" |
| 54 | android:description="@string/car_permission_desc_speed" /> |
| 55 | <permission |
| 56 | android:name="android.support.car.permission.CAR_VENDOR_EXTENSION" |
| 57 | android:permissionGroup="android.support.car.permission.CAR_INFORMATION" |
| 58 | android:protectionLevel="system|signature" |
| 59 | android:label="@string/car_permission_label_vendor_extension" |
| 60 | android:description="@string/car_permission_desc_vendor_extension" /> |
Sanket Agarwal | 3cf096a | 2015-10-13 14:46:31 -0700 | [diff] [blame] | 61 | <permission |
Keun-young Park | 4aeb4bf | 2015-12-08 18:31:33 -0800 | [diff] [blame^] | 62 | android:name="android.support.car.permission.CAR_RADIO" |
Sanket Agarwal | 3cf096a | 2015-10-13 14:46:31 -0700 | [diff] [blame] | 63 | android:permissionGroup="android.support.car.permission.CAR_INFORMATION" |
| 64 | android:protectionLevel="system|signature" |
| 65 | android:label="@string/car_permission_label_radio" |
| 66 | android:description="@string/car_permission_desc_radio" /> |
keunyoung | cc449f7 | 2015-08-12 10:46:27 -0700 | [diff] [blame] | 67 | |
keunyoung | 1ab8e18 | 2015-09-24 09:25:22 -0700 | [diff] [blame] | 68 | <permission |
| 69 | android:name="android.support.car.permission.CAR_MOCK_VEHICLE_HAL" |
| 70 | android:protectionLevel="system|signature" |
| 71 | android:label="@string/car_permission_label_mock_vehicle_hal" |
| 72 | android:description="@string/car_permission_desc_mock_vehicle_hal" /> |
| 73 | |
Keun-young Park | 4aeb4bf | 2015-12-08 18:31:33 -0800 | [diff] [blame^] | 74 | <!-- may replace this with system permission if proper one is defined. --> |
| 75 | <permission |
| 76 | android:name="android.support.car.permission.CONTROL_APP_BLOCKING" |
| 77 | android:protectionLevel="system|signature" |
| 78 | android:label="@string/car_permission_label_control_app_blocking" |
| 79 | android:description="@string/car_permission_desc_control_app_blocking" /> |
| 80 | |
keunyoung | ca51507 | 2015-07-10 12:21:47 -0700 | [diff] [blame] | 81 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 82 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> |
| 83 | <uses-permission android:name="android.permission.DEVICE_POWER" /> |
| 84 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| 85 | <uses-permission android:name="android.permission.REBOOT" /> |
keunyoung | d32f4e6 | 2015-09-21 11:33:06 -0700 | [diff] [blame] | 86 | <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING" /> |
keunyoung | ca51507 | 2015-07-10 12:21:47 -0700 | [diff] [blame] | 87 | |
| 88 | <application android:label="Car service" |
| 89 | android:allowBackup="false" |
| 90 | android:persistent="true"> |
| 91 | |
| 92 | <service android:name=".CarService" |
| 93 | android:singleUser="true"> |
| 94 | <intent-filter> |
| 95 | <action android:name="android.support.car.ICar" /> |
| 96 | </intent-filter> |
| 97 | </service> |
| 98 | <receiver android:name=".BootReceiver"> |
| 99 | <intent-filter android:priority="1000"> |
| 100 | <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/> |
| 101 | <action android:name="android.intent.action.BOOT_COMPLETED"/> |
| 102 | </intent-filter> |
| 103 | </receiver> |
| 104 | </application> |
| 105 | </manifest> |