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