Lines Matching refs:sound_model
560 struct sound_trigger_sound_model *sound_model =
564 if (sound_model->type == SOUND_MODEL_TYPE_KEYPHRASE) {
570 if (sound_model->data_offset < structSize ||
571 sound_model->data_size > (UINT_MAX - sound_model->data_offset) ||
572 modelMemory->size() < sound_model->data_offset ||
573 sound_model->data_size > (modelMemory->size() - sound_model->data_offset)) {
598 status = mHalInterface->loadSoundModel(sound_model,
605 sp<Model> model = new Model(*handle, session, ioHandle, device, sound_model->type,