Home
last modified time | relevance | path

Searched defs:soundModel (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerDuplicateModelHandlerTest.java76 final var soundModel = createSoundModelOne(); in loadSoundModel_throwsResourceContention_whenDuplicateUuid() local
95 final var soundModel = createSoundModelOne(); in loadSoundModel_doesNotThrowResourceContention_whenDifferentUuid() local
113 final var soundModel = createSoundModelOne(); in loadSoundModel_doesNotThrow_afterDuplicateUuidHasBeenUnloaded() local
130 final var soundModel = createSoundModelOne(); in unloadSoundModel_triggersResourceCallback_afterDuplicateUuidRejected() local
151 final var soundModel = createPhraseSoundModelOne(); in loadPhraseSoundModel_throwsResourceContention_whenDuplicateUuid() local
172 final var soundModel = createPhraseSoundModelOne(); in loadPhraseSoundModel_doesNotThrowResourceContention_whenDifferentUuid() local
191 final var soundModel = createPhraseSoundModelOne(); in loadPhraseSoundModel_doesNotThrow_afterDuplicateUuidHasBeenUnloaded() local
208 final var soundModel = createPhraseSoundModelOne(); in unloadSoundModel_triggersResourceCallback_afterDuplicateUuidRejectedPhrase() local
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DTestEnrollmentActivity.java70 KeyphraseSoundModel soundModel = new KeyphraseSoundModel(modelUuid, null, data, in onEnrollButtonClicked() local
87 KeyphraseSoundModel soundModel = mEnrollmentUtil.getSoundModel(KEYPHRASE_ID, BCP47_LOCALE); in onUnEnrollButtonClicked() local
107 KeyphraseSoundModel soundModel = mEnrollmentUtil.getSoundModel(KEYPHRASE_ID, BCP47_LOCALE); in onReEnrollButtonClicked() local
DEnrollmentUtil.java89 public boolean addOrUpdateSoundModel(KeyphraseSoundModel soundModel) { in addOrUpdateSoundModel()
157 private boolean verifyKeyphraseSoundModel(KeyphraseSoundModel soundModel) { in verifyKeyphraseSoundModel()
/frameworks/base/core/java/com/android/internal/app/
DISoundTriggerSession.aidl35 void updateSoundModel(in SoundTrigger.GenericSoundModel soundModel); in updateSoundModel()
39 int startRecognition(in SoundTrigger.GenericSoundModel soundModel, in startRecognition()
45 int loadGenericSoundModel(in SoundTrigger.GenericSoundModel soundModel); in loadGenericSoundModel()
46 int loadKeyphraseSoundModel(in SoundTrigger.KeyphraseSoundModel soundModel); in loadKeyphraseSoundModel()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerUtil.java58 public boolean addOrUpdateSoundModel(SoundTriggerManager.Model soundModel) { in addOrUpdateSoundModel()
71 SoundTriggerManager.Model soundModel) { in getGenericSoundModel()
DSoundTriggerTestService.java256 SoundTriggerManager.Model soundModel = createNewSoundModel(modelInfo); in loadModel() local
279 SoundTriggerManager.Model soundModel = mSoundTriggerUtil.getSoundModel(modelUuid); in unloadModel() local
304 SoundTriggerManager.Model soundModel = mSoundTriggerUtil.getSoundModel(modelUuid); in reloadModel() local
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DHw2CompatUtil.java31 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.SoundModel soundModel) { in convertSoundModel_2_1_to_2_0()
61 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.PhraseSoundModel soundModel) { in convertPhraseSoundModel_2_1_to_2_0()
DSoundTriggerHalMaxModelLimiter.java73 public int loadSoundModel(SoundModel soundModel, ModelCallback callback) { in loadSoundModel()
85 public int loadPhraseSoundModel(PhraseSoundModel soundModel, in loadPhraseSoundModel()
DISoundTriggerHal.java75 int loadSoundModel(SoundModel soundModel, ModelCallback callback); in loadSoundModel()
81 int loadPhraseSoundModel(PhraseSoundModel soundModel, ModelCallback callback); in loadPhraseSoundModel()
DSoundTriggerHw2Compat.java214 public int loadSoundModel(SoundModel soundModel, ModelCallback callback) { in loadSoundModel()
250 public int loadPhraseSoundModel(PhraseSoundModel soundModel, ModelCallback callback) { in loadPhraseSoundModel()
447 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.SoundModel soundModel, in loadSoundModel_2_0()
466 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.PhraseSoundModel soundModel, in loadPhraseSoundModel_2_0()
DSoundTriggerDuplicateModelHandler.java96 public int loadSoundModel(SoundModel soundModel, ModelCallback callback) { in loadSoundModel()
106 public int loadPhraseSoundModel(PhraseSoundModel soundModel, ModelCallback callback) { in loadPhraseSoundModel()
DSoundTriggerHalEnforcer.java81 public int loadSoundModel(SoundModel soundModel, ModelCallback callback) { in loadSoundModel()
95 public int loadPhraseSoundModel(PhraseSoundModel soundModel, ModelCallback callback) { in loadPhraseSoundModel()
DSoundTriggerHw3Compat.java67 public int loadSoundModel(SoundModel soundModel, ModelCallback callback) { in loadSoundModel()
81 public int loadPhraseSoundModel(PhraseSoundModel soundModel, ModelCallback callback) { in loadPhraseSoundModel()
DSoundTriggerHalWatchdog.java61 public int loadSoundModel(SoundModel soundModel, ModelCallback callback) { in loadSoundModel()
68 public int loadPhraseSoundModel(PhraseSoundModel soundModel, in loadPhraseSoundModel()
DSoundTriggerHalConcurrentCaptureHandler.java195 public int loadSoundModel(SoundModel soundModel, ModelCallback callback) { in loadSoundModel()
202 public int loadPhraseSoundModel(PhraseSoundModel soundModel, in loadPhraseSoundModel()
DFakeSoundTriggerHal.java404 public int loadSoundModel(SoundModel soundModel, in loadSoundModel()
423 public int loadPhraseSoundModel(PhraseSoundModel soundModel, in loadPhraseSoundModel()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerService.java546 public int startRecognition(GenericSoundModel soundModel, in startRecognition()
599 public void updateSoundModel(SoundTrigger.GenericSoundModel soundModel) { in updateSoundModel()
623 public int loadGenericSoundModel(GenericSoundModel soundModel) { in loadGenericSoundModel()
644 mLoadedModels.put(soundModel.getUuid(), soundModel); in loadGenericSoundModel() local
651 public int loadKeyphraseSoundModel(KeyphraseSoundModel soundModel) { in loadKeyphraseSoundModel()
681 mLoadedModels.put(soundModel.getUuid(), soundModel); in loadKeyphraseSoundModel() local
705 SoundModel soundModel = mLoadedModels.get(soundModelId.getUuid()); in startRecognitionForService() local
765 SoundModel soundModel = mLoadedModels.get(soundModelId.getUuid()); in stopRecognitionForService() local
828 SoundModel soundModel = mLoadedModels.get(soundModelId.getUuid()); in unloadSoundModel() local
890 SoundModel soundModel = mLoadedModels.get(soundModelId.getUuid()); in getModelState() local
[all …]
DSoundTriggerDbHelper.java85 public boolean updateGenericSoundModel(GenericSoundModel soundModel) { in updateGenericSoundModel()
137 GenericSoundModel soundModel = getGenericSoundModel(model_uuid); in deleteGenericSoundModel() local
DSoundTriggerHelper.java152 public int startGenericRecognition(UUID modelId, GenericSoundModel soundModel, in startGenericRecognition()
185 public int startKeyphraseRecognition(int keyphraseId, KeyphraseSoundModel soundModel, in startKeyphraseRecognition()
275 private int startRecognition(SoundModel soundModel, ModelData modelData, in startRecognition()
1515 synchronized void setSoundModel(SoundModel soundModel) { in setSoundModel()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DIEnrolledModelDb.java43 boolean updateKeyphraseSoundModel(KeyphraseSoundModel soundModel); in updateKeyphraseSoundModel()
DDatabaseHelper.java157 public boolean updateKeyphraseSoundModel(KeyphraseSoundModel soundModel) { in updateKeyphraseSoundModel()
197 KeyphraseSoundModel soundModel = getKeyphraseSoundModel(keyphraseId, userHandle, in deleteKeyphraseSoundModel() local
DTestModelEnrollmentDatabase.java98 public boolean updateKeyphraseSoundModel(KeyphraseSoundModel soundModel) { in updateKeyphraseSoundModel()
/frameworks/base/services/core/java/com/android/server/
DSoundTriggerInternal.java75 int startRecognition(int keyphraseId, KeyphraseSoundModel soundModel, in startRecognition()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerDetector.java283 @NonNull GenericSoundModel soundModel, in SoundTriggerDetector()
DSoundTriggerManager.java473 public int loadSoundModel(@NonNull SoundModel soundModel) { in loadSoundModel()

12