Lines Matching refs:soundtrigger
110 sp<ISoundTriggerHw> soundtrigger = getService(); in getProperties() local
111 if (soundtrigger == 0) { in getProperties()
120 hidlReturn = soundtrigger->getProperties([&](int rc, auto res) { in getProperties()
148 sp<ISoundTriggerHw> soundtrigger = getService(); in loadSoundModel() local
149 if (soundtrigger == 0) { in loadSoundModel()
170 sp<V2_1_ISoundTriggerHw> soundtrigger_2_1 = toService2_1(soundtrigger); in loadSoundModel()
171 sp<V2_2_ISoundTriggerHw> soundtrigger_2_2 = toService2_2(soundtrigger); in loadSoundModel()
205 hidlReturn = soundtrigger->loadPhraseSoundModel( in loadSoundModel()
243 hidlReturn = soundtrigger->loadSoundModel(halSoundModel, in loadSoundModel()
268 sp<ISoundTriggerHw> soundtrigger = getService(); in unloadSoundModel() local
269 if (soundtrigger == 0) { in unloadSoundModel()
282 hidlReturn = soundtrigger->unloadSoundModel(model->mHalHandle); in unloadSoundModel()
298 sp<ISoundTriggerHw> soundtrigger = getService(); in startRecognition() local
299 if (soundtrigger == 0) { in startRecognition()
312 sp<V2_1_ISoundTriggerHw> soundtrigger_2_1 = toService2_1(soundtrigger); in startRecognition()
313 sp<V2_2_ISoundTriggerHw> soundtrigger_2_2 = toService2_2(soundtrigger); in startRecognition()
341 hidlReturn = soundtrigger->startRecognition(model->mHalHandle, halConfig, this, handle); in startRecognition()
354 sp<ISoundTriggerHw> soundtrigger = getService(); in stopRecognition() local
355 if (soundtrigger == 0) { in stopRecognition()
368 hidlReturn = soundtrigger->stopRecognition(model->mHalHandle); in stopRecognition()
380 sp<ISoundTriggerHw> soundtrigger = getService(); in stopAllRecognitions() local
381 if (soundtrigger == 0) { in stopAllRecognitions()
388 hidlReturn = soundtrigger->stopAllRecognitions(); in stopAllRecognitions()
400 sp<ISoundTriggerHw> soundtrigger = getService(); in getModelState() local
401 if (soundtrigger == 0) { in getModelState()
405 sp<V2_2_ISoundTriggerHw> soundtrigger_2_2 = toService2_2(soundtrigger); in getModelState()