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 |
Keun-young Park | e54ac27 | 2016-02-16 19:02:18 -0800 | [diff] [blame] | 26 | android:name="android.car.permission.CAR_INFORMATION" |
keunyoung | cc449f7 | 2015-08-12 10:46:27 -0700 | [diff] [blame] | 27 | android:icon="@drawable/car_ic_mode" |
| 28 | android:description="@string/car_permission_desc" |
| 29 | android:label="@string/car_permission_label" /> |
Steve Paik | 875616c | 2016-02-05 10:55:59 -0800 | [diff] [blame] | 30 | <permission |
| 31 | android:name="android.car.permission.CAR_CAMERA" |
Steve Paik | 875616c | 2016-02-05 10:55:59 -0800 | [diff] [blame] | 32 | android:protectionLevel="system|signature" |
| 33 | android:label="@string/car_permission_label_camera" |
| 34 | android:description="@string/car_permission_desc_camera" /> |
keunyoung | cc449f7 | 2015-08-12 10:46:27 -0700 | [diff] [blame] | 35 | <permission |
Keun-young Park | e54ac27 | 2016-02-16 19:02:18 -0800 | [diff] [blame] | 36 | android:name="android.car.permission.CAR_FUEL" |
| 37 | android:permissionGroup="android.car.permission.CAR_INFORMATION" |
keunyoung | cc449f7 | 2015-08-12 10:46:27 -0700 | [diff] [blame] | 38 | android:protectionLevel="dangerous" |
| 39 | android:label="@string/car_permission_label_fuel" |
| 40 | android:description="@string/car_permission_desc_fuel" /> |
| 41 | <permission |
Keun-young Park | e54ac27 | 2016-02-16 19:02:18 -0800 | [diff] [blame] | 42 | android:name="android.car.permission.CAR_HVAC" |
Steve Paik | 6648198 | 2015-10-27 15:22:38 -0700 | [diff] [blame] | 43 | android:protectionLevel="system|signature" |
| 44 | android:label="@string/car_permission_label_hvac" |
| 45 | android:description="@string/car_permission_desc_hvac" /> |
| 46 | <permission |
Keun-young Park | e54ac27 | 2016-02-16 19:02:18 -0800 | [diff] [blame] | 47 | android:name="android.car.permission.CAR_MILEAGE" |
| 48 | android:permissionGroup="android.car.permission.CAR_INFORMATION" |
keunyoung | cc449f7 | 2015-08-12 10:46:27 -0700 | [diff] [blame] | 49 | android:protectionLevel="dangerous" |
| 50 | android:label="@string/car_permission_label_mileage" |
| 51 | android:description="@string/car_permission_desc_mileage" /> |
| 52 | <permission |
Keun-young Park | e54ac27 | 2016-02-16 19:02:18 -0800 | [diff] [blame] | 53 | android:name="android.car.permission.CAR_SPEED" |
keunyoung | cc449f7 | 2015-08-12 10:46:27 -0700 | [diff] [blame] | 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 |
Keun-young Park | e54ac27 | 2016-02-16 19:02:18 -0800 | [diff] [blame] | 59 | android:name="android.car.permission.CAR_VENDOR_EXTENSION" |
keunyoung | cc449f7 | 2015-08-12 10:46:27 -0700 | [diff] [blame] | 60 | android:protectionLevel="system|signature" |
| 61 | android:label="@string/car_permission_label_vendor_extension" |
| 62 | android:description="@string/car_permission_desc_vendor_extension" /> |
Sanket Agarwal | 3cf096a | 2015-10-13 14:46:31 -0700 | [diff] [blame] | 63 | <permission |
Keun-young Park | e54ac27 | 2016-02-16 19:02:18 -0800 | [diff] [blame] | 64 | android:name="android.car.permission.CAR_RADIO" |
Sanket Agarwal | 3cf096a | 2015-10-13 14:46:31 -0700 | [diff] [blame] | 65 | android:protectionLevel="system|signature" |
| 66 | android:label="@string/car_permission_label_radio" |
| 67 | android:description="@string/car_permission_desc_radio" /> |
Vitalii Tomkiv | 6e5ee61 | 2016-03-09 14:57:32 -0800 | [diff] [blame] | 68 | <permission |
| 69 | android:name="android.car.permission.CAR_PROJECTION" |
Vitalii Tomkiv | 6e5ee61 | 2016-03-09 14:57:32 -0800 | [diff] [blame] | 70 | android:protectionLevel="system|signature" |
| 71 | android:label="@string/car_permission_label_projection" |
| 72 | android:description="@string/car_permission_desc_projection" /> |
keunyoung | 1ab8e18 | 2015-09-24 09:25:22 -0700 | [diff] [blame] | 73 | <permission |
Keun-young Park | e54ac27 | 2016-02-16 19:02:18 -0800 | [diff] [blame] | 74 | android:name="android.car.permission.CAR_MOCK_VEHICLE_HAL" |
keunyoung | 1ab8e18 | 2015-09-24 09:25:22 -0700 | [diff] [blame] | 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" /> |
Pavel Maltsev | ce4ffd9 | 2016-03-09 10:56:23 -0800 | [diff] [blame] | 78 | <permission |
Keun-young Park | e31a8b2 | 2016-03-16 17:34:08 -0700 | [diff] [blame] | 79 | android:name="android.car.permission.CAR_NAVIGATION_MANAGER" |
Pavel Maltsev | ce4ffd9 | 2016-03-09 10:56:23 -0800 | [diff] [blame] | 80 | android:protectionLevel="system|signature" |
| 81 | android:label="@string/car_permission_car_navigation_manager" |
| 82 | android:description="@string/car_permission_desc_car_navigation_manager" /> |
keunyoung | 1ab8e18 | 2015-09-24 09:25:22 -0700 | [diff] [blame] | 83 | |
Keun-young Park | 4aeb4bf | 2015-12-08 18:31:33 -0800 | [diff] [blame] | 84 | <!-- may replace this with system permission if proper one is defined. --> |
| 85 | <permission |
Keun-young Park | e54ac27 | 2016-02-16 19:02:18 -0800 | [diff] [blame] | 86 | android:name="android.car.permission.CONTROL_APP_BLOCKING" |
Keun-young Park | 4aeb4bf | 2015-12-08 18:31:33 -0800 | [diff] [blame] | 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 | |
Yao Chen | c4d442f | 2016-04-08 11:33:47 -0700 | [diff] [blame] | 91 | <permission |
| 92 | android:name="android.car.permission.CAR_CONTROL_AUDIO_VOLUME" |
| 93 | android:protectionLevel="system|signature" |
| 94 | android:label="@string/car_permission_label_audio_volume" |
| 95 | android:description="@string/car_permission_desc_audio_volume" /> |
| 96 | |
Pavel Maltsev | 0477e29 | 2016-05-27 12:22:36 -0700 | [diff] [blame^] | 97 | <permission |
| 98 | android:name="android.car.permission.BIND_INSTRUMENT_CLUSTER_RENDERER_SERVICE" |
| 99 | android:protectionLevel="signature" |
| 100 | android:label="@string/car_permission_label_bind_instrument_cluster_rendering" |
| 101 | android:description="@string/car_permission_desc_bind_instrument_cluster_rendering"/> |
| 102 | |
keunyoung | ca51507 | 2015-07-10 12:21:47 -0700 | [diff] [blame] | 103 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 104 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> |
| 105 | <uses-permission android:name="android.permission.DEVICE_POWER" /> |
| 106 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| 107 | <uses-permission android:name="android.permission.REBOOT" /> |
keunyoung | d32f4e6 | 2015-09-21 11:33:06 -0700 | [diff] [blame] | 108 | <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING" /> |
Joseph Pirozzo | 317343d | 2016-01-25 10:22:37 -0800 | [diff] [blame] | 109 | <uses-permission android:name="android.permission.MODIFY_DAY_NIGHT_MODE" /> |
Keun-young Park | a28d7b2 | 2016-02-29 16:54:29 -0800 | [diff] [blame] | 110 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
Vitalii Tomkiv | e2142e5 | 2016-04-29 11:35:26 -0700 | [diff] [blame] | 111 | <uses-permission android:name="android.permission.CALL_PHONE" /> |
| 112 | <uses-permission android:name="android.permission.READ_CALL_LOG" /> |
| 113 | <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> |
| 114 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
keunyoung | ca51507 | 2015-07-10 12:21:47 -0700 | [diff] [blame] | 115 | |
| 116 | <application android:label="Car service" |
Vitalii Tomkiv | 860f82e | 2016-05-06 13:20:51 -0700 | [diff] [blame] | 117 | android:directBootAware="true" |
Pavel Maltsev | 1f1d00b | 2016-04-20 21:46:34 -0700 | [diff] [blame] | 118 | android:allowBackup="false" |
Pavel Maltsev | 0477e29 | 2016-05-27 12:22:36 -0700 | [diff] [blame^] | 119 | android:persistent="true"> |
keunyoung | ca51507 | 2015-07-10 12:21:47 -0700 | [diff] [blame] | 120 | |
| 121 | <service android:name=".CarService" |
| 122 | android:singleUser="true"> |
| 123 | <intent-filter> |
Keun-young Park | e54ac27 | 2016-02-16 19:02:18 -0800 | [diff] [blame] | 124 | <action android:name="android.car.ICar" /> |
keunyoung | ca51507 | 2015-07-10 12:21:47 -0700 | [diff] [blame] | 125 | </intent-filter> |
| 126 | </service> |
| 127 | <receiver android:name=".BootReceiver"> |
| 128 | <intent-filter android:priority="1000"> |
| 129 | <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/> |
| 130 | <action android:name="android.intent.action.BOOT_COMPLETED"/> |
| 131 | </intent-filter> |
| 132 | </receiver> |
| 133 | </application> |
| 134 | </manifest> |