Lines Matching refs:halConfig

317         V2_2_ISoundTriggerHw::RecognitionConfig halConfig;  in startRecognition()  local
318 auto result = convertRecognitionConfigToHal(&halConfig, config); in startRecognition()
322 model->mHalHandle, halConfig, this, handle); in startRecognition()
327 V2_1_ISoundTriggerHw::RecognitionConfig halConfig; in startRecognition() local
328 auto result = convertRecognitionConfigToHal(&halConfig, config); in startRecognition()
332 model->mHalHandle, halConfig, this, handle); in startRecognition()
337 ISoundTriggerHw::RecognitionConfig halConfig; in startRecognition() local
338 convertRecognitionConfigToHal(&halConfig, config); in startRecognition()
341 hidlReturn = soundtrigger->startRecognition(model->mHalHandle, halConfig, this, handle); in startRecognition()
603 ISoundTriggerHw::RecognitionConfig *halConfig, in convertRecognitionConfigToHal() argument
606 halConfig->captureHandle = config->capture_handle; in convertRecognitionConfigToHal()
607 halConfig->captureDevice = (AudioDevice)config->capture_device; in convertRecognitionConfigToHal()
608 halConfig->captureRequested = (uint32_t)config->capture_requested; in convertRecognitionConfigToHal()
610 halConfig->phrases.resize(config->num_phrases); in convertRecognitionConfigToHal()
612 convertPhraseRecognitionExtraToHal(&halConfig->phrases[i], in convertRecognitionConfigToHal()
616 halConfig->data.setToExternal((uint8_t *)config + config->data_offset, config->data_size); in convertRecognitionConfigToHal()
620 V2_1_ISoundTriggerHw::RecognitionConfig *halConfig, in convertRecognitionConfigToHal() argument
623 convertRecognitionConfigToHal(&halConfig->header, config); in convertRecognitionConfigToHal()
624 return moveVectorToMemory(&halConfig->header.data, &halConfig->data); in convertRecognitionConfigToHal()