Home
last modified time | relevance | path

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

/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java269 boolean unloadModel = false; in startRecognition()
274 unloadModel = false; // No need to unload if the model hasn't changed. in startRecognition()
279 unloadModel = modelData.isModelLoaded(); in startRecognition()
281 if (stopModel || unloadModel) { in startRecognition()
282 int status = tryStopAndUnloadLocked(modelData, stopModel, unloadModel); in startRecognition()
465 boolean unloadModel) { in tryStopAndUnloadLocked() argument
479 if (unloadModel && modelData.isModelLoaded()) { in tryStopAndUnloadLocked()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestActivity.java224 mService.unloadModel(mSelectedModelUuid); in onUnloadButtonClicked()
DSoundTriggerTestService.java119 unloadModel(getModelUuidFromIntent(intent));
261 public synchronized void unloadModel(UUID modelUuid) { in unloadModel() method in SoundTriggerTestService