Home
last modified time | relevance | path

Searched refs:recognition_callback (Results 1 – 2 of 2) sorted by relevance

/hardware/libhardware/modules/soundtrigger/
Dsound_trigger_hw.c99 recognition_callback_t recognition_callback; member
314 if (model_context->recognition_callback == NULL) { in send_event_with_handle()
325 model_context->recognition_callback(event, model_context->recognition_cookie); in send_event_with_handle()
334 model_context->recognition_callback(event, model_context->recognition_cookie); in send_event_with_handle()
385 if (current_model_context->recognition_callback != NULL) { in recognition_callback_exists()
666 model_context->recognition_callback = NULL; in stdev_load_sound_model()
758 model_context->recognition_callback = callback; in stdev_start_recognition()
782 model_context->recognition_callback = NULL; in stdev_stop_recognition()
801 model_context->recognition_callback = NULL; in stdev_stop_all_recognitions()
834 if (model_context->recognition_callback == NULL) { in stdev_get_model_state()
/hardware/knowles/athletico/sound_trigger_hal/
Dsound_trigger_hw_iaxxx.c117 recognition_callback_t recognition_callback; member
2458 model->recognition_callback(&event->common, in callback_thread_loop()
2482 model->recognition_callback(&event->common, in callback_thread_loop()
2555 model->recognition_callback = NULL; in stop_recognition()
2735 stdev->models[i].recognition_callback = NULL; in stdev_load_sound_model()
2953 model->recognition_callback = callback; in stdev_start_recognition()