Home
last modified time | relevance | path

Searched refs:triggerPhrase (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/soundtrigger/2.0/default/
DSoundTriggerHalImpl.cpp334 const ISoundTriggerHw::Phrase* triggerPhrase) { in convertTriggerPhraseToHal() argument
335 halTriggerPhrase->id = triggerPhrase->id; in convertTriggerPhraseToHal()
336 halTriggerPhrase->recognition_mode = triggerPhrase->recognitionModes; in convertTriggerPhraseToHal()
340 std::min((int)triggerPhrase->users.size(), SOUND_TRIGGER_MAX_USERS); in convertTriggerPhraseToHal()
342 halTriggerPhrase->users[i] = triggerPhrase->users[i]; in convertTriggerPhraseToHal()
345 strlcpy(halTriggerPhrase->locale, triggerPhrase->locale.c_str(), SOUND_TRIGGER_MAX_LOCALE_LEN); in convertTriggerPhraseToHal()
346 strlcpy(halTriggerPhrase->text, triggerPhrase->text.c_str(), SOUND_TRIGGER_MAX_STRING_LEN); in convertTriggerPhraseToHal()
DSoundTriggerHalImpl.h152 const ISoundTriggerHw::Phrase* triggerPhrase);
/hardware/interfaces/soundtrigger/2.2/default/
DSoundTriggerHw.cpp356 const ISoundTriggerHw::Phrase* triggerPhrase) { in convertTriggerPhraseToHal() argument
357 halTriggerPhrase->id = triggerPhrase->id; in convertTriggerPhraseToHal()
358 halTriggerPhrase->recognition_mode = triggerPhrase->recognitionModes; in convertTriggerPhraseToHal()
362 std::min((int)triggerPhrase->users.size(), SOUND_TRIGGER_MAX_USERS); in convertTriggerPhraseToHal()
364 halTriggerPhrase->users[i] = triggerPhrase->users[i]; in convertTriggerPhraseToHal()
367 strlcpy(halTriggerPhrase->locale, triggerPhrase->locale.c_str(), SOUND_TRIGGER_MAX_LOCALE_LEN); in convertTriggerPhraseToHal()
368 strlcpy(halTriggerPhrase->text, triggerPhrase->text.c_str(), SOUND_TRIGGER_MAX_STRING_LEN); in convertTriggerPhraseToHal()
DSoundTriggerHw.h147 const V2_0::ISoundTriggerHw::Phrase* triggerPhrase);
/hardware/interfaces/soundtrigger/2.3/default/
DSoundTriggerHw.cpp364 const ISoundTriggerHw::Phrase* triggerPhrase) { in convertTriggerPhraseToHal() argument
365 halTriggerPhrase->id = triggerPhrase->id; in convertTriggerPhraseToHal()
366 halTriggerPhrase->recognition_mode = triggerPhrase->recognitionModes; in convertTriggerPhraseToHal()
370 std::min((int)triggerPhrase->users.size(), SOUND_TRIGGER_MAX_USERS); in convertTriggerPhraseToHal()
372 halTriggerPhrase->users[i] = triggerPhrase->users[i]; in convertTriggerPhraseToHal()
375 strlcpy(halTriggerPhrase->locale, triggerPhrase->locale.c_str(), SOUND_TRIGGER_MAX_LOCALE_LEN); in convertTriggerPhraseToHal()
376 strlcpy(halTriggerPhrase->text, triggerPhrase->text.c_str(), SOUND_TRIGGER_MAX_STRING_LEN); in convertTriggerPhraseToHal()
DSoundTriggerHw.h166 const V2_0::ISoundTriggerHw::Phrase* triggerPhrase);