Searched refs:phraseEvent (Results 1 – 2 of 2) sorted by relevance
245 struct sound_trigger_phrase_recognition_event *phraseEvent = in onRecognitionEvent() local248 jobjectArray jExtras = env->NewObjectArray(phraseEvent->num_phrases, in onRecognitionEvent()254 for (size_t i = 0; i < phraseEvent->num_phrases; i++) { in onRecognitionEvent()256 phraseEvent->phrase_extras[i].num_levels, in onRecognitionEvent()262 for (size_t j = 0; j < phraseEvent->phrase_extras[i].num_levels; j++) { in onRecognitionEvent()265 phraseEvent->phrase_extras[i].levels[j].user_id, in onRecognitionEvent()266 phraseEvent->phrase_extras[i].levels[j].level); in onRecognitionEvent()273 phraseEvent->phrase_extras[i].id, in onRecognitionEvent()274 phraseEvent->phrase_extras[i].recognition_modes, in onRecognitionEvent()275 phraseEvent->phrase_extras[i].confidence_level, in onRecognitionEvent()
779 struct sound_trigger_phrase_recognition_event *phraseEvent = in convertPhraseRecognitionEventFromHal() local783 if (phraseEvent == NULL) { in convertPhraseRecognitionEventFromHal()786 phraseEvent->common.data_offset = sizeof(sound_trigger_phrase_recognition_event); in convertPhraseRecognitionEventFromHal()789 convertPhraseRecognitionExtraFromHal(&phraseEvent->phrase_extras[i], in convertPhraseRecognitionEventFromHal()792 phraseEvent->num_phrases = halPhraseEvent->phraseExtras.size(); in convertPhraseRecognitionEventFromHal()794 fillRecognitionEventFromHal(&phraseEvent->common, &halPhraseEvent->common); in convertPhraseRecognitionEventFromHal()795 return phraseEvent; in convertPhraseRecognitionEventFromHal()