Searched refs:modelData (Results 1 – 3 of 3) sorted by relevance
166 ModelData modelData = getOrCreateGenericModelDataLocked(modelId); in startGenericRecognition() local167 if (modelData == null) { in startGenericRecognition()171 return startRecognition(soundModel, modelData, callback, recognitionConfig, in startGenericRecognition()226 private int cleanUpExistingKeyphraseModelLocked(ModelData modelData) { in cleanUpExistingKeyphraseModelLocked() argument229 int status = tryStopAndUnloadLocked(modelData, true /* stop */, true /* unload */); in cleanUpExistingKeyphraseModelLocked()232 modelData.toString()); in cleanUpExistingKeyphraseModelLocked()237 private int prepareForRecognition(ModelData modelData) { in prepareForRecognition() argument243 if (!modelData.isModelLoaded()) { in prepareForRecognition()250 int status = mModule.loadSoundModel(modelData.getSoundModel(), handle); in prepareForRecognition()255 modelData.setHandle(handle[0]); in prepareForRecognition()[all …]
236 public byte modelData[]; field in SoundTriggerTestService.ModelInfo244 modelInfo.modelData); in createNewSoundModel()523 modelInfo.modelData = new byte[(int) modelDataFile.length()]; in createModelInfo()525 input.read(modelInfo.modelData, 0, modelInfo.modelData.length); in createModelInfo()527 modelInfo.modelData = new byte[1024]; in createModelInfo()528 mRandom.nextBytes(modelInfo.modelData); in createModelInfo()
120 var modelData = mModelList.remove(i); in unloadSoundModel() local121 if (modelData.getWasContended()) { in unloadSoundModel()