Lines Matching refs:modelHandle
170 Return<int32_t> SoundTriggerHw::unloadSoundModel(int32_t modelHandle) { in unloadSoundModel() argument
181 client = mClients.valueFor(modelHandle); in unloadSoundModel()
190 mClients.removeItem(modelHandle); in unloadSoundModel()
197 int32_t modelHandle, const V2_0::ISoundTriggerHw::RecognitionConfig& config, in startRecognition() argument
210 client = mClients.valueFor(modelHandle); in startRecognition()
233 Return<int32_t> SoundTriggerHw::stopRecognition(int32_t modelHandle) { in stopRecognition() argument
243 client = mClients.valueFor(modelHandle); in stopRecognition()
700 int32_t modelHandle, const V2_1::ISoundTriggerHw::RecognitionConfig& config, in startRecognition_2_1() argument
705 return result.first ? startRecognition(modelHandle, config_2_0, callback, cookie) in startRecognition_2_1()
750 Return<int32_t> SoundTriggerHw::getModelState(int32_t modelHandle) { in getModelState() argument
758 client = mClients.valueFor(modelHandle); in getModelState()
792 Return<int32_t> SoundTriggerHw::startRecognition_2_3(int32_t modelHandle, in startRecognition_2_3() argument
805 client = mClients.valueFor(modelHandle); in startRecognition_2_3()
827 Return<int32_t> SoundTriggerHw::setParameter(V2_0::SoundModelHandle modelHandle, in setParameter() argument
836 client = mClients.valueFor(modelHandle); in setParameter()
846 Return<void> SoundTriggerHw::getParameter(V2_0::SoundModelHandle modelHandle, in getParameter() argument
856 client = mClients.valueFor(modelHandle); in getParameter()
870 Return<void> SoundTriggerHw::queryParameter(V2_0::SoundModelHandle modelHandle, in queryParameter() argument
881 client = mClients.valueFor(modelHandle); in queryParameter()