Lines Matching refs:extra
590 const struct sound_trigger_phrase_recognition_extra *extra) in convertPhraseRecognitionExtraToHal() argument
592 halExtra->id = extra->id; in convertPhraseRecognitionExtraToHal()
593 halExtra->recognitionModes = extra->recognition_modes; in convertPhraseRecognitionExtraToHal()
594 halExtra->confidenceLevel = extra->confidence_level; in convertPhraseRecognitionExtraToHal()
595 halExtra->levels.resize(extra->num_levels); in convertPhraseRecognitionExtraToHal()
596 for (unsigned int i = 0; i < extra->num_levels; i++) { in convertPhraseRecognitionExtraToHal()
597 halExtra->levels[i].userId = extra->levels[i].user_id; in convertPhraseRecognitionExtraToHal()
598 halExtra->levels[i].levelPercent = extra->levels[i].level; in convertPhraseRecognitionExtraToHal()
756 struct sound_trigger_phrase_recognition_extra *extra, in convertPhraseRecognitionExtraFromHal() argument
759 extra->id = halExtra->id; in convertPhraseRecognitionExtraFromHal()
760 extra->recognition_modes = halExtra->recognitionModes; in convertPhraseRecognitionExtraFromHal()
761 extra->confidence_level = halExtra->confidenceLevel; in convertPhraseRecognitionExtraFromHal()
765 extra->levels[i].user_id = halExtra->levels[i].userId; in convertPhraseRecognitionExtraFromHal()
766 extra->levels[i].level = halExtra->levels[i].levelPercent; in convertPhraseRecognitionExtraFromHal()
768 extra->num_levels = (unsigned int)i; in convertPhraseRecognitionExtraFromHal()