diff options
author | Arunesh Mishra <arunesh@google.com> | 2016-03-03 22:52:36 -0800 |
---|---|---|
committer | Arunesh Mishra <arunesh@google.com> | 2016-04-08 13:22:38 -0700 |
commit | 78ab7cf301fd102fbfd99c69fd442ed93563a6f1 (patch) | |
tree | 0f08136759ea8ca3dcccb4c3cda8ae5a2d25f4cb /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | c147dbbca4ea1870bcf88c5889e6a83865ceed54 (diff) |
SoundTriggerHelper re-design.
This CL redesigns and cleans up a lot of the core logic in STH.
Major changes include:
- Adds Tron logging based counters.
- Common startRecognition(), stopRecognition() and updateRecognition()
routines that work on both Keyphrase and Generic sound models.
- Common streamlined logic for when recognition is aborted, requested and
paused due to phone call/power save etc, for both keyphrase and generic
models.
- Special handling of the singleton nature of keyphrase models in
startRecognition().
- Moves all Keyphrase model state to the common ModelData structure.
- Adds Recognition pause/resume() for generic sound models so that they react
to power save, call state, recognition aborted due to service unavailable
etc.
Bug: 27972641
Change-Id: I96a7f567d2a4973facec556892a163ca74176bbf
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions