Bluetooth: Check A2dp device priority.

For incoming connections stack does not check priority
of device.Add support to check priority of device in stack
for incoming connection.

Change-Id: Icc78d22048800bd448a93f96ab31e2673ce28dca
CRs-Fixed: 510957
Merge tag 'android-4.4.1_r1' into HEAD

Android 4.4.1 Release 1
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
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 : Aquire wake lock to avoid power collapse

This ensures that target wont go into power save mode
when there is an acl is active and timer are running.

Change-Id: I3205458e29521efd0d01a66a314fad499763cb87
CRs-fixed: 576239
Bluetooth: support for a2dp sink

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

CRs-Fixed: 580884

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

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

Change-Id: Id3a8adc3bd3b8fe5973e359b5268671f6fd26cd4
Revert "libhardware: Modify ifdefs for legacy DirectTrack"

This reverts commit 2b2eca1387af113b53dfb25219562f5f36183c09.
Merge remote-tracking branch 'cm/cm-11.0' into kk-4.4
Remove all crap
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
Merge remote-tracking branch 'cm/cm-11.0' into kk-4.4
Merge https://github.com/AOSP-S4-KK/platform_hardware_libhardware into kk-4.4

Conflicts:
	include/hardware/audio.h