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
OPP: Set ics format as acceptable shareinbound type

Adding ics format to acceptable inbound type, to be
able to receive these file format from remote device.

Change-Id: Ief9da2c745378ea28fa03da770aee3c8310892c4
CRs-fixed: 570922
OPP: Support for Obex Tx Rx at the same time

This change will allow the OPP Rx to be done even when
Tx is ongoing.

Change-Id: I87a048e8fdb1090bb755fe977901cc6325ce5415
CRs-fixed: 565447
Merge "Bluetooth: Changes for concurrent service discovery"
Merge "OPP: Set ics format as acceptable shareinbound type"
Bluetooth: HID: Add support for HID Device Role

This patch adds support for HID Device Role which enables phone being
used as a Bluetooth keyboad or mouse.

Change-Id: I931867442111ad997a34a166c7b2ec1daf317ddd
CRs-Fixed: 573086
MAP: Set Empty name or address for unknown values in GetMessageListing.

Set Empty sender or recipient name and address values to indicate
info not available from MSE in GetMessageListing response.
Current implemenation to skip the entire feild in response doesnot
mark the uniformity for values being fetched from telephony or
phone book databases.

Change-Id: I44e2f61572607349ec20ec1efcc6c44abe084b83
CRs-fixed: 569760
Bluetooth: Include timestamp of FilterPeriodEnd in where clause.

Add change to include the FilterPeriodEnd time stamp provided during
get message listing. This will allow us to fetch the messages which
has same timestamp as filterPeriodEnd.

Change-Id: Idef0034b04ad6f0423c3ebcb01783e617eb0296d
CRs-fixed: 573640
Bluetooth-OPP: Handle SQLException while OPP operation

Handle SQLException during updateActiveNotification of OPP
operation.

CRs-Fixed: 568920
Change-Id: I95116a21f0177fdbf3eb0c6c7beb90cd6c264724
Merge "Bluetooth: HID: Add support for HID Device Role"
Merge "Bluetooth-OPP: Handle SQLException while OPP operation"
Bluetooth: Add support for HFP Client

Enable HFP Client for msm8974 targets.

Change-Id: I1512e02b89eddaa20c9efdb7c0a91930117c6774
Bluetooth: set messageList element to proper value when offset is non zero

When non zero offset is provided to get message listing for any folder,
then message listing element was getting set to null because of invalid
check, leading to null pointer exception.

CRs-fixed: 573631

Change-Id: Ifee42581d937c44eac74c98e7f4469c998c8bd2b
PBAP: Compare full name instead of substring

Compare full name instead of substring when
returning contact name by number as caller information.

Change-Id: Ia25329a55ac024f46880161964391fde18677d13
CRs-Fixed: 576924
Bluetooth: MAP: Not doing Message listing when proper folder is not set

Add change to do message listing of any folder, only if it is a
subfolder of the current folder and not do message listing otherwise.
Without this change we were able to do message listing of any folder
irrespective of the current folder.

Change-Id: I1c2e703b287ab61fdfb1e852ea82c4d4174bc70b
CRs-fixed: 577982
Bluetooth: Reset the alias name on remote dev property change

Reset the alias name on receiving the Friendly name changed
event from bt-if.

CRs-Fixed: 539420
Change-Id: I11549b4a5501eb92500e781bc97b6ec71c6fd598
Bluetooth: Request and Abandon Audio focus

For HFP client request audio focus when call is
answered and abandon it when call is terminated.

Set hfp_enable once call is answered.

Change-Id: Ifff2f71b9f3c4366bb603dc39ab95e9ba82c7ad6
MAP: PushMessage parse BMessage content body till END:MSG.

Parse BMessage body content till line occurence of END:MSG
instead of using  LENGTH parameter from MCE. Handle common IOT
issue where MCE may not set correct LENGTH parameter.

Change-Id: I28748d3e5f31a5f53c2d17a4d58ae11900fedfa2
CRs-fixed: 571933
Bluetooth: Changes for implementing LPP and extended LE scan

This patch includes changes for implementing the Low power
proximity features and ability to perform extended LE filter scan
based on service UUIDs. Also, it adds a new Adapter Service
for accepting upstream and downstream requests to and from the
parallel Bleutooth Adapter, created for performing specific
LE tasks.

CRs-Fixed: 581289
Change-Id: I328fa1e3ae178e78840052699b85782f7c2562fe
Merge "Merge "Bluetooth-OPP: Handle SQLException while OPP operation""