Searched refs:halTriggerPhrase (Results 1 – 6 of 6) sorted by relevance
/hardware/interfaces/soundtrigger/2.0/default/ |
D | SoundTriggerHalImpl.cpp | 333 void SoundTriggerHalImpl::convertTriggerPhraseToHal(struct sound_trigger_phrase* halTriggerPhrase, in convertTriggerPhraseToHal() argument 335 halTriggerPhrase->id = triggerPhrase->id; in convertTriggerPhraseToHal() 336 halTriggerPhrase->recognition_mode = triggerPhrase->recognitionModes; in convertTriggerPhraseToHal() 339 halTriggerPhrase->num_users = in convertTriggerPhraseToHal() 341 for (i = 0; i < halTriggerPhrase->num_users; i++) { 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()
|
D | SoundTriggerHalImpl.h | 151 void convertTriggerPhraseToHal(struct sound_trigger_phrase* halTriggerPhrase,
|
/hardware/interfaces/soundtrigger/2.2/default/ |
D | SoundTriggerHw.cpp | 355 void SoundTriggerHw::convertTriggerPhraseToHal(struct sound_trigger_phrase* halTriggerPhrase, in convertTriggerPhraseToHal() argument 357 halTriggerPhrase->id = triggerPhrase->id; in convertTriggerPhraseToHal() 358 halTriggerPhrase->recognition_mode = triggerPhrase->recognitionModes; in convertTriggerPhraseToHal() 361 halTriggerPhrase->num_users = in convertTriggerPhraseToHal() 363 for (i = 0; i < halTriggerPhrase->num_users; i++) { 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()
|
D | SoundTriggerHw.h | 146 void convertTriggerPhraseToHal(struct sound_trigger_phrase* halTriggerPhrase,
|
/hardware/interfaces/soundtrigger/2.3/default/ |
D | SoundTriggerHw.cpp | 363 void SoundTriggerHw::convertTriggerPhraseToHal(struct sound_trigger_phrase* halTriggerPhrase, in convertTriggerPhraseToHal() argument 365 halTriggerPhrase->id = triggerPhrase->id; in convertTriggerPhraseToHal() 366 halTriggerPhrase->recognition_mode = triggerPhrase->recognitionModes; in convertTriggerPhraseToHal() 369 halTriggerPhrase->num_users = in convertTriggerPhraseToHal() 371 for (i = 0; i < halTriggerPhrase->num_users; i++) { 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()
|
D | SoundTriggerHw.h | 165 void convertTriggerPhraseToHal(struct sound_trigger_phrase* halTriggerPhrase,
|