Lines Matching refs:model_handle
92 sound_model_handle_t model_handle; member
204 struct stub_sound_trigger_device* stdev, sound_model_handle_t* model_handle) { in fetch_model_with_handle() argument
209 if (last_model_context->model_handle == *model_handle) { in fetch_model_with_handle()
225 model_handle_str = &last_model_context->model_handle; in get_model_handle_with_uuid()
323 sound_trigger_keyphrase_event_alloc(model_context->model_handle, in send_event_with_handle()
332 sound_trigger_generic_event_alloc(model_context->model_handle, in send_event_with_handle()
352 event->model = model_context->model_handle; in send_event_with_handle()
402 if (current_model_context->model_handle == handle) { in get_model_context()
487 write_vastr(conn_socket, "Model handle: %d\n", last_model_context->model_handle); in list_models()
488 ALOGI("Model handle: %d", last_model_context->model_handle); in list_models()
656 model_context->model_handle = generate_sound_model_handle(dev); in stdev_load_sound_model()
657 *handle = model_context->model_handle; in stdev_load_sound_model()
683 ALOGI("Deleting model with handle: %d", model_context->model_handle); in unload_all_sound_models()
706 if (current_model_context->model_handle == handle) { in stdev_unload_sound_model()
805 ALOGI("%s stopped handle %d", __func__, model_context->model_handle); in stdev_stop_all_recognitions()