blob: c73d92f3039da7a65dc46af2d69b405704161ae1 [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" />
31 <uses-permission android:name="android.permission.WAKE_LOCK" />
32 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Jackson Fan2c282d52009-07-19 12:25:14 +080033 <uses-permission android:name="android.permission.READ_CONTACTS" />
Daniel Lehmann4425b782012-03-09 20:43:54 -080034 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Jackson Fan2c282d52009-07-19 12:25:14 +080035 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
36 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Martijn Coenen8099f5e2012-04-06 13:47:52 -070037 <uses-permission android:name="com.android.permission.HANDOVER_STATUS" />
Matthew Xie6c91bc02012-02-16 18:47:53 -080038 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
Jaikumar Ganesha11b96d2012-02-27 10:30:33 -080039 <uses-permission android:name="android.permission.NET_ADMIN" />
Matthew Xie6c91bc02012-02-16 18:47:53 -080040 <uses-permission android:name="android.permission.CALL_PRIVILEGED" />
41 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
fredc6654f5c2012-04-12 00:18:52 -070042 <uses-permission android:name="android.permission.NET_TUNNELING" />
43 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
44 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
Matthew Xie09a49912012-07-12 15:55:22 -070045 <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
fredcc7a57f32012-05-07 14:20:35 -070046 <!-- For PBAP Owner Vcard Info -->
47 <uses-permission android:name="android.permission.READ_PROFILE"/>
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080048 <application
fredc6654f5c2012-04-12 00:18:52 -070049 android:name=".btservice.AdapterApp"
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080050 android:icon="@drawable/bt_share"
fredc6654f5c2012-04-12 00:18:52 -070051 android:persistent="false"
Nick Pelly09e9cba2009-07-10 18:45:13 -070052 android:label="@string/app_name">
53 <uses-library android:name="javax.obex" />
Tao Liejun6769b592009-07-14 15:55:04 -070054 <provider android:name=".opp.BluetoothOppProvider"
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080055 android:authorities="com.android.bluetooth.opp"
Nick Kralevichea0b4f92012-07-30 12:41:30 -070056 android:exported="true"
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080057 android:process="@string/process">
Tao Liejun1ac55072009-08-07 15:01:24 +080058 <path-permission
59 android:path="/btopp"
60 android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" />
61 </provider>
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080062 <service
63 android:process="@string/process"
fredc6654f5c2012-04-12 00:18:52 -070064 android:name = ".btservice.AdapterService">
65 <intent-filter>
66 <action android:name="android.bluetooth.IBluetooth" />
67 </intent-filter>
68 </service>
69 <service
70 android:process="@string/process"
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080071 android:name=".opp.BluetoothOppService"
fredca7e8ef32012-05-10 22:07:32 -070072 android:permission="android.permission.ACCESS_BLUETOOTH_SHARE"
73 android:enabled="@bool/profile_supported_opp"/>
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080074 <receiver
75 android:process="@string/process"
Kausik Sinnaswamyd5708932012-04-09 20:02:49 +053076 android:exported="true"
fredca7e8ef32012-05-10 22:07:32 -070077 android:name=".opp.BluetoothOppReceiver"
78 android:enabled="@bool/profile_supported_opp">
Nick Pelly09e9cba2009-07-10 18:45:13 -070079 <intent-filter>
Nick Pellybd540682009-09-11 11:46:59 -070080 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
jhtop.kimef697b02011-08-02 10:59:35 +090081 <!--action android:name="android.intent.action.BOOT_COMPLETED" /-->
Jake Hamby1ed96d52011-01-25 19:46:26 -080082 <action android:name="android.btopp.intent.action.OPEN_RECEIVED_FILES" />
Martijn Coenen8099f5e2012-04-06 13:47:52 -070083 </intent-filter>
84 </receiver>
85 <receiver
86 android:process="@string/process"
87 android:name=".opp.BluetoothOppHandoverReceiver"
88 android:permission="com.android.permission.WHITELIST_BLUETOOTH_DEVICE">
89 <intent-filter>
90 <action android:name="android.btopp.intent.action.WHITELIST_DEVICE" />
Martijn Coenen584dfb22012-05-16 13:58:02 -070091 <action android:name="android.btopp.intent.action.STOP_HANDOVER_TRANSFER" />
Nick Pelly09e9cba2009-07-10 18:45:13 -070092 </intent-filter>
Martijn Coenen03f25a22012-05-18 13:43:30 -070093 <intent-filter>
94 <action android:name="android.btopp.intent.action.HANDOVER_SEND" />
95 <category android:name="android.intent.category.DEFAULT" />
96 <data android:mimeType="*/*" />
97 </intent-filter>
98 <intent-filter>
99 <action android:name="android.btopp.intent.action.HANDOVER_SEND_MULTIPLE" />
100 <category android:name="android.intent.category.DEFAULT" />
101 <data android:mimeType="*/*" />
102 </intent-filter>
Nick Pelly09e9cba2009-07-10 18:45:13 -0700103 </receiver>
Tao Liejun6769b592009-07-14 15:55:04 -0700104 <activity android:name=".opp.BluetoothOppLauncherActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700105 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700106 android:theme="@android:style/Theme.Holo.Dialog"
107 android:label="@string/bt_share_picker_label"
108 android:enabled="@bool/profile_supported_opp">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700109 <intent-filter>
110 <action android:name="android.intent.action.SEND" />
111 <category android:name="android.intent.category.DEFAULT" />
112 <data android:mimeType="image/*" />
113 <data android:mimeType="video/*" />
Jackson Fan239bc522009-07-27 15:58:22 +0800114 <data android:mimeType="audio/*" />
Lixin Yue6ef730f2009-12-17 16:31:22 +0800115 <data android:mimeType="text/x-vcard" />
Tao Liejunfb8562d2009-11-18 11:02:59 -0600116 <data android:mimeType="text/plain" />
117 <data android:mimeType="text/html" />
118 <data android:mimeType="application/zip" />
119 <data android:mimeType="application/vnd.ms-excel" />
120 <data android:mimeType="application/msword" />
121 <data android:mimeType="application/vnd.ms-powerpoint" />
122 <data android:mimeType="application/pdf" />
Nick Pelly09e9cba2009-07-10 18:45:13 -0700123 </intent-filter>
124 <intent-filter>
Tao Liejun1ac55072009-08-07 15:01:24 +0800125 <action android:name="android.intent.action.SEND_MULTIPLE" />
Nick Pelly09e9cba2009-07-10 18:45:13 -0700126 <category android:name="android.intent.category.DEFAULT" />
127 <data android:mimeType="image/*" />
128 <data android:mimeType="video/*" />
129 <data android:mimeType="x-mixmedia/*" />
Lixin Yue6ef730f2009-12-17 16:31:22 +0800130 <data android:mimeType="text/x-vcard" />
Nick Pelly09e9cba2009-07-10 18:45:13 -0700131 </intent-filter>
132 <intent-filter>
133 <action android:name="android.btopp.intent.action.OPEN" />
134 <category android:name="android.intent.category.DEFAULT" />
135 <data android:mimeType="vnd.android.cursor.item/vnd.android.btopp" />
136 </intent-filter>
137 </activity>
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800138 <activity android:name=".opp.BluetoothOppBtEnableActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700139 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800140 android:excludeFromRecents="true"
fredca7e8ef32012-05-10 22:07:32 -0700141 android:theme="@*android:style/Theme.Holo.Dialog.Alert"
142 android:enabled="@bool/profile_supported_opp">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700143 </activity>
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800144 <activity android:name=".opp.BluetoothOppBtErrorActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700145 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800146 android:excludeFromRecents="true"
Jaikumar Ganeshb27df662011-01-10 15:21:53 -0800147 android:theme="@*android:style/Theme.Holo.Dialog.Alert">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700148 </activity>
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800149 <activity android:name=".opp.BluetoothOppBtEnablingActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700150 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800151 android:excludeFromRecents="true"
fredca7e8ef32012-05-10 22:07:32 -0700152 android:theme="@*android:style/Theme.Holo.Dialog.Alert"
153 android:enabled="@bool/profile_supported_opp">
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800154 </activity>
Jaikumar Ganesh53647ab2009-09-11 16:20:52 -0700155 <activity android:name=".opp.BluetoothOppIncomingFileConfirmActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700156 android:process="@string/process"
Jaikumar Ganesh53647ab2009-09-11 16:20:52 -0700157 android:excludeFromRecents="true"
fredca7e8ef32012-05-10 22:07:32 -0700158 android:theme="@*android:style/Theme.Holo.Dialog.Alert"
159 android:enabled="@bool/profile_supported_opp">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700160 </activity>
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800161 <activity android:name=".opp.BluetoothOppTransferActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700162 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800163 android:excludeFromRecents="true"
fredca7e8ef32012-05-10 22:07:32 -0700164 android:theme="@*android:style/Theme.Holo.Dialog.Alert"
165 android:enabled="@bool/profile_supported_opp">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700166 </activity>
Tao Liejun6769b592009-07-14 15:55:04 -0700167 <activity android:name=".opp.BluetoothOppLiveFolder"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700168 android:process="@string/process"
Mike Cleronae70ee22009-09-29 13:03:26 -0700169 android:icon="@drawable/ic_launcher_folder_bluetooth"
fredca7e8ef32012-05-10 22:07:32 -0700170 android:label="@string/btopp_live_folder"
171 android:enabled="@bool/profile_supported_opp">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700172 <intent-filter>
173 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
174 <category android:name="android.intent.category.DEFAULT" />
175 </intent-filter>
176 </activity>
Lixin Yue5cc61792010-02-26 17:35:23 +0800177 <activity android:name=".opp.BluetoothOppTransferHistory"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700178 android:process="@string/process"
Lixin Yue5cc61792010-02-26 17:35:23 +0800179 android:label=""
180 android:excludeFromRecents="true"
fredca7e8ef32012-05-10 22:07:32 -0700181 android:configChanges="orientation|keyboardHidden"
182 android:enabled="@bool/profile_supported_opp">
Lixin Yue5cc61792010-02-26 17:35:23 +0800183 </activity>
Jackson Fan2c282d52009-07-19 12:25:14 +0800184 <activity android:name=".pbap.BluetoothPbapActivity"
Jaikumar Ganesh0bd5f7b2010-03-24 10:36:06 -0700185 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800186 android:excludeFromRecents="true"
fredca7e8ef32012-05-10 22:07:32 -0700187 android:theme="@*android:style/Theme.Holo.Dialog.Alert"
188 android:enabled="@bool/profile_supported_pbap">
Jackson Fan2c282d52009-07-19 12:25:14 +0800189 <intent-filter>
Lixin Yued8961622009-07-28 10:45:23 +0800190 <category android:name="android.intent.category.DEFAULT" />
Jackson Fan2c282d52009-07-19 12:25:14 +0800191 </intent-filter>
192 </activity>
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -0800193 <service
194 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700195 android:name=".pbap.BluetoothPbapService"
196 android:enabled="@bool/profile_supported_pbap" >
Jaikumar Ganeshb8c66032010-10-07 00:39:15 +0200197 <intent-filter>
198 <action android:name="android.bluetooth.IBluetoothPbap" />
199 </intent-filter>
Jackson Fan2c282d52009-07-19 12:25:14 +0800200 </service>
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -0800201 <receiver
202 android:process="@string/process"
Kausik Sinnaswamyd5708932012-04-09 20:02:49 +0530203 android:exported="true"
fredca7e8ef32012-05-10 22:07:32 -0700204 android:name=".pbap.BluetoothPbapReceiver"
205 android:enabled="@bool/profile_supported_pbap">
Jackson Fan2c282d52009-07-19 12:25:14 +0800206 <intent-filter>
Nick Pellybd540682009-09-11 11:46:59 -0700207 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED"/>
Matthew Xie7eab97d2011-06-28 13:53:56 -0700208 <action android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REPLY" />
209 <category android:name="android.intent.category.DEFAULT" />
Jackson Fan2c282d52009-07-19 12:25:14 +0800210 </intent-filter>
211 </receiver>
Matthew Xie6c91bc02012-02-16 18:47:53 -0800212 <service
213 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700214 android:name = ".hfp.HeadsetService"
215 android:enabled="@bool/profile_supported_hs_hfp">
Matthew Xie6c91bc02012-02-16 18:47:53 -0800216 <intent-filter>
217 <action android:name="android.bluetooth.IBluetoothHeadset" />
218 </intent-filter>
219 </service>
220 <service
221 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700222 android:name = ".a2dp.A2dpService"
223 android:enabled="@bool/profile_supported_a2dp">
Matthew Xie6c91bc02012-02-16 18:47:53 -0800224 <intent-filter>
225 <action android:name="android.bluetooth.IBluetoothA2dp" />
226 </intent-filter>
227 </service>
Matthew Xie35207a52012-03-21 23:11:40 -0700228 <service
229 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700230 android:name = ".hid.HidService"
231 android:enabled="@bool/profile_supported_hid">
Matthew Xie35207a52012-03-21 23:11:40 -0700232 <intent-filter>
233 <action android:name="android.bluetooth.IBluetoothInputDevice" />
234 </intent-filter>
235 </service>
Matthew Xie676cb1b2012-03-22 17:32:29 -0700236 <service
237 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700238 android:name = ".hdp.HealthService"
239 android:enabled="@bool/profile_supported_hdp">
Matthew Xie676cb1b2012-03-22 17:32:29 -0700240 <intent-filter>
241 <action android:name="android.bluetooth.IBluetoothHealth" />
242 </intent-filter>
243 </service>
fredc6654f5c2012-04-12 00:18:52 -0700244 <service
245 android:process="@string/process"
fredca7e8ef32012-05-10 22:07:32 -0700246 android:name = ".pan.PanService"
247 android:enabled="@bool/profile_supported_pan">
fredc6654f5c2012-04-12 00:18:52 -0700248 <intent-filter>
249 <action android:name="android.bluetooth.IBluetoothPan" />
250 </intent-filter>
251 </service>
Nick Pelly09e9cba2009-07-10 18:45:13 -0700252 </application>
253</manifest>