/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerMiddlewareImplTest.java | 109 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/ |
D | ISoundTriggerModule.aidl | 69 void unloadModel(int modelHandle); in unloadModel() method
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerMiddlewareService.java | 173 public void unloadModel(int modelHandle) throws RemoteException { in unloadModel() method in SoundTriggerMiddlewareService.ModuleService 175 mDelegate.unloadModel(modelHandle); in unloadModel()
|
D | SoundTriggerMiddlewarePermission.java | 239 public void unloadModel(int modelHandle) throws RemoteException { in unloadModel() method in SoundTriggerMiddlewarePermission.ModuleWrapper 242 mDelegate.unloadModel(modelHandle); in unloadModel()
|
D | SoundTriggerMiddlewareValidation.java | 396 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()
|
D | SoundTriggerMiddlewareLogging.java | 229 public void unloadModel(int modelHandle) throws RemoteException { in unloadModel() method in SoundTriggerMiddlewareLogging.ModuleLogging 231 mDelegate.unloadModel(modelHandle); in unloadModel()
|
D | SoundTriggerModule.java | 305 public void unloadModel(int modelHandle) { in unloadModel() method in SoundTriggerModule.Session
|
D | README.md | 126 `stopRecognition()` and `unloadModel()` work differently. They guarantee that once they return,
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerHelper.java | 301 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/ |
D | SoundTriggerModule.java | 212 mService.unloadModel(soundModelHandle); in unloadSoundModel()
|
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/ |
D | SoundTriggerTestActivity.java | 219 mService.unloadModel(mSelectedModelUuid); in onUnloadButtonClicked()
|
D | SoundTriggerTestService.java | 124 unloadModel(getModelUuidFromIntent(intent)); 270 public synchronized void unloadModel(UUID modelUuid) { in unloadModel() method in SoundTriggerTestService
|