Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp623 struct sound_trigger_phrase_sound_model *phraseModel = in android_hardware_SoundTrigger_loadSoundModel() local
634 phraseModel->num_phrases = numPhrases; in android_hardware_SoundTrigger_loadSoundModel()
638 phraseModel->phrases[i].id = in android_hardware_SoundTrigger_loadSoundModel()
640 phraseModel->phrases[i].recognition_mode = in android_hardware_SoundTrigger_loadSoundModel()
644 phraseModel->phrases[i].num_users = env->GetArrayLength(jUsers); in android_hardware_SoundTrigger_loadSoundModel()
646 memcpy(phraseModel->phrases[i].users, in android_hardware_SoundTrigger_loadSoundModel()
648 phraseModel->phrases[i].num_users * sizeof(int)); in android_hardware_SoundTrigger_loadSoundModel()
654 strncpy(phraseModel->phrases[i].locale, in android_hardware_SoundTrigger_loadSoundModel()
659 strncpy(phraseModel->phrases[i].text, in android_hardware_SoundTrigger_loadSoundModel()
668 i, phraseModel->phrases[i].text, phraseModel->phrases[i].locale); in android_hardware_SoundTrigger_loadSoundModel()