usbaudio: fix for out->dev->lock remains locked in error case

out->dev->lock remains locked in error case in out_write()
Added pthread_mutex_unlock() in the error case

Bug: 12824374

Change-Id: Id467e3122008eb8128b42dfc0e9103600c1eef2d
Signed-off-by: Glenn Kasten <gkasten@google.com>
DO NOT MERGE BLE peripheral mode (1/4): change HAL to support service data and service uuids.

Cherry picking ble advertising changes from master to KLP MR2.
b/13137996


Change-Id: I19a3755a4ed16e1ae03368cecee97773c05c1770
Merge "DO NOT MERGE BLE peripheral mode (1/4): change HAL to support service data and service uuids." into klp-dev
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 dirty region field to hwc layer

This change adds dirty region field to hwc_layer_1_t structure to
pass the layer's dirty region information since the previous frame.

Change-Id: I5b107b702636c6b1f662703a29dfda4793c02809
Merge tag 'android-4.4.3_r1' into kk-4.4

Android 4.4.3 release 1