Lines Matching refs:halExtra
414 struct sound_trigger_phrase_recognition_extra* halExtra, in convertPhraseRecognitionExtraToHal() argument
416 halExtra->id = extra->id; in convertPhraseRecognitionExtraToHal()
417 halExtra->recognition_modes = extra->recognitionModes; in convertPhraseRecognitionExtraToHal()
418 halExtra->confidence_level = extra->confidenceLevel; in convertPhraseRecognitionExtraToHal()
422 halExtra->levels[i].user_id = extra->levels[i].userId; in convertPhraseRecognitionExtraToHal()
423 halExtra->levels[i].level = extra->levels[i].levelPercent; in convertPhraseRecognitionExtraToHal()
425 halExtra->num_levels = i; in convertPhraseRecognitionExtraToHal()
501 const struct sound_trigger_phrase_recognition_extra* halExtra) { in convertPhraseRecognitionExtraFromHal() argument
502 extra->id = halExtra->id; in convertPhraseRecognitionExtraFromHal()
503 extra->recognitionModes = halExtra->recognition_modes; in convertPhraseRecognitionExtraFromHal()
504 extra->confidenceLevel = halExtra->confidence_level; in convertPhraseRecognitionExtraFromHal()
506 extra->levels.resize(halExtra->num_levels); in convertPhraseRecognitionExtraFromHal()
507 for (unsigned int i = 0; i < halExtra->num_levels; i++) { in convertPhraseRecognitionExtraFromHal()
508 extra->levels[i].userId = halExtra->levels[i].user_id; in convertPhraseRecognitionExtraFromHal()
509 extra->levels[i].levelPercent = halExtra->levels[i].level; in convertPhraseRecognitionExtraFromHal()