History log of /frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/SoundTriggerService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f967da90528426ff48f75c9109aede2b89a14880 03-May-2016 Chris Thornton <thorntonc@google.com> VIMS should only stop the keyphrases it started.

When the VIMS changes the implementation or has its implementation force
stopped, it used to stop all the recognitions that were in the
SoundTriggerService (without letting those clients know that they've
been stopped). Instead, the VIMS should just unload the keyphrases that
it loaded, so the other clients are not perturbed.

Bug:28518547
Change-Id: Ia70e8576f43cb8a8521c947ff7fc56f63cfbad54
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/SoundTriggerService.java
2d1de78a4c8fc224329a9622c9326e42a42ddadd 22-Feb-2016 Arunesh Mishra <arunesh@google.com> Unload logic for generic and keyphrase sound models.

When delete is called, now the STH unloads the corresponding models.

Fix bug with keyphrase where a delete call didn't unload (or stop)
the keyphrase model.

Bug: 27279380
Change-Id: Ia34f713d2aecef4102c0f0ccc57b8d2e5febe4bb
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/SoundTriggerService.java
3fff7f5634ca788c1c84b6f1b316819ffd4c7cb2 09-Feb-2016 Arunesh Mishra <arunesh@google.com> SoundTriggerHelper changes for GenericSoundModels.

- Refactoring SoundTriggerHelper to handle generic sound models.
- Ability to store multiple models, callback and state information.
- Separate out initialization to be done per voice model, per any model
and per generic model.
- Minor change to the API exposed -- removing the Handler from the
createSoundTriggerDetector call.
- Added callback processing for onRecognitionEvent().
- Added logic for stopAll().
- Changes to the SoundTriggerTestApp to start/stop recognition.
- Multiple models (3).
- Ability to start/stop/load/unload individual models.

Bug: 22860713
Bug: 27222043
Change-Id: Ie5d811babb956bead653fb560a43f1e549ed11bd
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/SoundTriggerService.java
55a9b0089c12dd657a8dc8551c79cf3e0f25d7e4 01-Feb-2016 Arunesh Mishra <arunesh@google.com> Fix moduleProperties in SoundTriggerInternal.

Change-Id: Ie7ea74ca39894f78875768dbc3e504b32f262fe6
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/SoundTriggerService.java
c722ec4105f7a4733a22fb9004e784347ee36663 27-Jan-2016 Arunesh Mishra <arunesh@google.com> Fix SoundTriggerModel uses to GenericSoundModel.

Change-Id: I30308b39536864d7b9640367861730e3b1b12129
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/SoundTriggerService.java
a772e5fc062c8de48cb9c1d61755110f6b2e189b 25-Jan-2016 Arunesh Mishra <arunesh@google.com> SoundTrigger API improvements.

This CL implements the SoundTrigger API improvements as given in b/22860713. Only the java-level
parts are implemented in this CL.

Key changes include:

* Addition of a SoundTriggerManager/SoundTriggerDetector system API to manage
the sound-trigger based sound models.
* Addition of a SoundTriggerService service that manages all sound models
including voice (keyphrase) and sound-trigger based models.
* Includes logic to write sound-trigger based models to the database.
* VoiceInteractionManager service now uses SoundTriggerService instead of
SoundTriggerHelper.

Bug: 22860713
Change-Id: I7b5c0ed80702527c4460372efeb5e542d3693a69
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/SoundTriggerService.java