Home
last modified time | relevance | path

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

/hardware/libhardware/modules/soundtrigger/
Dsound_trigger_hw.c608 struct sound_trigger_sound_model *sound_model, in stdev_load_sound_model() argument
617 if (handle == NULL || sound_model == NULL) { in stdev_load_sound_model()
621 if (sound_model->data_size == 0 || in stdev_load_sound_model()
622 sound_model->data_offset < sizeof(struct sound_trigger_sound_model)) { in stdev_load_sound_model()
657 model_context->model_type = sound_model->type; in stdev_load_sound_model()
659 char *data = (char *)sound_model + sound_model->data_offset; in stdev_load_sound_model()
661 sound_model->data_size, data[0], data[sound_model->data_size - 1]); in stdev_load_sound_model()
662 model_context->model_uuid = sound_model->uuid; in stdev_load_sound_model()
/hardware/libhardware/include/hardware/
Dsound_trigger.h85 struct sound_trigger_sound_model *sound_model,
/hardware/knowles/athletico/sound_trigger_hal/
Dsound_trigger_hw_iaxxx.c2612 struct sound_trigger_sound_model *sound_model, in stdev_load_sound_model() argument
2634 if (handle == NULL || sound_model == NULL) { in stdev_load_sound_model()
2640 if (sound_model->data_size == 0 || in stdev_load_sound_model()
2641 sound_model->data_offset < sizeof(struct sound_trigger_sound_model)) { in stdev_load_sound_model()
2650 if ((check_uuid_equality(sound_model->vendor_uuid, in stdev_load_sound_model()
2653 (check_uuid_equality(sound_model->vendor_uuid, in stdev_load_sound_model()
2659 i = find_handle_for_uuid(stdev, sound_model->vendor_uuid); in stdev_load_sound_model()
2675 kw_buffer = (unsigned char *) sound_model + sound_model->data_offset; in stdev_load_sound_model()
2676 kw_model_sz = sound_model->data_size; in stdev_load_sound_model()
2692 if (check_uuid_equality(sound_model->vendor_uuid, in stdev_load_sound_model()
[all …]