/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerDuplicateModelHandlerTest.java | 76 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/ |
D | TestEnrollmentActivity.java | 70 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
|
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 | ISoundTriggerSession.aidl | 35 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/ |
D | SoundTriggerUtil.java | 58 public boolean addOrUpdateSoundModel(SoundTriggerManager.Model soundModel) { in addOrUpdateSoundModel() 71 SoundTriggerManager.Model soundModel) { in getGenericSoundModel()
|
D | SoundTriggerTestService.java | 256 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/ |
D | Hw2CompatUtil.java | 31 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()
|
D | SoundTriggerHalMaxModelLimiter.java | 73 public int loadSoundModel(SoundModel soundModel, ModelCallback callback) { in loadSoundModel() 85 public int loadPhraseSoundModel(PhraseSoundModel soundModel, in loadPhraseSoundModel()
|
D | ISoundTriggerHal.java | 75 int loadSoundModel(SoundModel soundModel, ModelCallback callback); in loadSoundModel() 81 int loadPhraseSoundModel(PhraseSoundModel soundModel, ModelCallback callback); in loadPhraseSoundModel()
|
D | SoundTriggerHw2Compat.java | 214 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()
|
D | SoundTriggerDuplicateModelHandler.java | 96 public int loadSoundModel(SoundModel soundModel, ModelCallback callback) { in loadSoundModel() 106 public int loadPhraseSoundModel(PhraseSoundModel soundModel, ModelCallback callback) { in loadPhraseSoundModel()
|
D | SoundTriggerHalEnforcer.java | 81 public int loadSoundModel(SoundModel soundModel, ModelCallback callback) { in loadSoundModel() 95 public int loadPhraseSoundModel(PhraseSoundModel soundModel, ModelCallback callback) { in loadPhraseSoundModel()
|
D | SoundTriggerHw3Compat.java | 67 public int loadSoundModel(SoundModel soundModel, ModelCallback callback) { in loadSoundModel() 81 public int loadPhraseSoundModel(PhraseSoundModel soundModel, ModelCallback callback) { in loadPhraseSoundModel()
|
D | SoundTriggerHalWatchdog.java | 61 public int loadSoundModel(SoundModel soundModel, ModelCallback callback) { in loadSoundModel() 68 public int loadPhraseSoundModel(PhraseSoundModel soundModel, in loadPhraseSoundModel()
|
D | SoundTriggerHalConcurrentCaptureHandler.java | 195 public int loadSoundModel(SoundModel soundModel, ModelCallback callback) { in loadSoundModel() 202 public int loadPhraseSoundModel(PhraseSoundModel soundModel, in loadPhraseSoundModel()
|
D | FakeSoundTriggerHal.java | 404 public int loadSoundModel(SoundModel soundModel, in loadSoundModel() 423 public int loadPhraseSoundModel(PhraseSoundModel soundModel, in loadPhraseSoundModel()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerService.java | 546 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 …]
|
D | SoundTriggerDbHelper.java | 85 public boolean updateGenericSoundModel(GenericSoundModel soundModel) { in updateGenericSoundModel() 137 GenericSoundModel soundModel = getGenericSoundModel(model_uuid); in deleteGenericSoundModel() local
|
D | SoundTriggerHelper.java | 152 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/ |
D | IEnrolledModelDb.java | 43 boolean updateKeyphraseSoundModel(KeyphraseSoundModel soundModel); in updateKeyphraseSoundModel()
|
D | DatabaseHelper.java | 157 public boolean updateKeyphraseSoundModel(KeyphraseSoundModel soundModel) { in updateKeyphraseSoundModel() 197 KeyphraseSoundModel soundModel = getKeyphraseSoundModel(keyphraseId, userHandle, in deleteKeyphraseSoundModel() local
|
D | TestModelEnrollmentDatabase.java | 98 public boolean updateKeyphraseSoundModel(KeyphraseSoundModel soundModel) { in updateKeyphraseSoundModel()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SoundTriggerInternal.java | 75 int startRecognition(int keyphraseId, KeyphraseSoundModel soundModel, in startRecognition()
|
/frameworks/base/media/java/android/media/soundtrigger/ |
D | SoundTriggerDetector.java | 283 @NonNull GenericSoundModel soundModel, in SoundTriggerDetector()
|
D | SoundTriggerManager.java | 473 public int loadSoundModel(@NonNull SoundModel soundModel) { in loadSoundModel()
|