Home
last modified time | relevance | path

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

/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareImplTest.java109 private void unloadModel(ISoundTriggerModule module, int handle, int hwHandle) in unloadModel() method in SoundTriggerMiddlewareImplTest
111 module.unloadModel(handle); in unloadModel()
179 unloadModel(module, handle, hwHandle); in testLoadUnloadModel()
209 unloadModel(module, handle, hwHandle); in testLoadUnloadPhraseModel()
229 unloadModel(module, handle, hwHandle); in testStartStopRecognition()
273 unloadModel(module, handle, hwHandle); in testStartStopPhraseRecognition()
318 unloadModel(module, handle, hwHandle); in testRecognition()
348 unloadModel(module, handle, hwHandle); in testPhraseRecognition()
385 unloadModel(module, handle, hwHandle); in testForceRecognition()
416 unloadModel(module, handle, hwHandle); in testForceRecognitionNotSupported()
[all …]
/frameworks/base/media/aidl/android/media/soundtrigger_middleware/
DISoundTriggerModule.aidl69 void unloadModel(int modelHandle); in unloadModel() method
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareService.java173 public void unloadModel(int modelHandle) throws RemoteException { in unloadModel() method in SoundTriggerMiddlewareService.ModuleService
175 mDelegate.unloadModel(modelHandle); in unloadModel()
DSoundTriggerMiddlewarePermission.java239 public void unloadModel(int modelHandle) throws RemoteException { in unloadModel() method in SoundTriggerMiddlewarePermission.ModuleWrapper
242 mDelegate.unloadModel(modelHandle); in unloadModel()
DSoundTriggerMiddlewareValidation.java396 public void unloadModel(int modelHandle) { in unloadModel() method in SoundTriggerMiddlewareValidation.Session
419 mDelegate.unloadModel(modelHandle); in unloadModel()
789 mDelegate.unloadModel(cachedMap.keyAt(i)); in binderDied()
DSoundTriggerMiddlewareLogging.java229 public void unloadModel(int modelHandle) throws RemoteException { in unloadModel() method in SoundTriggerMiddlewareLogging.ModuleLogging
231 mDelegate.unloadModel(modelHandle); in unloadModel()
DSoundTriggerModule.java305 public void unloadModel(int modelHandle) { in unloadModel() method in SoundTriggerModule.Session
DREADME.md126 `stopRecognition()` and `unloadModel()` work differently. They guarantee that once they return,
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java301 boolean unloadModel = false; in startRecognition()
306 unloadModel = false; // No need to unload if the model hasn't changed. in startRecognition()
311 unloadModel = modelData.isModelLoaded(); in startRecognition()
313 if (stopModel || unloadModel) { in startRecognition()
314 int status = tryStopAndUnloadLocked(modelData, stopModel, unloadModel); in startRecognition()
480 boolean unloadModel) { in tryStopAndUnloadLocked() argument
494 if (unloadModel && modelData.isModelLoaded()) { in tryStopAndUnloadLocked()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTriggerModule.java212 mService.unloadModel(soundModelHandle); in unloadSoundModel()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestActivity.java219 mService.unloadModel(mSelectedModelUuid); in onUnloadButtonClicked()
DSoundTriggerTestService.java124 unloadModel(getModelUuidFromIntent(intent));
270 public synchronized void unloadModel(UUID modelUuid) { in unloadModel() method in SoundTriggerTestService