7554ff0e8413c83e43f6092bb359678508564fc7 |
|
01-May-2017 |
Chris Thornton <thorntonc@google.com> |
Add getData() member to SoundTriggerDetector.EventPayload. If the HAL populates the recognition event with data that isn't trigger audio, it's currently impossible for clients to actually read that opaque data. By adding this getter, clients who understand how the detection engine works can react to whatever is in the data blob. Test: Modify SoundTriggerTestApp to verify that the data is accessible. Change-Id: I8a9feccab98e2d15653dd55f28a43095f8ee1e44
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/SoundTriggerTestService.java
|
e492e493f4f1ffd89accd2f8b4e2e0931b0904d9 |
|
22-Mar-2017 |
Chris Thornton <thorntonc@google.com> |
SoundTriggerTestApp: also unload on error conditions When the service is killed/going down, it should unload all the sound models it has running as part of being a good citizen. Test: Kill/stop the service and see that the models are evicted from the HAL Change-Id: I6f88c8327682df5870b381d5bafda79e67fb7079
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/SoundTriggerTestService.java
|
2d2ba9d0897860ab2be38bbdcadec20058f1635a |
|
13-Jul-2016 |
Chris Thornton <thorntonc@google.com> |
Fix a few log messages that didn't have a space in the SoundTriggerTestApp Change-Id: If3b5ac6533429843d4be733bd31f2bb83e1d5971
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/SoundTriggerTestService.java
|
dfa7c3b0dc623d6394b068ccd66b2fa7ddd6aa57 |
|
01-Jul-2016 |
Chris Thornton <thorntonc@google.com> |
Updates to the sound trigger test app Moved the logic for talking to the system service into a service in the app - this now lets you close the activity and still be able to receive events. Additionally, we get CLI support using commands with the intent com.android.intent.action.MANAGE_SOUND_TRIGGER. Bug: 29073629 Change-Id: Ie904b73b4414f2c9fded013aeb5e6c6c3a67f5d3
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/SoundTriggerTestService.java
|