Home
last modified time | relevance | path

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

/hardware/libhardware/modules/soundtrigger/
Dsound_trigger_hw.c47 sound_model_handle_t model_handle; member
80 event->common.model = stdev->model_handle; in callback_thread_loop()
90 ALOGI("%s send callback model %d", __func__, stdev->model_handle); in callback_thread_loop()
94 ALOGI("%s abort recognition model %d", __func__, stdev->model_handle); in callback_thread_loop()
137 if (stdev->model_handle == 1) { in stdev_load_sound_model()
144 stdev->model_handle = 1; in stdev_load_sound_model()
148 *handle = stdev->model_handle; in stdev_load_sound_model()
167 if (stdev->model_handle == 0) { in stdev_unload_sound_model()
171 stdev->model_handle = 0; in stdev_unload_sound_model()
195 if (stdev->model_handle != sound_model_handle) { in stdev_start_recognition()
[all …]