summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorArunesh Mishra <arunesh@google.com>2016-03-03 22:52:36 -0800
committerArunesh Mishra <arunesh@google.com>2016-04-08 13:22:38 -0700
commit78ab7cf301fd102fbfd99c69fd442ed93563a6f1 (patch)
tree0f08136759ea8ca3dcccb4c3cda8ae5a2d25f4cb /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc147dbbca4ea1870bcf88c5889e6a83865ceed54 (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 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions