Searched refs:sound_model (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHalLegacy.cpp | 77 int SoundTriggerHalLegacy::loadSoundModel(struct sound_trigger_sound_model *sound_model, in loadSoundModel() argument 85 return mHwDevice->load_sound_model(mHwDevice, sound_model, callback, cookie, handle); in loadSoundModel()
|
D | SoundTriggerHwService.cpp | 587 struct sound_trigger_sound_model *sound_model = in loadSoundModel() local 591 if (sound_model->type == SOUND_MODEL_TYPE_KEYPHRASE) { in loadSoundModel() 597 if (sound_model->data_offset < structSize || in loadSoundModel() 598 sound_model->data_size > (UINT_MAX - sound_model->data_offset) || in loadSoundModel() 599 modelMemory->size() < sound_model->data_offset || in loadSoundModel() 600 sound_model->data_size > (modelMemory->size() - sound_model->data_offset)) { in loadSoundModel() 625 status = mHalInterface->loadSoundModel(sound_model, in loadSoundModel() 632 sp<Model> model = new Model(*handle, session, ioHandle, device, sound_model->type, in loadSoundModel()
|
D | SoundTriggerHalInterface.h | 43 virtual int loadSoundModel(struct sound_trigger_sound_model *sound_model,
|
D | SoundTriggerHalLegacy.h | 39 virtual int loadSoundModel(struct sound_trigger_sound_model *sound_model,
|
D | SoundTriggerHalHidl.cpp | 69 int SoundTriggerHalHidl::loadSoundModel(struct sound_trigger_sound_model *sound_model, in loadSoundModel() argument 98 convertSoundModelToHal(sound_model); in loadSoundModel() 108 if (sound_model->type == SOUND_MODEL_TYPE_KEYPHRASE) { in loadSoundModel()
|
D | SoundTriggerHalHidl.h | 54 virtual int loadSoundModel(struct sound_trigger_sound_model *sound_model,
|