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
Bluetooth: Add Wipower power apply events to HAL

Add callbacks and related data structure to introduce
Wipower power apply related events

CRs-fixed: 612628

Change-Id: I294cc3b15f3fae49bcc406279080163895921162
Merge branch 'kitkat' of https://github.com/TeamHorizon/android_hardware_libhardware into kitkat