hal: Notify soundtrigger HAL on stream updates

Instead of sending device enable/disable events, send use case
enable/disable events with use case type to sound trigger hal.
Playback (on speaker) and capture stream events are updated
to soundtrigger hal.

Sound trigger hal can decide to support concurrent sountrigger
sessions based on the audio use case.

Also avoid compilation dependency on sound trigger hal proprietary
interface header file by maintaining the interface APIs locally.

Bug: 63939932
Test: "ok google" from lock screen, music iq on walleye
Change-Id: Ia4d0bf0fd9d97bb57ecce55dfd6337bcadf5d531
7 files changed
tree: 06f47cf4a34f3f945be90889c960d32ae268c834
  1. hal/
  2. legacy/
  3. post_proc/
  4. visualizer/
  5. voice_processing/
  6. Android.mk