Searched refs:phraseModel (Results 1 – 1 of 1) sorted by relevance
585 struct sound_trigger_phrase_sound_model *phraseModel = in android_hardware_SoundTrigger_loadSoundModel() local596 phraseModel->num_phrases = numPhrases; in android_hardware_SoundTrigger_loadSoundModel()600 phraseModel->phrases[i].id = in android_hardware_SoundTrigger_loadSoundModel()602 phraseModel->phrases[i].recognition_mode = in android_hardware_SoundTrigger_loadSoundModel()606 phraseModel->phrases[i].num_users = env->GetArrayLength(jUsers); in android_hardware_SoundTrigger_loadSoundModel()608 memcpy(phraseModel->phrases[i].users, in android_hardware_SoundTrigger_loadSoundModel()610 phraseModel->phrases[i].num_users * sizeof(int)); in android_hardware_SoundTrigger_loadSoundModel()616 strncpy(phraseModel->phrases[i].locale, in android_hardware_SoundTrigger_loadSoundModel()621 strncpy(phraseModel->phrases[i].text, in android_hardware_SoundTrigger_loadSoundModel()630 i, phraseModel->phrases[i].text, phraseModel->phrases[i].locale); in android_hardware_SoundTrigger_loadSoundModel()