/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/ |
D | TestEnrollmentActivity.java | 65 KeyphraseSoundModel soundModel = new KeyphraseSoundModel(modelUuid, null, data, in onEnrollButtonClicked() local 82 KeyphraseSoundModel soundModel = mEnrollmentUtil.getSoundModel(KEYPHRASE_ID, BCP47_LOCALE); in onUnEnrollButtonClicked() local 102 KeyphraseSoundModel soundModel = mEnrollmentUtil.getSoundModel(KEYPHRASE_ID, BCP47_LOCALE); in onReEnrollButtonClicked() local
|
D | EnrollmentUtil.java | 89 public boolean addOrUpdateSoundModel(KeyphraseSoundModel soundModel) { in addOrUpdateSoundModel() 157 private boolean verifyKeyphraseSoundModel(KeyphraseSoundModel soundModel) { in verifyKeyphraseSoundModel()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ISoundTriggerService.aidl | 34 void updateSoundModel(in SoundTrigger.GenericSoundModel soundModel); in updateSoundModel() 43 int loadGenericSoundModel(in SoundTrigger.GenericSoundModel soundModel); in loadGenericSoundModel() 44 int loadKeyphraseSoundModel(in SoundTrigger.KeyphraseSoundModel soundModel); in loadKeyphraseSoundModel()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerService.java | 230 public void updateSoundModel(SoundTrigger.GenericSoundModel soundModel) { in updateSoundModel() 258 public int loadGenericSoundModel(GenericSoundModel soundModel) { in loadGenericSoundModel() 293 public int loadKeyphraseSoundModel(KeyphraseSoundModel soundModel) { in loadKeyphraseSoundModel() 358 SoundModel soundModel = mLoadedModels.get(soundModelId.getUuid()); in startRecognitionForService() local 422 SoundModel soundModel = mLoadedModels.get(soundModelId.getUuid()); in stopRecognitionForService() local 486 SoundModel soundModel = mLoadedModels.get(soundModelId.getUuid()); in unloadSoundModel() local 551 SoundModel soundModel = mLoadedModels.get(soundModelId.getUuid()); in getModelState() local 1238 public int startRecognition(int keyphraseId, KeyphraseSoundModel soundModel, in startRecognition()
|
D | SoundTriggerDbHelper.java | 82 public boolean updateGenericSoundModel(GenericSoundModel soundModel) { in updateGenericSoundModel() 130 GenericSoundModel soundModel = getGenericSoundModel(model_uuid); in deleteGenericSoundModel() local
|
D | SoundTriggerInternal.java | 56 public abstract int startRecognition(int keyphraseId, KeyphraseSoundModel soundModel, in startRecognition()
|
D | SoundTriggerHelper.java | 142 int startGenericRecognition(UUID modelId, GenericSoundModel soundModel, in startGenericRecognition() 171 int startKeyphraseRecognition(int keyphraseId, KeyphraseSoundModel soundModel, in startKeyphraseRecognition() 239 int startRecognition(SoundModel soundModel, ModelData modelData, in startRecognition() 1353 synchronized void setSoundModel(SoundModel soundModel) { in setSoundModel()
|
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/ |
D | SoundTriggerUtil.java | 58 public boolean addOrUpdateSoundModel(GenericSoundModel soundModel) { in addOrUpdateSoundModel()
|
D | SoundTriggerTestService.java | 249 GenericSoundModel soundModel = createNewSoundModel(modelInfo); in loadModel() local 270 GenericSoundModel soundModel = mSoundTriggerUtil.getSoundModel(modelUuid); in unloadModel() local 294 GenericSoundModel soundModel = mSoundTriggerUtil.getSoundModel(modelUuid); in reloadModel() local
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | DatabaseHelper.java | 148 public boolean updateKeyphraseSoundModel(KeyphraseSoundModel soundModel) { in updateKeyphraseSoundModel() 185 KeyphraseSoundModel soundModel = getKeyphraseSoundModel(keyphraseId, userHandle, in deleteKeyphraseSoundModel() local
|
D | VoiceInteractionManagerService.java | 988 KeyphraseSoundModel soundModel = in startRecognition() local
|
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHalHidl.cpp | 552 const struct sound_trigger_sound_model *soundModel) in convertSoundModelToHal() 562 const struct sound_trigger_sound_model *soundModel) in convertSoundModelToHal() 570 const struct sound_trigger_sound_model *soundModel) in convertPhraseSoundModelToHal() 580 const struct sound_trigger_sound_model *soundModel) in convertPhraseSoundModelToHal()
|
/frameworks/base/media/java/android/media/soundtrigger/ |
D | SoundTriggerManager.java | 243 public int loadSoundModel(SoundModel soundModel) { in loadSoundModel()
|