audio policy: apply default device volume

Make sure that we apply default device volume to
active outputs in case no specific volume for selected
device is received afterward.

Bug: 9760269.
Change-Id: I216de40396e1075e77493c97e8b192cd3a31d546
Added ifndef ICS_AUDIO_BLOB around non-existent functions (2/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: I2ec4dcece3c95c9972ce78f1f7a38fe522dd7802
Merge tag 'android-4.3_r3.1' of https://android.googlesource.com/platform/hardware/libhardware_legacy into cm-10.2

Android 4.3 Release 3.1

Change-Id: I62617f638b495ce4345726dac81bf417ed100f7b
wifi: avoid crash when no phy's are found

Exit gracefully when no phy's are found.

Change-Id: I8c1f57e60bb63b52d8cb086e1a25d8d5b33f03f0
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Merge "Added ifndef ICS_AUDIO_BLOB around non-existent functions (2/3)" into cm-10.2
libhardware_legacy: Add support for EVRCNW audio format

Add changes to support VoIP call with EVRCNW audio format.

Change-Id: Id0f0f865b074479d5e628d72d4ee17218ca34478
wifi: Allow P2P functionality to be disabled per interface.

By default, P2P is enabled globally for all virtual interfaces and this
makes wpa_supplicant include WSC and P2P IEs in Probe Request frames for
all scans even if this is for a non-P2P station connection to speed up
device discovery. If an interface is dedicated for non-P2P station mode
operations, it is now possible to disable addition of WSC and P2P IEs
into Probe Request frames with a per-interface p2p_disabled parameter.
This can be set in the configuration file (p2p_disabled=1).Hence set
p2p_disabled for wlan0 interface in the wpa_supplicant.conf.

CRs-fixed: 407440
(cherry picked from commit e52cbc3d221201998ed55d29c7cd3aa9b6f2e56e)

Change-Id: I9471433d164bc765965e941d4dfacbfff3e9e8c0

Conflicts:

	wifi/wifi.c
audio: Support MR1 audio_policy

Change-Id: I1726d18f87fe6a6907bad61bc0de27e17c1237d1
libhardware_legacy: Add support for oneshot WiFi setup

 * For a certain device, we need to wait for the RIL to dump out
   the NV items which contain the WiFi MAC address. This is
   done by starting a service and waiting for it to set a property
   indicating completion. The existing module loader already works
   like this, so we can just use that.
 * Reorder the ifdefs so this works when the driver is not built
   as a module.

Change-Id: Ic69dd5c1087122b3b7d939a8647785bf97b95a0c