blob: 0c24e703834df7c70c9f406de19d19924ce19fcd [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
20 <!-- Allows receiving handover status broadcasts from Bluetooth -->,
21 <permission android:name="com.android.permission.HANDOVER_STATUS"
22 android:label="@string/permlab_handoverStatus"
23 android:description="@string/permdesc_handoverStatus"
24 android:protectionLevel="signature" />
25
Nick Pelly09e9cba2009-07-10 18:45:13 -070026 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
27 <uses-permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE" />
28 <uses-permission android:name="android.permission.INTERNET" />
29 <uses-permission android:name="android.permission.BLUETOOTH" />
30 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
Wei Wang871bee02014-02-28 14:45:31 -080031 <uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" />
Nick Pelly09e9cba2009-07-10 18:45:13 -070032 <uses-permission android:name="android.permission.WAKE_LOCK" />
33 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Jackson Fan2c282d52009-07-19 12:25:14 +080034 <uses-permission android:name="android.permission.READ_CONTACTS" />
Daniel Lehmann4425b782012-03-09 20:43:54 -080035 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Jackson Fan2c282d52009-07-19 12:25:14 +080036 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
37 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Martijn Coenen8099f5e2012-04-06 13:47:52 -070038 <uses-permission android:name="com.android.permission.HANDOVER_STATUS" />
Matthew Xie6c91bc02012-02-16 18:47:53 -080039 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
Prem Kumar87896dd2014-04-14 10:16:15 -070040 <uses-permission android:name="android.permission.WRITE_APN_SETTINGS" />
Jaikumar Ganesha11b96d2012-02-27 10:30:33 -080041 <uses-permission android:name="android.permission.NET_ADMIN" />
Matthew Xie6c91bc02012-02-16 18:47:53 -080042 <uses-permission android:name="android.permission.CALL_PRIVILEGED" />
43 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
fredc6654f5c2012-04-12 00:18:52 -070044 <uses-permission android:name="android.permission.NET_TUNNELING" />
45 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
46 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
Matthew Xie09a49912012-07-12 15:55:22 -070047 <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
Matthew Xie0e463622012-09-26 00:12:26 -070048 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
Matthew Xie344036b2012-10-01 21:49:48 -070049 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
50 <uses-permission android:name="android.permission.BLUETOOTH_STACK" />
Zhihai Xu37510152012-10-08 18:04:32 -070051 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/>
52 <uses-permission android:name="android.permission.MANAGE_USERS"/>
Martijn Coenen19d8d542012-10-30 15:15:05 -070053 <uses-permission android:name="com.google.android.gallery3d.permission.GALLERY_PROVIDER"/>
54 <uses-permission android:name="com.android.gallery3d.permission.GALLERY_PROVIDER"/>
Matthew Xiefd6603b2013-07-18 18:18:36 -070055 <uses-permission android:name="android.permission.MMS_SEND_OUTBOX_MSG"/>
56 <uses-permission android:name="android.permission.RECEIVE_SMS" />
Matthew Xiefd6603b2013-07-18 18:18:36 -070057 <uses-permission android:name="android.permission.SEND_SMS" />
58 <uses-permission android:name="android.permission.READ_SMS" />
59 <uses-permission android:name="android.permission.WRITE_SMS" />
60 <uses-permission android:name="android.permission.READ_CONTACTS" />
Kim Schulz70be0052013-08-22 10:57:59 +020061 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Jean-Michel Trivi5509d362013-09-17 20:21:22 -070062 <uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" />
Zhihai Xu37510152012-10-08 18:04:32 -070063
fredcc7a57f32012-05-07 14:20:35 -070064 <!-- For PBAP Owner Vcard Info -->
65 <uses-permission android:name="android.permission.READ_PROFILE"/>
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080066 <application
fredc6654f5c2012-04-12 00:18:52 -070067 android:name=".btservice.AdapterApp"
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080068 android:icon="@drawable/bt_share"
fredc6654f5c2012-04-12 00:18:52 -070069 android:persistent="false"
Alexandra Gherghina16fab072014-04-11 11:28:03 +000070 android:label="@string/app_name">
Nick Pelly09e9cba2009-07-10 18:45:13 -070071 <uses-library android:name="javax.obex" />
Tao Liejun6769b592009-07-14 15:55:04 -070072 <provider android:name=".opp.BluetoothOppProvider"
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080073 android:authorities="com.android.bluetooth.opp"
Nick Kralevichea0b4f92012-07-30 12:41:30 -070074 android:exported="true"
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080075 android:process="@string/process">
Tao Liejun1ac55072009-08-07 15:01:24 +080076 <path-permission
Matthew Xie2819c1d2013-12-06 12:19:36 -080077 android:pathPrefix="/btopp"
Tao Liejun1ac55072009-08-07 15:01:24 +080078 android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" />
79 </provider>
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080080 <service
81 android:process="@string/process"
fredc6654f5c2012-04-12 00:18:52 -070082 android:name = ".btservice.AdapterService">
83 <intent-filter>
84 <action android:name="android.bluetooth.IBluetooth" />
85 </intent-filter>
86 </service>
87 <service
88 android:process="@string/process"
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080089 android:name=".opp.BluetoothOppService"
fredca7e8ef32012-05-10 22:07:32 -070090 android:permission="android.permission.ACCESS_BLUETOOTH_SHARE"
91 android:enabled="@bool/profile_supported_opp"/>
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080092 <receiver
93 android:process="@string/process"
Kausik Sinnaswamyd5708932012-04-09 20:02:49 +053094 android:exported="true"
fredca7e8ef32012-05-10 22:07:32 -070095 android:name=".opp.BluetoothOppReceiver"
96 android:enabled="@bool/profile_supported_opp">
Nick Pelly09e9cba2009-07-10 18:45:13 -070097 <intent-filter>
Nick Pellybd540682009-09-11 11:46:59 -070098 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
jhtop.kimef697b02011-08-02 10:59:35 +090099 <!--action android:name="android.intent.action.BOOT_COMPLETED" /-->
Jake Hamby1ed96d52011-01-25 19:46:26 -0800100 <action android:name="android.btopp.intent.action.OPEN_RECEIVED_FILES" />
Martijn Coenen8099f5e2012-04-06 13:47:52 -0700101 </intent-filter>
102 </receiver>
103 <receiver
104 android:process="@string/process"
105 android:name=".opp.BluetoothOppHandoverReceiver"
106 android:permission="com.android.permission.WHITELIST_BLUETOOTH_DEVICE">
107 <intent-filter>
108 <action android:name="android.btopp.intent.action.WHITELIST_DEVICE" />
Martijn Coenen584dfb22012-05-16 13:58:02 -0700109 <action android:name="android.btopp.intent.action.STOP_HANDOVER_TRANSFER" />
Nick Pelly09e9cba2009-07-10 18:45:13 -0700110 </intent-filter>
Martijn Coenen03f25a22012-05-18 13:43:30 -0700111 <intent-filter>
112 <action android:name="android.btopp.intent.action.HANDOVER_SEND" />
113 <category android:name="android.intent.category.DEFAULT" />
114 <data android:mimeType="*/*" />
115 </intent-filter>
116 <intent-filter>
117 <action android:name="android.btopp.intent.action.HANDOVER_SEND_MULTIPLE" />
118 <category android:name="android.intent.category.DEFAULT" />
119 <data android:mimeType="*/*" />
120 </intent-filter>
Nick Pelly09e9cba2009-07-10 18:45:13 -0700121 </receiver>
Tao Liejun6769b592009-07-14 15:55:04 -0700122 <activity android:name=".opp.BluetoothOppLauncherActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700123 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700124 android:theme="@android:style/Theme.Holo.Dialog"
125 android:label="@string/bt_share_picker_label"
126 android:enabled="@bool/profile_supported_opp">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700127 <intent-filter>
128 <action android:name="android.intent.action.SEND" />
129 <category android:name="android.intent.category.DEFAULT" />
130 <data android:mimeType="image/*" />
131 <data android:mimeType="video/*" />
Jackson Fan239bc522009-07-27 15:58:22 +0800132 <data android:mimeType="audio/*" />
Lixin Yue6ef730f2009-12-17 16:31:22 +0800133 <data android:mimeType="text/x-vcard" />
Tao Liejunfb8562d2009-11-18 11:02:59 -0600134 <data android:mimeType="text/plain" />
135 <data android:mimeType="text/html" />
Matthew Xiec0b728a2013-07-31 00:52:16 -0700136 <data android:mimeType="text/xml" />
Tao Liejunfb8562d2009-11-18 11:02:59 -0600137 <data android:mimeType="application/zip" />
138 <data android:mimeType="application/vnd.ms-excel" />
139 <data android:mimeType="application/msword" />
140 <data android:mimeType="application/vnd.ms-powerpoint" />
141 <data android:mimeType="application/pdf" />
Sungmin Choi5d574612012-11-30 15:59:30 +0900142 <data android:mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />
143 <data android:mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" />
144 <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" />
Nick Pelly09e9cba2009-07-10 18:45:13 -0700145 </intent-filter>
146 <intent-filter>
Tao Liejun1ac55072009-08-07 15:01:24 +0800147 <action android:name="android.intent.action.SEND_MULTIPLE" />
Nick Pelly09e9cba2009-07-10 18:45:13 -0700148 <category android:name="android.intent.category.DEFAULT" />
149 <data android:mimeType="image/*" />
150 <data android:mimeType="video/*" />
151 <data android:mimeType="x-mixmedia/*" />
Lixin Yue6ef730f2009-12-17 16:31:22 +0800152 <data android:mimeType="text/x-vcard" />
Nick Pelly09e9cba2009-07-10 18:45:13 -0700153 </intent-filter>
154 <intent-filter>
155 <action android:name="android.btopp.intent.action.OPEN" />
156 <category android:name="android.intent.category.DEFAULT" />
157 <data android:mimeType="vnd.android.cursor.item/vnd.android.btopp" />
158 </intent-filter>
159 </activity>
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800160 <activity android:name=".opp.BluetoothOppBtEnableActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700161 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800162 android:excludeFromRecents="true"
fredca7e8ef32012-05-10 22:07:32 -0700163 android:theme="@*android:style/Theme.Holo.Dialog.Alert"
164 android:enabled="@bool/profile_supported_opp">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700165 </activity>
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800166 <activity android:name=".opp.BluetoothOppBtErrorActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700167 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800168 android:excludeFromRecents="true"
Jaikumar Ganeshb27df662011-01-10 15:21:53 -0800169 android:theme="@*android:style/Theme.Holo.Dialog.Alert">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700170 </activity>
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800171 <activity android:name=".opp.BluetoothOppBtEnablingActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700172 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800173 android:excludeFromRecents="true"
fredca7e8ef32012-05-10 22:07:32 -0700174 android:theme="@*android:style/Theme.Holo.Dialog.Alert"
175 android:enabled="@bool/profile_supported_opp">
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800176 </activity>
Jaikumar Ganesh53647ab2009-09-11 16:20:52 -0700177 <activity android:name=".opp.BluetoothOppIncomingFileConfirmActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700178 android:process="@string/process"
Jaikumar Ganesh53647ab2009-09-11 16:20:52 -0700179 android:excludeFromRecents="true"
fredca7e8ef32012-05-10 22:07:32 -0700180 android:theme="@*android:style/Theme.Holo.Dialog.Alert"
181 android:enabled="@bool/profile_supported_opp">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700182 </activity>
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800183 <activity android:name=".opp.BluetoothOppTransferActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700184 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800185 android:excludeFromRecents="true"
fredca7e8ef32012-05-10 22:07:32 -0700186 android:theme="@*android:style/Theme.Holo.Dialog.Alert"
187 android:enabled="@bool/profile_supported_opp">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700188 </activity>
Tao Liejun6769b592009-07-14 15:55:04 -0700189 <activity android:name=".opp.BluetoothOppLiveFolder"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700190 android:process="@string/process"
Mike Cleronae70ee22009-09-29 13:03:26 -0700191 android:icon="@drawable/ic_launcher_folder_bluetooth"
fredca7e8ef32012-05-10 22:07:32 -0700192 android:label="@string/btopp_live_folder"
193 android:enabled="@bool/profile_supported_opp">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700194 <intent-filter>
195 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
196 <category android:name="android.intent.category.DEFAULT" />
197 </intent-filter>
198 </activity>
Lixin Yue5cc61792010-02-26 17:35:23 +0800199 <activity android:name=".opp.BluetoothOppTransferHistory"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700200 android:process="@string/process"
Lixin Yue5cc61792010-02-26 17:35:23 +0800201 android:label=""
202 android:excludeFromRecents="true"
fredca7e8ef32012-05-10 22:07:32 -0700203 android:configChanges="orientation|keyboardHidden"
204 android:enabled="@bool/profile_supported_opp">
Lixin Yue5cc61792010-02-26 17:35:23 +0800205 </activity>
Jackson Fan2c282d52009-07-19 12:25:14 +0800206 <activity android:name=".pbap.BluetoothPbapActivity"
Jaikumar Ganesh0bd5f7b2010-03-24 10:36:06 -0700207 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800208 android:excludeFromRecents="true"
fredca7e8ef32012-05-10 22:07:32 -0700209 android:theme="@*android:style/Theme.Holo.Dialog.Alert"
210 android:enabled="@bool/profile_supported_pbap">
Jackson Fan2c282d52009-07-19 12:25:14 +0800211 <intent-filter>
Lixin Yued8961622009-07-28 10:45:23 +0800212 <category android:name="android.intent.category.DEFAULT" />
Jackson Fan2c282d52009-07-19 12:25:14 +0800213 </intent-filter>
214 </activity>
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -0800215 <service
216 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700217 android:name=".pbap.BluetoothPbapService"
218 android:enabled="@bool/profile_supported_pbap" >
Jaikumar Ganeshb8c66032010-10-07 00:39:15 +0200219 <intent-filter>
220 <action android:name="android.bluetooth.IBluetoothPbap" />
221 </intent-filter>
Jackson Fan2c282d52009-07-19 12:25:14 +0800222 </service>
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -0800223 <receiver
224 android:process="@string/process"
Kausik Sinnaswamyd5708932012-04-09 20:02:49 +0530225 android:exported="true"
fredca7e8ef32012-05-10 22:07:32 -0700226 android:name=".pbap.BluetoothPbapReceiver"
227 android:enabled="@bool/profile_supported_pbap">
Jackson Fan2c282d52009-07-19 12:25:14 +0800228 <intent-filter>
Nick Pellybd540682009-09-11 11:46:59 -0700229 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED"/>
Matthew Xie7eab97d2011-06-28 13:53:56 -0700230 <action android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REPLY" />
231 <category android:name="android.intent.category.DEFAULT" />
Jackson Fan2c282d52009-07-19 12:25:14 +0800232 </intent-filter>
233 </receiver>
Matthew Xiefd6603b2013-07-18 18:18:36 -0700234 <service
235 android:process="@string/process"
236 android:name=".map.BluetoothMapService"
237 android:enabled="@bool/profile_supported_map" >
238 <intent-filter>
239 <action android:name="android.bluetooth.IBluetoothMap" />
240 </intent-filter>
241 </service>
Matthew Xie6c91bc02012-02-16 18:47:53 -0800242 <service
243 android:process="@string/process"
Ganesh Ganapathi Batta03b83862013-02-05 15:38:27 -0800244 android:name = ".gatt.GattService"
245 android:enabled="@bool/profile_supported_gatt">
246 <intent-filter>
247 <action android:name="android.bluetooth.IBluetoothGatt" />
248 </intent-filter>
249 </service>
250 <service
251 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700252 android:name = ".hfp.HeadsetService"
253 android:enabled="@bool/profile_supported_hs_hfp">
Matthew Xie6c91bc02012-02-16 18:47:53 -0800254 <intent-filter>
255 <action android:name="android.bluetooth.IBluetoothHeadset" />
256 </intent-filter>
257 </service>
258 <service
259 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700260 android:name = ".a2dp.A2dpService"
261 android:enabled="@bool/profile_supported_a2dp">
Matthew Xie6c91bc02012-02-16 18:47:53 -0800262 <intent-filter>
263 <action android:name="android.bluetooth.IBluetoothA2dp" />
264 </intent-filter>
265 </service>
Matthew Xie35207a52012-03-21 23:11:40 -0700266 <service
267 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700268 android:name = ".hid.HidService"
269 android:enabled="@bool/profile_supported_hid">
Matthew Xie35207a52012-03-21 23:11:40 -0700270 <intent-filter>
271 <action android:name="android.bluetooth.IBluetoothInputDevice" />
272 </intent-filter>
273 </service>
Matthew Xie676cb1b2012-03-22 17:32:29 -0700274 <service
275 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700276 android:name = ".hdp.HealthService"
277 android:enabled="@bool/profile_supported_hdp">
Matthew Xie676cb1b2012-03-22 17:32:29 -0700278 <intent-filter>
279 <action android:name="android.bluetooth.IBluetoothHealth" />
280 </intent-filter>
281 </service>
fredc6654f5c2012-04-12 00:18:52 -0700282 <service
283 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700284 android:name = ".pan.PanService"
285 android:enabled="@bool/profile_supported_pan">
fredc6654f5c2012-04-12 00:18:52 -0700286 <intent-filter>
287 <action android:name="android.bluetooth.IBluetoothPan" />
288 </intent-filter>
289 </service>
Nick Pelly09e9cba2009-07-10 18:45:13 -0700290 </application>
291</manifest>