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
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