Lines Matching refs:model_handle
91 sound_model_handle_t model_handle; member
203 struct stub_sound_trigger_device* stdev, sound_model_handle_t* model_handle) { in fetch_model_with_handle() argument
208 if (last_model_context->model_handle == *model_handle) { in fetch_model_with_handle()
224 model_handle_str = &last_model_context->model_handle; in get_model_handle_with_uuid()
322 sound_trigger_keyphrase_event_alloc(model_context->model_handle, in send_event_with_handle()
331 sound_trigger_generic_event_alloc(model_context->model_handle, in send_event_with_handle()
351 event->model = model_context->model_handle; in send_event_with_handle()
401 if (current_model_context->model_handle == handle) { in get_model_context()
486 write_vastr(conn_socket, "Model handle: %d\n", last_model_context->model_handle); in list_models()
487 ALOGI("Model handle: %d", last_model_context->model_handle); in list_models()
655 model_context->model_handle = generate_sound_model_handle(dev); in stdev_load_sound_model()
656 *handle = model_context->model_handle; in stdev_load_sound_model()
682 ALOGI("Deleting model with handle: %d", model_context->model_handle); in unload_all_sound_models()
705 if (current_model_context->model_handle == handle) { in stdev_unload_sound_model()
804 ALOGI("%s stopped handle %d", __func__, model_context->model_handle); in stdev_stop_all_recognitions()