Bluetooth: Update speaker ON settings.

When sco is disconnected, check if the preferred
device to use is speaker, enable the  same in
audio manager.

CRs-Fixed: 549910
Change-Id: I7781583d20c59f9fde080638cb9a665fc4cf2753
Bluetooth: Changes for concurrent service discovery

The change includes additional log for the
multiple encryption links' race condition
and attempts a fix by searching chars/descriptors
based on connid.

Change-Id: I5152995ef424b643ea9b301993385d971a42ab93
Bluetooth: Update notification while BT is turning OFF

Change will update notification while BT is turning OFF. Otherwise,
when BT is turning OFF if Update notification thread is missed
inbound/outbound file transfer status, notification will not properly
updated.

CRs-Fixed: 550485
Change-Id: I0752bcddcf218726c8564d26da7bc7c86a0005fd
Bluetooth: Handling multiple BLDN commands.

This change will make sure that DUT returns
ERROR for AT+BLDN command if the dialling
process is already initiated, if queued
more than one BLDN command.

CRs-Fixed: 552289
Change-Id: I20c720f56d43777092ca31d6cdd43e3428e97e99
Merge "Bluetooth: Update speaker ON settings."
Bluetooth: Query phone service on Connect request.

This change makes sure that DUT sends proper
CIND values when connected to headset while
BT is turned ON. Headset state machine will
query BluetoothPhoneService when it receives
CONNECT request.

CRs-Fixed: 548493
Change-Id: I54b75f9d440066a9e871a33f7d727bad3c1e70ae
Merge "Bluetooth: Update notification while BT is turning OFF"
Merge "Bluetooth: Changes for concurrent service discovery"
Merge "Bluetooth: Handling multiple BLDN commands."
OPP: Handle intent receiver leak for BT TURN OFF.

Mark INBOUND and OUTBOUND active transfer as cancelled
on BT TURN OFF.

Change-Id: I52e6d59ba56e004af2dc25b85975dfeb6c19320a
CRs-fixed: 552136
Bluetooth: Update SCAN MODE state while turn OFF Bluetooth

Change will update SCAN MODE state while turn OFF Bluetooth, since
Bluetooth application is expecting adapterPropertyChangedCallback
while turning OFF BT. Otherwise, while Bluetooth is turning OFF
SET_SCAN_MODE_TIMEOUT occurs and application will not get proper
callback.

CRs-Fixed: 550485
Change-Id: I8bfdbdbf1962aff04cd7fdb4cee67d639bed8a38
Merge "Bluetooth: Query phone service on Connect request."
Bluetooth: Check A2dp device priority.

Add support to update stack for A2dp priority
of device.

Change-Id: I65971ffc68e055d68091f73a489a8d8c69c9420b
CRs-Fixed: 510957
Merge "Bluetooth: Check A2dp device priority."
Merge "Bluetooth: Update SCAN MODE state while turn OFF Bluetooth"
Merge "OPP: Handle intent receiver leak for BT TURN OFF."
Merge branch 'jb_mr2' of git://codeaurora.org/platform/packages/apps/Bluetooth into cm-10.2
Merge remote-tracking branch 'cm/cm-10.2' into HEAD