Revert "hal: add custom platform abstraction"

* Handle this in a more extensible way with upcoming platform info
  extension code.

This reverts commit 36a435d08826160ddbf9e0759711f7badae42566.

Change-Id: I9683e27b70f591bff6c5131523ef7c3e51ee6513
Revert "hal: Add speaker backend case handling"

* Handle this in a more extensible way with upcoming platform info
  extension code.

This reverts commit 957c3d94bf34da538b3cd296e17b94a9206fd8d1.

Change-Id: Ie0b86bfd8decd92bda76a2706e5ebd7dcedae89b
audio: extend platform parser

Extend platform parser with support for additional sections.
Supported sections now include acdb ids, pcm device ids and backend names.

Change-Id: Idfbc8a8bb490606686436c107db5b0c7d636ccbe
audio: Extend platform parser to allow device name aliasing

* Supported sections now include device names
* This allows for aliasing device names to a custom name

Change-Id: I880e90a7e887f020517d89ba276199c700c0eeae
hal: Fix voice call recording for msm8974

Voice call recording uses audio-record usecase which causes recording
only devices microphone. Use the correct usecase for call recording.

Change-Id: Iaa9fc30534263c6de9b4b66fa5ffa9a1e2cc8fd4
audio: avoid mute delay when no active stream

-Dialpad touch tone delay is observed when connected USB
 headset. This is beacuse of mute delay during  device switch
-In this usecase, mute delay is not required as there is no
 actual device switch
-Fix is to avoid delay in this usecase.

Change-Id: Ib9e7d7f953f740c9f96c43a104edd0b548421e8d
CRs-Fixed: 706678
audio: Avoid mute delay during stopping of tones.

 - Each time tone is played extra delay added due to
   checkDeviceMuteStrategies during stop of tone.
 - Such mute delay is not needed in this scenario when
   there is no actual device switch.
 - Fix is to avoid mute during stop of tone.

Change-Id: I16e11ab846044fc14cb625cee8bf8273e0e4bcc3