Searched refs:stopModel (Results 1 – 1 of 1) sorted by relevance
264 boolean stopModel = false; // Stop the model after checking that it is started. in startRecognition()269 stopModel = true; in startRecognition()274 stopModel = modelData.isModelStarted(); in startRecognition()277 if (stopModel || unloadModel) { in startRecognition()278 int status = tryStopAndUnloadLocked(modelData, stopModel, unloadModel); in startRecognition()456 private int tryStopAndUnloadLocked(ModelData modelData, boolean stopModel, in tryStopAndUnloadLocked() argument462 if (stopModel && modelData.isModelStarted()) { in tryStopAndUnloadLocked()