Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
H A DSoundTriggerHelper.java368 boolean stopModel = false; // Stop the model after checking that it is started. in startRecognition()
373 stopModel = true; in startRecognition()
378 stopModel = modelData.isModelStarted(); in startRecognition()
381 if (stopModel || unloadModel) { in startRecognition()
382 int status = tryStopAndUnloadLocked(modelData, stopModel, unloadModel); in startRecognition()
549 private int tryStopAndUnloadLocked(ModelData modelData, boolean stopModel, in tryStopAndUnloadLocked() argument
555 if (stopModel && modelData.isModelStarted()) { in tryStopAndUnloadLocked()