AndroidManifest.xml revision 946488ccde9906ef23f2b2f3faeedb60b55ef0e0
1<?xml version="1.0" encoding="utf-8"?> 2<manifest xmlns:android="http://schemas.android.com/apk/res/android" 3 package="com.android.bluetooth" 4 android:sharedUserId="android.uid.bluetooth"> 5 6 <original-package android:name="com.android.bluetooth" /> 7 8 <!-- 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" /> 13 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 26 <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" /> 33 <uses-permission android:name="android.permission.READ_CONTACTS" /> 34 <uses-permission android:name="android.permission.READ_CALL_LOG" /> 35 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 36 <uses-permission android:name="android.permission.WRITE_SETTINGS" /> 37 <uses-permission android:name="com.android.permission.HANDOVER_STATUS" /> 38 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> 39 <uses-permission android:name="android.permission.NET_ADMIN" /> 40 <uses-permission android:name="android.permission.CALL_PRIVILEGED" /> 41 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> 42 <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" /> 45 <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" /> 46 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> 47 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> 48 <uses-permission android:name="android.permission.BLUETOOTH_STACK" /> 49 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/> 50 <uses-permission android:name="android.permission.MANAGE_USERS"/> 51 <uses-permission android:name="com.google.android.gallery3d.permission.GALLERY_PROVIDER"/> 52 <uses-permission android:name="com.android.gallery3d.permission.GALLERY_PROVIDER"/> 53 <uses-permission android:name="android.permission.MMS_SEND_OUTBOX_MSG"/> 54 <uses-permission android:name="android.permission.RECEIVE_SMS" /> 55 <uses-permission android:name="android.permission.SEND_SMS" /> 56 <uses-permission android:name="android.permission.READ_SMS" /> 57 <uses-permission android:name="android.permission.WRITE_SMS" /> 58 <uses-permission android:name="android.permission.READ_CONTACTS" /> 59 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 60 <uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" /> 61 62 <!-- For PBAP Owner Vcard Info --> 63 <uses-permission android:name="android.permission.READ_PROFILE"/> 64 <application 65 android:name=".btservice.AdapterApp" 66 android:icon="@drawable/bt_share" 67 android:persistent="false" 68 android:label="@string/app_name"> 69 <uses-library android:name="javax.obex" /> 70 <provider android:name=".opp.BluetoothOppProvider" 71 android:authorities="com.android.bluetooth.opp" 72 android:exported="true" 73 android:process="@string/process"> 74 <path-permission 75 android:path="/btopp" 76 android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" /> 77 </provider> 78 <service 79 android:process="@string/process" 80 android:name = ".btservice.AdapterService"> 81 <intent-filter> 82 <action android:name="android.bluetooth.IBluetooth" /> 83 </intent-filter> 84 </service> 85 <service 86 android:process="@string/process" 87 android:name=".opp.BluetoothOppService" 88 android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" 89 android:enabled="@bool/profile_supported_opp"/> 90 <receiver 91 android:process="@string/process" 92 android:exported="true" 93 android:name=".opp.BluetoothOppReceiver" 94 android:enabled="@bool/profile_supported_opp"> 95 <intent-filter> 96 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED" /> 97 <!--action android:name="android.intent.action.BOOT_COMPLETED" /--> 98 <action android:name="android.btopp.intent.action.OPEN_RECEIVED_FILES" /> 99 </intent-filter> 100 </receiver> 101 <receiver 102 android:process="@string/process" 103 android:name=".opp.BluetoothOppHandoverReceiver" 104 android:permission="com.android.permission.WHITELIST_BLUETOOTH_DEVICE"> 105 <intent-filter> 106 <action android:name="android.btopp.intent.action.WHITELIST_DEVICE" /> 107 <action android:name="android.btopp.intent.action.STOP_HANDOVER_TRANSFER" /> 108 </intent-filter> 109 <intent-filter> 110 <action android:name="android.btopp.intent.action.HANDOVER_SEND" /> 111 <category android:name="android.intent.category.DEFAULT" /> 112 <data android:mimeType="*/*" /> 113 </intent-filter> 114 <intent-filter> 115 <action android:name="android.btopp.intent.action.HANDOVER_SEND_MULTIPLE" /> 116 <category android:name="android.intent.category.DEFAULT" /> 117 <data android:mimeType="*/*" /> 118 </intent-filter> 119 </receiver> 120 <activity android:name=".opp.BluetoothOppLauncherActivity" 121 android:process="@string/process" 122 android:theme="@android:style/Theme.Holo.Dialog" 123 android:label="@string/bt_share_picker_label" 124 android:enabled="@bool/profile_supported_opp"> 125 <intent-filter> 126 <action android:name="android.intent.action.SEND" /> 127 <category android:name="android.intent.category.DEFAULT" /> 128 <data android:mimeType="image/*" /> 129 <data android:mimeType="video/*" /> 130 <data android:mimeType="audio/*" /> 131 <data android:mimeType="text/x-vcard" /> 132 <data android:mimeType="text/plain" /> 133 <data android:mimeType="text/html" /> 134 <data android:mimeType="application/zip" /> 135 <data android:mimeType="application/vnd.ms-excel" /> 136 <data android:mimeType="application/msword" /> 137 <data android:mimeType="application/vnd.ms-powerpoint" /> 138 <data android:mimeType="application/pdf" /> 139 <data android:mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" /> 140 <data android:mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" /> 141 <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" /> 142 </intent-filter> 143 <intent-filter> 144 <action android:name="android.intent.action.SEND_MULTIPLE" /> 145 <category android:name="android.intent.category.DEFAULT" /> 146 <data android:mimeType="image/*" /> 147 <data android:mimeType="video/*" /> 148 <data android:mimeType="x-mixmedia/*" /> 149 <data android:mimeType="text/x-vcard" /> 150 </intent-filter> 151 <intent-filter> 152 <action android:name="android.btopp.intent.action.OPEN" /> 153 <category android:name="android.intent.category.DEFAULT" /> 154 <data android:mimeType="vnd.android.cursor.item/vnd.android.btopp" /> 155 </intent-filter> 156 </activity> 157 <activity android:name=".opp.BluetoothOppBtEnableActivity" 158 android:process="@string/process" 159 android:excludeFromRecents="true" 160 android:theme="@*android:style/Theme.Holo.Dialog.Alert" 161 android:enabled="@bool/profile_supported_opp"> 162 </activity> 163 <activity android:name=".opp.BluetoothOppBtErrorActivity" 164 android:process="@string/process" 165 android:excludeFromRecents="true" 166 android:theme="@*android:style/Theme.Holo.Dialog.Alert"> 167 </activity> 168 <activity android:name=".opp.BluetoothOppBtEnablingActivity" 169 android:process="@string/process" 170 android:excludeFromRecents="true" 171 android:theme="@*android:style/Theme.Holo.Dialog.Alert" 172 android:enabled="@bool/profile_supported_opp"> 173 </activity> 174 <activity android:name=".opp.BluetoothOppIncomingFileConfirmActivity" 175 android:process="@string/process" 176 android:excludeFromRecents="true" 177 android:theme="@*android:style/Theme.Holo.Dialog.Alert" 178 android:enabled="@bool/profile_supported_opp"> 179 </activity> 180 <activity android:name=".opp.BluetoothOppTransferActivity" 181 android:process="@string/process" 182 android:excludeFromRecents="true" 183 android:theme="@*android:style/Theme.Holo.Dialog.Alert" 184 android:enabled="@bool/profile_supported_opp"> 185 </activity> 186 <activity android:name=".opp.BluetoothOppLiveFolder" 187 android:process="@string/process" 188 android:icon="@drawable/ic_launcher_folder_bluetooth" 189 android:label="@string/btopp_live_folder" 190 android:enabled="@bool/profile_supported_opp"> 191 <intent-filter> 192 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" /> 193 <category android:name="android.intent.category.DEFAULT" /> 194 </intent-filter> 195 </activity> 196 <activity android:name=".opp.BluetoothOppTransferHistory" 197 android:process="@string/process" 198 android:label="" 199 android:excludeFromRecents="true" 200 android:configChanges="orientation|keyboardHidden" 201 android:enabled="@bool/profile_supported_opp"> 202 </activity> 203 <activity android:name=".pbap.BluetoothPbapActivity" 204 android:process="@string/process" 205 android:excludeFromRecents="true" 206 android:theme="@*android:style/Theme.Holo.Dialog.Alert" 207 android:enabled="@bool/profile_supported_pbap"> 208 <intent-filter> 209 <category android:name="android.intent.category.DEFAULT" /> 210 </intent-filter> 211 </activity> 212 <service 213 android:process="@string/process" 214 android:name=".pbap.BluetoothPbapService" 215 android:enabled="@bool/profile_supported_pbap" > 216 <intent-filter> 217 <action android:name="android.bluetooth.IBluetoothPbap" /> 218 </intent-filter> 219 </service> 220 <receiver 221 android:process="@string/process" 222 android:exported="true" 223 android:name=".pbap.BluetoothPbapReceiver" 224 android:enabled="@bool/profile_supported_pbap"> 225 <intent-filter> 226 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED"/> 227 <action android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REPLY" /> 228 <category android:name="android.intent.category.DEFAULT" /> 229 </intent-filter> 230 </receiver> 231 <service 232 android:process="@string/process" 233 android:name=".map.BluetoothMapService" 234 android:enabled="@bool/profile_supported_map" > 235 <intent-filter> 236 <action android:name="android.bluetooth.IBluetoothMap" /> 237 </intent-filter> 238 </service> 239 <service 240 android:process="@string/process" 241 android:name = ".gatt.GattService" 242 android:enabled="@bool/profile_supported_gatt"> 243 <intent-filter> 244 <action android:name="android.bluetooth.IBluetoothGatt" /> 245 </intent-filter> 246 </service> 247 <service 248 android:process="@string/process" 249 android:name = ".hfp.HeadsetService" 250 android:enabled="@bool/profile_supported_hs_hfp"> 251 <intent-filter> 252 <action android:name="android.bluetooth.IBluetoothHeadset" /> 253 </intent-filter> 254 </service> 255 <service 256 android:process="@string/process" 257 android:name = ".a2dp.A2dpService" 258 android:enabled="@bool/profile_supported_a2dp"> 259 <intent-filter> 260 <action android:name="android.bluetooth.IBluetoothA2dp" /> 261 </intent-filter> 262 </service> 263 <service 264 android:process="@string/process" 265 android:name = ".hid.HidService" 266 android:enabled="@bool/profile_supported_hid"> 267 <intent-filter> 268 <action android:name="android.bluetooth.IBluetoothInputDevice" /> 269 </intent-filter> 270 </service> 271 <service 272 android:process="@string/process" 273 android:name = ".hdp.HealthService" 274 android:enabled="@bool/profile_supported_hdp"> 275 <intent-filter> 276 <action android:name="android.bluetooth.IBluetoothHealth" /> 277 </intent-filter> 278 </service> 279 <service 280 android:process="@string/process" 281 android:name = ".pan.PanService" 282 android:enabled="@bool/profile_supported_pan"> 283 <intent-filter> 284 <action android:name="android.bluetooth.IBluetoothPan" /> 285 </intent-filter> 286 </service> 287 </application> 288</manifest> 289