Lines Matching refs:extra
415 const V2_0::PhraseRecognitionExtra* extra) { 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()
421 for (i = 0; i < extra->levels.size() && i < SOUND_TRIGGER_MAX_USERS; i++) { 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()
500 V2_0::PhraseRecognitionExtra* extra, 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()
508 extra->levels[i].userId = halExtra->levels[i].user_id; in convertPhraseRecognitionExtraFromHal()
509 extra->levels[i].levelPercent = halExtra->levels[i].level; in convertPhraseRecognitionExtraFromHal()