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