Add triggerOnResourceAvailable to fake STHAL

Exposing this functionality directly affords additional flexibility
to the test instrumentation

Test: atest AlwaysOnHotwordDetectorTest#isCorrectOnFailureReceived_onResumeFailed
Fixes: 276474853
Change-Id: I585c721966731327fe4b99a064edfb779cd28be7
2 files changed