Added ifndef ICS_AUDIO_BLOB around non-existent functions (1/3)

For older audio blobs where is_source_active and is_stream_active_remotely
doesn't exist, receiving a notification and dumpsys crashes the audio service.

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

Change-Id: Ibbbd5ced1f9d469cfba3b33a94414d0b94affa8f
CRs-Fixed: 522054
Bluetooth: Add support for set_priority for HID Host

This patch adds support for set_priority for HID Host. With this new
method, btif layer would be informed of remote HID Device priority
and would help in early rejection of HID incoming connection in case
User on DUT has unchecked Input device from Application.

Change-Id: I0c1ac7c8ad010b8d7e8aa5653e69568a45f4af92
CRs-Fixed: 532234
Merge remote-tracking branch 'cm/cm-10.2' into HEAD
Bluetooth: Support MAP Client role on Bluedroid.

Implementation of MAP Client (MCE) role on
Bluedroid stack. Include MAP Client Interface ID.

Change-Id: Icdf11b7f09a161e35aa3aa68b9b5fa315e18fd65

CRs-fixed: 539274
Merge remote-tracking branch 'cm/cm-10.2' into HEAD
Merge "Added ifndef ICS_AUDIO_BLOB around non-existent functions (1/3)" into cm-10.2
Merge remote-tracking branch 'cm/cm-10.2' into HEAD
usbaudio: Fix output device routing

Fix issue with commit a35e783 causing the output device to reset back
to the hard coded value of CARD_ID after a new output device is
specified.

This happens because out_set_parameters() receives a single "routing"
key/value pair just after setting a new output device. The if/else
statement would then cause a reset of the output device back to CARD_ID
because the "routing" message does not contain a card or device id.

Change-Id: Ib7c7eb7ef675ae371033a7ae7ce73782cac2c898
Merge remote-tracking branch 'cm/cm-10.2' into HEAD