Home | History | Annotate | Download | only in soundtrigger

Lines Matching full:sound_model

542     struct sound_trigger_sound_model *sound_model =
546 if (sound_model->type == SOUND_MODEL_TYPE_KEYPHRASE) {
552 if (sound_model->data_offset < structSize ||
553 sound_model->data_size > (UINT_MAX - sound_model->data_offset) ||
554 modelMemory->size() < sound_model->data_offset ||
555 sound_model->data_size > (modelMemory->size() - sound_model->data_offset)) {
569 status_t status = mHwDevice->load_sound_model(mHwDevice, sound_model,
585 sp<Model> model = new Model(*handle, session, ioHandle, device, sound_model->type);