Searched refs:config_2_0 (Results 1 – 3 of 3) sorted by relevance
/hardware/interfaces/soundtrigger/2.1/default/ |
D | SoundTriggerHw.cpp | 143 V2_0::ISoundTriggerHw::RecognitionConfig config_2_0(config.header); in startRecognition_2_1() local 144 auto result = memoryAsVector(config.data, &config_2_0.data); in startRecognition_2_1() 145 return result.first ? startRecognition(modelHandle, config_2_0) : Return<int32_t>(-ENOMEM); in startRecognition_2_1()
|
/hardware/interfaces/soundtrigger/2.3/default/ |
D | SoundTriggerHw.cpp | 467 const V2_0::ISoundTriggerHw::RecognitionConfig* config_2_0 = &config_2_1->header; in convertRecognitionConfigToHalHeader() local 481 halConfigBase->capture_handle = (audio_io_handle_t)config_2_0->captureHandle; in convertRecognitionConfigToHalHeader() 482 halConfigBase->capture_device = (audio_devices_t)config_2_0->captureDevice; in convertRecognitionConfigToHalHeader() 483 halConfigBase->capture_requested = config_2_0->captureRequested; in convertRecognitionConfigToHalHeader() 486 for (i = 0; i < config_2_0->phrases.size() && i < SOUND_TRIGGER_MAX_PHRASES; i++) { in convertRecognitionConfigToHalHeader() 487 convertPhraseRecognitionExtraToHal(&halConfigBase->phrases[i], &config_2_0->phrases[i]); in convertRecognitionConfigToHalHeader() 703 V2_0::ISoundTriggerHw::RecognitionConfig config_2_0(config.header); in startRecognition_2_1() local 704 auto result = memoryAsVector(config.data, &config_2_0.data); in startRecognition_2_1() 705 return result.first ? startRecognition(modelHandle, config_2_0, callback, cookie) in startRecognition_2_1()
|
/hardware/interfaces/soundtrigger/2.2/default/ |
D | SoundTriggerHw.cpp | 647 V2_0::ISoundTriggerHw::RecognitionConfig config_2_0(config.header); in startRecognition_2_1() local 648 auto result = memoryAsVector(config.data, &config_2_0.data); in startRecognition_2_1() 649 return result.first ? startRecognition(modelHandle, config_2_0, callback, cookie) in startRecognition_2_1()
|