Lines Matching refs:extra
423 const V2_0::PhraseRecognitionExtra* extra) { in convertPhraseRecognitionExtraToHal() argument
424 halExtra->id = extra->id; in convertPhraseRecognitionExtraToHal()
425 halExtra->recognition_modes = extra->recognitionModes; in convertPhraseRecognitionExtraToHal()
426 halExtra->confidence_level = extra->confidenceLevel; in convertPhraseRecognitionExtraToHal()
429 for (i = 0; i < extra->levels.size() && i < SOUND_TRIGGER_MAX_USERS; i++) { in convertPhraseRecognitionExtraToHal()
430 halExtra->levels[i].user_id = extra->levels[i].userId; in convertPhraseRecognitionExtraToHal()
431 halExtra->levels[i].level = extra->levels[i].levelPercent; in convertPhraseRecognitionExtraToHal()
556 V2_0::PhraseRecognitionExtra* extra, in convertPhraseRecognitionExtraFromHal() argument
558 extra->id = halExtra->id; in convertPhraseRecognitionExtraFromHal()
559 extra->recognitionModes = halExtra->recognition_modes; in convertPhraseRecognitionExtraFromHal()
560 extra->confidenceLevel = halExtra->confidence_level; in convertPhraseRecognitionExtraFromHal()
562 extra->levels.resize(halExtra->num_levels); in convertPhraseRecognitionExtraFromHal()
564 extra->levels[i].userId = halExtra->levels[i].user_id; in convertPhraseRecognitionExtraFromHal()
565 extra->levels[i].levelPercent = halExtra->levels[i].level; in convertPhraseRecognitionExtraFromHal()