blob: 95f5d1b83ca73a3e90e5f892494f745c743afdae [file] [log] [blame]
Nick Pelly09e9cba2009-07-10 18:45:13 -07001<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -08003 package="com.android.bluetooth"
Jaikumar Ganeshff4f17b2011-12-19 15:54:50 -08004 android:sharedUserId="android.uid.bluetooth">
Jeff Hamilton5127e8e2010-02-11 16:25:47 -06005
6 <original-package android:name="com.android.bluetooth" />
7
Nick Pelly09e9cba2009-07-10 18:45:13 -07008 <!-- Allows access to the Bluetooth Share Manager -->
9 <permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE"
10 android:label="@string/permlab_bluetoothShareManager"
11 android:description="@string/permdesc_bluetoothShareManager"
12 android:protectionLevel="signature" />
Martijn Coenen8099f5e2012-04-06 13:47:52 -070013
14 <!-- Allows temporarily whitelisting Bluetooth addresses for sharing -->
15 <permission android:name="com.android.permission.WHITELIST_BLUETOOTH_DEVICE"
16 android:label="@string/permlab_bluetoothWhitelist"
17 android:description="@string/permdesc_bluetoothWhitelist"
18 android:protectionLevel="signature" />
19
Nick Pelly09e9cba2009-07-10 18:45:13 -070020 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
21 <uses-permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE" />
22 <uses-permission android:name="android.permission.INTERNET" />
23 <uses-permission android:name="android.permission.BLUETOOTH" />
24 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
Wei Wang871bee02014-02-28 14:45:31 -080025 <uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" />
Nick Pelly09e9cba2009-07-10 18:45:13 -070026 <uses-permission android:name="android.permission.WAKE_LOCK" />
27 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Jackson Fan2c282d52009-07-19 12:25:14 +080028 <uses-permission android:name="android.permission.READ_CONTACTS" />
Daniel Lehmann4425b782012-03-09 20:43:54 -080029 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Jackson Fan2c282d52009-07-19 12:25:14 +080030 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
31 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Andres Moralescfaffa82014-03-11 08:56:54 -070032 <uses-permission android:name="android.permission.NFC_HANDOVER_STATUS" />
Matthew Xie6c91bc02012-02-16 18:47:53 -080033 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
Jaikumar Ganesha11b96d2012-02-27 10:30:33 -080034 <uses-permission android:name="android.permission.NET_ADMIN" />
Matthew Xie6c91bc02012-02-16 18:47:53 -080035 <uses-permission android:name="android.permission.CALL_PRIVILEGED" />
36 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
fredc6654f5c2012-04-12 00:18:52 -070037 <uses-permission android:name="android.permission.NET_TUNNELING" />
38 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
39 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
Matthew Xie09a49912012-07-12 15:55:22 -070040 <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
Matthew Xie0e463622012-09-26 00:12:26 -070041 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
Matthew Xie344036b2012-10-01 21:49:48 -070042 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
43 <uses-permission android:name="android.permission.BLUETOOTH_STACK" />
Zhihai Xu37510152012-10-08 18:04:32 -070044 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/>
45 <uses-permission android:name="android.permission.MANAGE_USERS"/>
Martijn Coenen19d8d542012-10-30 15:15:05 -070046 <uses-permission android:name="com.google.android.gallery3d.permission.GALLERY_PROVIDER"/>
47 <uses-permission android:name="com.android.gallery3d.permission.GALLERY_PROVIDER"/>
Matthew Xiefd6603b2013-07-18 18:18:36 -070048 <uses-permission android:name="android.permission.MMS_SEND_OUTBOX_MSG"/>
49 <uses-permission android:name="android.permission.RECEIVE_SMS" />
Matthew Xiefd6603b2013-07-18 18:18:36 -070050 <uses-permission android:name="android.permission.SEND_SMS" />
51 <uses-permission android:name="android.permission.READ_SMS" />
52 <uses-permission android:name="android.permission.WRITE_SMS" />
53 <uses-permission android:name="android.permission.READ_CONTACTS" />
Kim Schulz70be0052013-08-22 10:57:59 +020054 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Jean-Michel Trivi5509d362013-09-17 20:21:22 -070055 <uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" />
Zhihai Xu37510152012-10-08 18:04:32 -070056
fredcc7a57f32012-05-07 14:20:35 -070057 <!-- For PBAP Owner Vcard Info -->
58 <uses-permission android:name="android.permission.READ_PROFILE"/>
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080059 <application
fredc6654f5c2012-04-12 00:18:52 -070060 android:name=".btservice.AdapterApp"
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080061 android:icon="@drawable/bt_share"
fredc6654f5c2012-04-12 00:18:52 -070062 android:persistent="false"
Nick Pelly09e9cba2009-07-10 18:45:13 -070063 android:label="@string/app_name">
64 <uses-library android:name="javax.obex" />
Tao Liejun6769b592009-07-14 15:55:04 -070065 <provider android:name=".opp.BluetoothOppProvider"
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080066 android:authorities="com.android.bluetooth.opp"
Nick Kralevichea0b4f92012-07-30 12:41:30 -070067 android:exported="true"
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080068 android:process="@string/process">
Tao Liejun1ac55072009-08-07 15:01:24 +080069 <path-permission
Matthew Xie2819c1d2013-12-06 12:19:36 -080070 android:pathPrefix="/btopp"
Tao Liejun1ac55072009-08-07 15:01:24 +080071 android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" />
72 </provider>
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080073 <service
74 android:process="@string/process"
fredc6654f5c2012-04-12 00:18:52 -070075 android:name = ".btservice.AdapterService">
76 <intent-filter>
77 <action android:name="android.bluetooth.IBluetooth" />
78 </intent-filter>
79 </service>
80 <service
81 android:process="@string/process"
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080082 android:name=".opp.BluetoothOppService"
fredca7e8ef32012-05-10 22:07:32 -070083 android:permission="android.permission.ACCESS_BLUETOOTH_SHARE"
84 android:enabled="@bool/profile_supported_opp"/>
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080085 <receiver
86 android:process="@string/process"
Kausik Sinnaswamyd5708932012-04-09 20:02:49 +053087 android:exported="true"
fredca7e8ef32012-05-10 22:07:32 -070088 android:name=".opp.BluetoothOppReceiver"
89 android:enabled="@bool/profile_supported_opp">
Nick Pelly09e9cba2009-07-10 18:45:13 -070090 <intent-filter>
Nick Pellybd540682009-09-11 11:46:59 -070091 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
jhtop.kimef697b02011-08-02 10:59:35 +090092 <!--action android:name="android.intent.action.BOOT_COMPLETED" /-->
Jake Hamby1ed96d52011-01-25 19:46:26 -080093 <action android:name="android.btopp.intent.action.OPEN_RECEIVED_FILES" />
Martijn Coenen8099f5e2012-04-06 13:47:52 -070094 </intent-filter>
95 </receiver>
96 <receiver
97 android:process="@string/process"
98 android:name=".opp.BluetoothOppHandoverReceiver"
99 android:permission="com.android.permission.WHITELIST_BLUETOOTH_DEVICE">
100 <intent-filter>
101 <action android:name="android.btopp.intent.action.WHITELIST_DEVICE" />
Martijn Coenen584dfb22012-05-16 13:58:02 -0700102 <action android:name="android.btopp.intent.action.STOP_HANDOVER_TRANSFER" />
Nick Pelly09e9cba2009-07-10 18:45:13 -0700103 </intent-filter>
Martijn Coenen03f25a22012-05-18 13:43:30 -0700104 <intent-filter>
Andres Moralescfaffa82014-03-11 08:56:54 -0700105 <action android:name="android.nfc.handover.intent.action.HANDOVER_SEND" />
Martijn Coenen03f25a22012-05-18 13:43:30 -0700106 <category android:name="android.intent.category.DEFAULT" />
107 <data android:mimeType="*/*" />
108 </intent-filter>
109 <intent-filter>
Andres Moralescfaffa82014-03-11 08:56:54 -0700110 <action android:name="android.nfc.handover.intent.action.HANDOVER_SEND_MULTIPLE" />
Martijn Coenen03f25a22012-05-18 13:43:30 -0700111 <category android:name="android.intent.category.DEFAULT" />
112 <data android:mimeType="*/*" />
113 </intent-filter>
Nick Pelly09e9cba2009-07-10 18:45:13 -0700114 </receiver>
Tao Liejun6769b592009-07-14 15:55:04 -0700115 <activity android:name=".opp.BluetoothOppLauncherActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700116 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700117 android:theme="@android:style/Theme.Holo.Dialog"
118 android:label="@string/bt_share_picker_label"
119 android:enabled="@bool/profile_supported_opp">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700120 <intent-filter>
121 <action android:name="android.intent.action.SEND" />
122 <category android:name="android.intent.category.DEFAULT" />
123 <data android:mimeType="image/*" />
124 <data android:mimeType="video/*" />
Jackson Fan239bc522009-07-27 15:58:22 +0800125 <data android:mimeType="audio/*" />
Lixin Yue6ef730f2009-12-17 16:31:22 +0800126 <data android:mimeType="text/x-vcard" />
Tao Liejunfb8562d2009-11-18 11:02:59 -0600127 <data android:mimeType="text/plain" />
128 <data android:mimeType="text/html" />
Matthew Xiec0b728a2013-07-31 00:52:16 -0700129 <data android:mimeType="text/xml" />
Tao Liejunfb8562d2009-11-18 11:02:59 -0600130 <data android:mimeType="application/zip" />
131 <data android:mimeType="application/vnd.ms-excel" />
132 <data android:mimeType="application/msword" />
133 <data android:mimeType="application/vnd.ms-powerpoint" />
134 <data android:mimeType="application/pdf" />
Sungmin Choi5d574612012-11-30 15:59:30 +0900135 <data android:mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />
136 <data android:mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" />
137 <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" />
Nick Pelly09e9cba2009-07-10 18:45:13 -0700138 </intent-filter>
139 <intent-filter>
Tao Liejun1ac55072009-08-07 15:01:24 +0800140 <action android:name="android.intent.action.SEND_MULTIPLE" />
Nick Pelly09e9cba2009-07-10 18:45:13 -0700141 <category android:name="android.intent.category.DEFAULT" />
142 <data android:mimeType="image/*" />
143 <data android:mimeType="video/*" />
144 <data android:mimeType="x-mixmedia/*" />
Lixin Yue6ef730f2009-12-17 16:31:22 +0800145 <data android:mimeType="text/x-vcard" />
Nick Pelly09e9cba2009-07-10 18:45:13 -0700146 </intent-filter>
147 <intent-filter>
148 <action android:name="android.btopp.intent.action.OPEN" />
149 <category android:name="android.intent.category.DEFAULT" />
150 <data android:mimeType="vnd.android.cursor.item/vnd.android.btopp" />
151 </intent-filter>
152 </activity>
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800153 <activity android:name=".opp.BluetoothOppBtEnableActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700154 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800155 android:excludeFromRecents="true"
fredca7e8ef32012-05-10 22:07:32 -0700156 android:theme="@*android:style/Theme.Holo.Dialog.Alert"
157 android:enabled="@bool/profile_supported_opp">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700158 </activity>
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800159 <activity android:name=".opp.BluetoothOppBtErrorActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700160 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800161 android:excludeFromRecents="true"
Jaikumar Ganeshb27df662011-01-10 15:21:53 -0800162 android:theme="@*android:style/Theme.Holo.Dialog.Alert">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700163 </activity>
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800164 <activity android:name=".opp.BluetoothOppBtEnablingActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700165 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800166 android:excludeFromRecents="true"
fredca7e8ef32012-05-10 22:07:32 -0700167 android:theme="@*android:style/Theme.Holo.Dialog.Alert"
168 android:enabled="@bool/profile_supported_opp">
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800169 </activity>
Jaikumar Ganesh53647ab2009-09-11 16:20:52 -0700170 <activity android:name=".opp.BluetoothOppIncomingFileConfirmActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700171 android:process="@string/process"
Jaikumar Ganesh53647ab2009-09-11 16:20:52 -0700172 android:excludeFromRecents="true"
fredca7e8ef32012-05-10 22:07:32 -0700173 android:theme="@*android:style/Theme.Holo.Dialog.Alert"
174 android:enabled="@bool/profile_supported_opp">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700175 </activity>
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800176 <activity android:name=".opp.BluetoothOppTransferActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700177 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800178 android:excludeFromRecents="true"
fredca7e8ef32012-05-10 22:07:32 -0700179 android:theme="@*android:style/Theme.Holo.Dialog.Alert"
180 android:enabled="@bool/profile_supported_opp">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700181 </activity>
Tao Liejun6769b592009-07-14 15:55:04 -0700182 <activity android:name=".opp.BluetoothOppLiveFolder"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700183 android:process="@string/process"
Mike Cleronae70ee22009-09-29 13:03:26 -0700184 android:icon="@drawable/ic_launcher_folder_bluetooth"
fredca7e8ef32012-05-10 22:07:32 -0700185 android:label="@string/btopp_live_folder"
186 android:enabled="@bool/profile_supported_opp">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700187 <intent-filter>
188 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
189 <category android:name="android.intent.category.DEFAULT" />
190 </intent-filter>
191 </activity>
Lixin Yue5cc61792010-02-26 17:35:23 +0800192 <activity android:name=".opp.BluetoothOppTransferHistory"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700193 android:process="@string/process"
Lixin Yue5cc61792010-02-26 17:35:23 +0800194 android:label=""
195 android:excludeFromRecents="true"
fredca7e8ef32012-05-10 22:07:32 -0700196 android:configChanges="orientation|keyboardHidden"
197 android:enabled="@bool/profile_supported_opp">
Lixin Yue5cc61792010-02-26 17:35:23 +0800198 </activity>
Jackson Fan2c282d52009-07-19 12:25:14 +0800199 <activity android:name=".pbap.BluetoothPbapActivity"
Jaikumar Ganesh0bd5f7b2010-03-24 10:36:06 -0700200 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800201 android:excludeFromRecents="true"
fredca7e8ef32012-05-10 22:07:32 -0700202 android:theme="@*android:style/Theme.Holo.Dialog.Alert"
203 android:enabled="@bool/profile_supported_pbap">
Jackson Fan2c282d52009-07-19 12:25:14 +0800204 <intent-filter>
Lixin Yued8961622009-07-28 10:45:23 +0800205 <category android:name="android.intent.category.DEFAULT" />
Jackson Fan2c282d52009-07-19 12:25:14 +0800206 </intent-filter>
207 </activity>
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -0800208 <service
209 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700210 android:name=".pbap.BluetoothPbapService"
211 android:enabled="@bool/profile_supported_pbap" >
Jaikumar Ganeshb8c66032010-10-07 00:39:15 +0200212 <intent-filter>
213 <action android:name="android.bluetooth.IBluetoothPbap" />
214 </intent-filter>
Jackson Fan2c282d52009-07-19 12:25:14 +0800215 </service>
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -0800216 <receiver
217 android:process="@string/process"
Kausik Sinnaswamyd5708932012-04-09 20:02:49 +0530218 android:exported="true"
fredca7e8ef32012-05-10 22:07:32 -0700219 android:name=".pbap.BluetoothPbapReceiver"
220 android:enabled="@bool/profile_supported_pbap">
Jackson Fan2c282d52009-07-19 12:25:14 +0800221 <intent-filter>
Nick Pellybd540682009-09-11 11:46:59 -0700222 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED"/>
Matthew Xie7eab97d2011-06-28 13:53:56 -0700223 <action android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REPLY" />
224 <category android:name="android.intent.category.DEFAULT" />
Jackson Fan2c282d52009-07-19 12:25:14 +0800225 </intent-filter>
226 </receiver>
Matthew Xiefd6603b2013-07-18 18:18:36 -0700227 <service
228 android:process="@string/process"
229 android:name=".map.BluetoothMapService"
230 android:enabled="@bool/profile_supported_map" >
231 <intent-filter>
232 <action android:name="android.bluetooth.IBluetoothMap" />
233 </intent-filter>
234 </service>
Matthew Xie6c91bc02012-02-16 18:47:53 -0800235 <service
236 android:process="@string/process"
Ganesh Ganapathi Batta03b83862013-02-05 15:38:27 -0800237 android:name = ".gatt.GattService"
238 android:enabled="@bool/profile_supported_gatt">
239 <intent-filter>
240 <action android:name="android.bluetooth.IBluetoothGatt" />
241 </intent-filter>
242 </service>
243 <service
244 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700245 android:name = ".hfp.HeadsetService"
246 android:enabled="@bool/profile_supported_hs_hfp">
Matthew Xie6c91bc02012-02-16 18:47:53 -0800247 <intent-filter>
248 <action android:name="android.bluetooth.IBluetoothHeadset" />
249 </intent-filter>
250 </service>
251 <service
252 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700253 android:name = ".a2dp.A2dpService"
254 android:enabled="@bool/profile_supported_a2dp">
Matthew Xie6c91bc02012-02-16 18:47:53 -0800255 <intent-filter>
256 <action android:name="android.bluetooth.IBluetoothA2dp" />
257 </intent-filter>
258 </service>
Matthew Xie35207a52012-03-21 23:11:40 -0700259 <service
260 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700261 android:name = ".hid.HidService"
262 android:enabled="@bool/profile_supported_hid">
Matthew Xie35207a52012-03-21 23:11:40 -0700263 <intent-filter>
264 <action android:name="android.bluetooth.IBluetoothInputDevice" />
265 </intent-filter>
266 </service>
Matthew Xie676cb1b2012-03-22 17:32:29 -0700267 <service
268 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700269 android:name = ".hdp.HealthService"
270 android:enabled="@bool/profile_supported_hdp">
Matthew Xie676cb1b2012-03-22 17:32:29 -0700271 <intent-filter>
272 <action android:name="android.bluetooth.IBluetoothHealth" />
273 </intent-filter>
274 </service>
fredc6654f5c2012-04-12 00:18:52 -0700275 <service
276 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700277 android:name = ".pan.PanService"
278 android:enabled="@bool/profile_supported_pan">
fredc6654f5c2012-04-12 00:18:52 -0700279 <intent-filter>
280 <action android:name="android.bluetooth.IBluetoothPan" />
281 </intent-filter>
282 </service>
Nick Pelly09e9cba2009-07-10 18:45:13 -0700283 </application>
284</manifest>