Searched refs:sound_model (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHwService.cpp | 591 struct sound_trigger_sound_model* sound_model = in loadSoundModel() local 595 if (sound_model->type == SOUND_MODEL_TYPE_KEYPHRASE) { in loadSoundModel() 601 if (sound_model->data_offset < structSize || in loadSoundModel() 602 sound_model->data_size > (UINT_MAX - sound_model->data_offset) || in loadSoundModel() 603 immutableMemory.second < sound_model->data_offset || in loadSoundModel() 604 sound_model->data_size > in loadSoundModel() 605 (immutableMemory.second - sound_model->data_offset)) { in loadSoundModel() 630 status = mHalInterface->loadSoundModel(sound_model, in loadSoundModel() 637 sp<Model> model = new Model(*handle, session, ioHandle, device, sound_model->type, in loadSoundModel()
|
D | SoundTriggerHalHidl.cpp | 139 int SoundTriggerHalHidl::loadSoundModel(struct sound_trigger_sound_model *sound_model, in loadSoundModel() argument 172 if (sound_model->type == SOUND_MODEL_TYPE_KEYPHRASE) { in loadSoundModel() 175 auto result = convertPhraseSoundModelToHal(&halSoundModel, sound_model); in loadSoundModel() 189 auto result = convertPhraseSoundModelToHal(&halSoundModel, sound_model); in loadSoundModel() 203 convertPhraseSoundModelToHal(&halSoundModel, sound_model); in loadSoundModel() 215 auto result = convertSoundModelToHal(&halSoundModel, sound_model); in loadSoundModel() 228 auto result = convertSoundModelToHal(&halSoundModel, sound_model); in loadSoundModel() 241 convertSoundModelToHal(&halSoundModel, sound_model); in loadSoundModel()
|
D | SoundTriggerHalInterface.h | 43 virtual int loadSoundModel(struct sound_trigger_sound_model *sound_model,
|
D | SoundTriggerHalHidl.h | 67 virtual int loadSoundModel(struct sound_trigger_sound_model *sound_model,
|