Home
last modified time | relevance | path

Searched refs:stopModel (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java300 boolean stopModel = false; // Stop the model after checking that it is started. in startRecognition()
305 stopModel = true; in startRecognition()
310 stopModel = modelData.isModelStarted(); in startRecognition()
313 if (stopModel || unloadModel) { in startRecognition()
314 int status = tryStopAndUnloadLocked(modelData, stopModel, unloadModel); in startRecognition()
479 private int tryStopAndUnloadLocked(ModelData modelData, boolean stopModel, in tryStopAndUnloadLocked() argument
485 if (stopModel && modelData.isModelStarted()) { in tryStopAndUnloadLocked()