Bluetooth: HID: Add support for HID Device in HAL

This patch adds support for HID Device Role in HAL so that jni
layer can communicate wtih Bluedroid Stack when calling HID Device
API's and callbacks.

Change-Id: I591f477ee58924a9003d6e733dcbbc4e8a7d3202
CRs-Fixed: 573086
Bluetooth: HAL Changes for LPP and extended LE scan

These changes include modifications for implementing Low power
proximity features and extended LE scan based on
UUID Filtering

CRs-Fixed: 581289
Change-Id: I5ddbc8edffec0c6ca5eb8ed4dab12bf2e108bd55
Bluetooth: support for a2dp sink

 - support to check remote sep type
 - support to suspend streaming in a2dp sink

CRs-Fixed: 580884

Change-Id: I9355056c663fb0cd685301cc76be6d1a700ee5f1
Bluetooth : HAL change for wake state change callback

This change includes function declaration for the wake state
change callback. This is to implement wake lock acquire/release
machanism to ensure the power saving when the ACL is not active.

Change-Id: I3205458e29521efd0d01a66a314fad499763cb87
CRs-fixed: 576239
Bluetooth: A2DP SINK changes for audiofocus

 - manage audio focus
 - send resume_sink from application

CRs-Fixed: 584276

Change-Id: I0eeb06b70b9dbb8c2276b0accb6afbafcba65376
Bluetooth: Stack certification.

Stack certification changes for L2CAP, SDP and RFCOMM

Change-Id: If322fff2c5dcf915333574aaae0394f130498305
Bluetooth: Play ring tone on incoming call.

Add callback to update app for incoming call.

Change-Id: I4b6c655cc06b70538be9a3f07455a32b579dafb2
CRs-Fixed: 582486
Bluetooth: HID-C: Add error code parameter in report_error

This patch adds error code as parameter to report_error API providing
better flexibility to application layer to send appropriate error
code for Set Report sent from HID Host.

Change-Id: I703523cef109ea1999746f064b3d2dc0e13c5300
CRs-Fixed: 595139
Bluetooth: Added API to get Remote Supported feature

Added new API to get the Remote supported features
from bluedroid.

CRs-fixed: 594652
Change-Id: I0ad3daf1756d6eae9e633b01b20b884f6c8e5bed
lights: Add music light support (1/2)

Change-Id: Ia2731f17f993bd0f4d61c69ee77fa74d77854396
usbaudio: Fixing return value from out_write

-pcm_mmap_write() returns 0 for successful write and a negative
error number for errors
-out_write always returns a positive value
-fixed return value as per pcm_mmap_write() returned result

Change-Id: I6bbca5df9a1eb9ceae492a8cf5f478189cedbb12
CRs-Fixed: 564094
audio: Add WMA Format suppport for offload playback

Add WMA Format suppport for offload playback.

Change-Id: I35e69bd1a21ba54211bcd688d7bba115f969b98f
audio: add set_parameters for listen hal

Add listen hal specific set parameters function so that Listen
service can call Listen hal directly, by passing audio hal. This
is needed since set_parameters call in audio hal does not guarantee the
correct return value is returned for any parameters set.

Change-Id: I647b9e7f841c8157e4eb597655166ea863a00925
audio: Parameter to indicate ADTS compressed data

- Add a new offload parameter for ADTS compressed data.
This parameter will be used by usecases like widevine.

Change-Id: I526d119368810f486875a03834e221aabfaacc78
libhardware: Add audio power hint

Change-Id: I5b03cc060356da23b6941c5937ef217c70dbf6dd
libhardware: Define queriable attribute for max. WriteBack width

We define a new queriable attribute for the maximum width supported
by WriteBack.

Change-Id: I82a1fe6b10c5650a4a5358eab5c52d46bd5f19e3
Bluetooth: Header file changes to add new APIs for Test APK

New APIs added to send to test commands and recevie events
from bluedroid stack.

Change-Id: I5981cbbf5d86d3e664c20ccc031ce63ca18b7718
CRs-Fixed: 598650
BT: Added new file bt_multi_hf.h

The new file contents are copied from initial
Bluetooth open source release of file "bt_hf.h"
revision 05f49546. This file will be used for
code modifications for Multi HF implementation.

Change-Id: I6da6d805bdfe3d44b6ec37302a7318cd10f3420c
BT: Multi HF support in libhardware.

This patch adds multi hf support in libhardware.
Adds bd_addr parameter for callbacks from stack.

Conflicts:

	include/hardware/bt_multi_hf.h

Change-Id: I872ba67422ae4310818d7b58ca051085f9146886
Bluetooth: Wipower HAL changes

Include HAL changes for Wipower and Bluetooth LE peripheral features

CRs-fixed: 587811

Change-Id: Idcfb35e548f1411ef34773c64847854ca810a5bb