HomeSort by relevance Sort by last modified time
    Searched full:sound_model (Results 1 - 6 of 6) sorted by null

  /frameworks/av/services/soundtrigger/
SoundTriggerHwService.cpp 542 struct sound_trigger_sound_model *sound_model = local
546 if (sound_model->type == SOUND_MODEL_TYPE_KEYPHRASE) {
552 if (sound_model->data_offset < structSize ||
553 sound_model->data_size > (UINT_MAX - sound_model->data_offset) ||
554 modelMemory->size() < sound_model->data_offset ||
555 sound_model->data_size > (modelMemory->size() - sound_model->data_offset)) {
569 status_t status = mHwDevice->load_sound_model(mHwDevice, sound_model,
585 sp<Model> model = new Model(*handle, session, ioHandle, device, sound_model->type)
    [all...]
  /hardware/libhardware/modules/soundtrigger/
sound_trigger_hw.c 609 struct sound_trigger_sound_model *sound_model,
618 if (handle == NULL || sound_model == NULL) {
622 if (sound_model->data_size == 0 ||
623 sound_model->data_offset < sizeof(struct sound_trigger_sound_model)) {
658 model_context->model_type = sound_model->type;
660 char *data = (char *)sound_model + sound_model->data_offset;
662 sound_model->data_size, data[0], data[sound_model->data_size - 1]);
663 model_context->model_uuid = sound_model->uuid
    [all...]
  /device/google/dragon/audio/soundtrigger/
sound_trigger_hw.c 336 struct sound_trigger_sound_model *sound_model,
347 if (handle == NULL || sound_model == NULL) {
358 (char *)sound_model + sound_model->data_offset,
359 sound_model->data_size);
  /device/htc/flounder/audio/soundtrigger/
sound_trigger_hw.c 369 struct sound_trigger_sound_model *sound_model,
380 if (handle == NULL || sound_model == NULL) {
391 (char *)sound_model + sound_model->data_offset,
392 sound_model->data_size);
  /hardware/libhardware/include/hardware/
sound_trigger.h 84 struct sound_trigger_sound_model *sound_model,
  /frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DatabaseHelper.java 42 private static final String NAME = "sound_model.db";
46 public static final String TABLE = "sound_model";

Completed in 1183 milliseconds