summaryrefslogtreecommitdiff
path: root/services/voiceinteraction/java/com/android/server/soundtrigger/SoundTriggerDbHelper.java
Commit message (Collapse)AuthorAgeFilesLines
* remove SoundTrigger public member variablesNicholas Ambur2020-03-261-5/+6
| | | | | | | Bug: 150127026 Test: boot and verify soundtrigger hotword is functional Change-Id: I04061cdb3eba02aac0f08de96f957e2b74c70a12
* add version entry to soundtrigger model databaseNicholas Ambur2020-01-131-10/+60
| | | | | | | | Bug:147159435 Test: manual hotword trigger with upgraded database && dumpsys voiceinteraction Change-Id: I45497c1159fe879e1de119a18aac8f7ecc2b0686
* SoundTriggerHelper changes for GenericSoundModels.Arunesh Mishra2016-02-171-0/+1
| | | | | | | | | | | | | | | | | | - 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
* SoundTrigger API improvements.Arunesh Mishra2016-01-271-0/+144
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