HomeSort by relevance Sort by last modified time
    Searched refs:num_phrases (Results 1 - 7 of 7) sorted by null

  /system/media/audio/include/system/
sound_trigger.h 125 unsigned int num_phrases; /* number of key phrases in model */ member in struct:sound_trigger_phrase_sound_model
194 unsigned int num_phrases; member in struct:sound_trigger_phrase_recognition_event
211 unsigned int num_phrases; /* number of key phrases recognition extras */ member in struct:sound_trigger_recognition_config
  /frameworks/av/services/soundtrigger/
SoundTriggerHalHidl.cpp 360 new ISoundTriggerHw::Phrase[keyPhraseModel->num_phrases];
363 for (unsigned int i = 0; i < keyPhraseModel->num_phrases; i++) {
367 halKeyPhraseModel->phrases.setToExternal(halPhrases, keyPhraseModel->num_phrases);
369 halKeyPhraseModel->phrases.resize(keyPhraseModel->num_phrases);
418 new PhraseRecognitionExtra[config->num_phrases];
420 for (unsigned int i = 0; i < config->num_phrases; i++) {
424 halConfig->phrases.setToExternal(halExtras, config->num_phrases);
426 halConfig->phrases.resize(config->num_phrases);
573 phraseEvent->num_phrases = halPhraseEvent->phraseExtras.size();
SoundTriggerHwService.cpp 853 event.num_phrases = model->mConfig.num_phrases;
854 for (size_t i = 0; i < event.num_phrases; i++) {
    [all...]
  /device/google/dragon/audio/soundtrigger/
sound_trigger_hw.c 179 event->num_phrases = stdev->config->num_phrases;
180 if (event->num_phrases > SOUND_TRIGGER_MAX_PHRASES)
181 event->num_phrases = SOUND_TRIGGER_MAX_PHRASES;
182 for (i=0; i < event->num_phrases; i++)
187 event->num_phrases = 1;
  /hardware/interfaces/soundtrigger/2.0/default/
SoundTriggerHalImpl.cpp 422 halKeyPhraseModel->num_phrases = (unsigned int)i;
482 halConfig->num_phrases = i;
516 new PhraseRecognitionExtra[halPhraseEvent->num_phrases];
517 for (unsigned int i = 0; i < halPhraseEvent->num_phrases; i++) {
521 phraseEvent->phraseExtras.setToExternal(phraseExtras, halPhraseEvent->num_phrases);
523 phraseEvent->phraseExtras.resize(halPhraseEvent->num_phrases);
  /frameworks/base/core/jni/
android_hardware_SoundTrigger.cpp 235 jobjectArray jExtras = env->NewObjectArray(phraseEvent->num_phrases,
241 for (size_t i = 0; i < phraseEvent->num_phrases; i++) {
614 phraseModel->num_phrases = numPhrases;
737 config->num_phrases = 0;
741 config->num_phrases = env->GetArrayLength(jPhrases);
743 ALOGV("startRecognition num phrases %d", config->num_phrases);
744 for (size_t i = 0; i < config->num_phrases; i++) {
    [all...]
  /hardware/libhardware/modules/soundtrigger/
sound_trigger_hw.c 263 event->num_phrases = config->num_phrases;
264 if (event->num_phrases > SOUND_TRIGGER_MAX_PHRASES)
265 event->num_phrases = SOUND_TRIGGER_MAX_PHRASES;
266 for (i=0; i < event->num_phrases; i++)
272 event->num_phrases = 1;
    [all...]

Completed in 1843 milliseconds