Lines Matching refs:extra
392 struct sound_trigger_phrase_recognition_extra* halExtra, const PhraseRecognitionExtra* extra) { in convertPhraseRecognitionExtraToHal() argument
393 halExtra->id = extra->id; in convertPhraseRecognitionExtraToHal()
394 halExtra->recognition_modes = extra->recognitionModes; in convertPhraseRecognitionExtraToHal()
395 halExtra->confidence_level = extra->confidenceLevel; in convertPhraseRecognitionExtraToHal()
398 for (i = 0; i < extra->levels.size() && i < SOUND_TRIGGER_MAX_USERS; i++) { in convertPhraseRecognitionExtraToHal()
399 halExtra->levels[i].user_id = extra->levels[i].userId; in convertPhraseRecognitionExtraToHal()
400 halExtra->levels[i].level = extra->levels[i].levelPercent; in convertPhraseRecognitionExtraToHal()
476 PhraseRecognitionExtra* extra, const struct sound_trigger_phrase_recognition_extra* halExtra) { in convertPhraseRecognitionExtraFromHal() argument
477 extra->id = halExtra->id; in convertPhraseRecognitionExtraFromHal()
478 extra->recognitionModes = halExtra->recognition_modes; in convertPhraseRecognitionExtraFromHal()
479 extra->confidenceLevel = halExtra->confidence_level; in convertPhraseRecognitionExtraFromHal()
481 extra->levels.resize(halExtra->num_levels); in convertPhraseRecognitionExtraFromHal()
483 extra->levels[i].userId = halExtra->levels[i].user_id; in convertPhraseRecognitionExtraFromHal()
484 extra->levels[i].levelPercent = halExtra->levels[i].level; in convertPhraseRecognitionExtraFromHal()