libhardware: Add sound card status parameter

Currently audiod monitoring sound card status instead of adsp status.
This is a bug fix to monitor sound card. Audio HAL is going to use
sound card key to check sound card to status.

Change-Id: If2eba2aad2a70a414c8b258bba1ecd8f3a4b8df1
hwcomposer: Add HWC_BLIT compositiontype value

- HWC_BLIT this layer will be handled in the HWC, using a blit engine
- setting this will inform Surfaceflinger to flip FB_TARGET

Change-Id: I25d19ec41b57863d451c3e390109c912faf1381c
libhardware: Modify ifdefs for legacy DirectTrack

Change-Id: Id3a8adc3bd3b8fe5973e359b5268671f6fd26cd4
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