Revert "Revert "hal: Notify soundtrigger HAL on stream updates""

This reverts commit 9fc06a06405277a54a56859fd68ea9c9b8e3786d.

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 on marlin, sailfish, walleye,
      taimen,
      music iq on walleye and taimen

Change-Id: I16422b85b929774373f7000f5b6167086340a6df
diff --git a/hal/msm8916/platform.c b/hal/msm8916/platform.c
index af48c03..66803bc 100644
--- a/hal/msm8916/platform.c
+++ b/hal/msm8916/platform.c
@@ -2457,3 +2457,12 @@
 {
     return -ENOSYS;
 }
+
+bool platform_sound_trigger_usecase_needs_event(audio_usecase_t uc_id __unused)
+{
+    return false;
+}
+
+bool platform_snd_device_has_speaker(snd_device_t dev __unused) {
+    return false;
+}