Searched refs:modelId (Results 1 – 2 of 2) sorted by relevance
181 int startGenericRecognition(UUID modelId, GenericSoundModel soundModel, in startGenericRecognition() argument184 if (modelId == null || soundModel == null || callback == null || in startGenericRecognition()191 ModelData modelData = getOrCreateGenericModelDataLocked(modelId); in startGenericRecognition()398 int stopGenericRecognition(UUID modelId, IRecognitionStatusCallback callback) { in stopGenericRecognition() argument401 if (callback == null || modelId == null) { in stopGenericRecognition()403 modelId); in stopGenericRecognition()407 ModelData modelData = mModelDataMap.get(modelId); in stopGenericRecognition()409 Slog.w(TAG, "Attempting stopRecognition on invalid model with id:" + modelId); in stopGenericRecognition()583 int unloadGenericSoundModel(UUID modelId) { in unloadGenericSoundModel() argument586 if (modelId == null || mModule == null) { in unloadGenericSoundModel()[all …]
80 public GenericSoundModel getSoundModel(UUID modelId) { in getSoundModel() argument83 model = mSoundTriggerService.getSoundModel(new ParcelUuid(modelId)); in getSoundModel()102 public boolean deleteSoundModel(UUID modelId) { in deleteSoundModel() argument104 mSoundTriggerService.deleteSoundModel(new ParcelUuid(modelId)); in deleteSoundModel()112 public SoundTriggerDetector createSoundTriggerDetector(UUID modelId, in createSoundTriggerDetector() argument114 return mSoundTriggerManager.createSoundTriggerDetector(modelId, callback, null); in createSoundTriggerDetector()