Home
last modified time | relevance | path

Searched refs:sound_model (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/services/soundtrigger/
DSoundTriggerHalLegacy.cpp77 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()
DSoundTriggerHwService.cpp587 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()
DSoundTriggerHalInterface.h43 virtual int loadSoundModel(struct sound_trigger_sound_model *sound_model,
DSoundTriggerHalLegacy.h39 virtual int loadSoundModel(struct sound_trigger_sound_model *sound_model,
DSoundTriggerHalHidl.cpp69 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()
DSoundTriggerHalHidl.h54 virtual int loadSoundModel(struct sound_trigger_sound_model *sound_model,