Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerManager.java81 private final ISoundTriggerSession mSoundTriggerSession; field in SoundTriggerManager
112 mSoundTriggerSession = soundTriggerService.attachAsOriginator( in SoundTriggerManager()
117 mSoundTriggerSession = null; in SoundTriggerManager()
176 mSoundTriggerSession = soundTriggerService.attachAsOriginator( in SoundTriggerManager()
217 if (mSoundTriggerSession == null) { in updateModel()
221 mSoundTriggerSession.updateSoundModel(model.getGenericSoundModel()); in updateModel()
238 if (mSoundTriggerSession == null) { in getModel()
243 mSoundTriggerSession.getSoundModel( in getModel()
263 if (mSoundTriggerSession == null) { in deleteModel()
268 mSoundTriggerSession.deleteSoundModel( in deleteModel()
[all …]
DSoundTriggerDetector.java71 private final ISoundTriggerSession mSoundTriggerSession; field in SoundTriggerDetector
285 mSoundTriggerSession = soundTriggerSession; in SoundTriggerDetector()
326 status = mSoundTriggerSession.startRecognition(mSoundModel, in startRecognition()
345 status = mSoundTriggerSession.stopRecognition(new ParcelUuid(mSoundModel.getUuid()), in stopRecognition()
/frameworks/base/core/java/android/service/voice/
DAlwaysOnHotwordDetector.java322 private IVoiceInteractionSoundTriggerSession mSoundTriggerSession; field in AlwaysOnHotwordDetector
941 mSoundTriggerSession = in initialize()
1106 mSoundTriggerSession.getDspModuleProperties(); in getSupportedAudioCapabilitiesLocked()
1414 if (DBG) Slog.d(TAG, "detachSessionLocked() " + mSoundTriggerSession); in detachSessionLocked()
1415 if (mSoundTriggerSession != null) { in detachSessionLocked()
1416 mSoundTriggerSession.detach(); in detachSessionLocked()
1536 code = mSoundTriggerSession.startRecognition( in startRecognitionLocked()
1555 code = mSoundTriggerSession.stopRecognition(mKeyphraseMetadata.getId(), in stopRecognitionLocked()
1570 int code = mSoundTriggerSession.setParameter(mKeyphraseMetadata.getId(), modelParam, in setParameterLocked()
1586 return mSoundTriggerSession.getParameter(mKeyphraseMetadata.getId(), modelParam); in getParameterLocked()
[all …]