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