audio :Make isVirtualInputDevice as protected method

- startInput is overridden in AudioPolicyManagerALSA and is
  making a call to isVirtualInputDevice which is private in
  AudioPolicyManagerBase.
- Make isVirtualInputDevice as protected in base class so
  that it can be called from the derived class

Change-Id: I7e499b0c06f9412bc191179d497298cd57af2c3a
CRs-Fixed: 591788
wifi: remove p2p interface on supplicant stop

remove p2p interface on wpa_supplicant stop
so next time it is started it won't fail when trying
to create p2p again

Change-Id: I7a4c5e9a82a013afc75548d175d5850d67fcd927
audio: Fix check for sonification on digital docks

Change-Id: If077bc6336ce57256dd078d0cbe80c3b5e3a0b6e
Revert "audio: Fix check for sonification on digital docks"

This reverts commit 7a133590ff567fe09b7f415371c78480d39a83e7.

Change-Id: I27968a26e755e85d4d0c150278bf7988cc86f4e6