libhardware: Add fix for offload playback.

-Offload mode requires frame size to be unity.
-Tunnel encode changes results in a invalid frame size being
 returned to audio flinger.
-Add 24 bit PCM format as exception to linear pcm.

Change-Id: I23d1960b0a493da20f48de788bb13e6f055ebe03
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
Merge remote-tracking branch 'cm/cm-11.0' into kitkat