Home
last modified time | relevance | path

Searched refs:mModels (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp502 for (size_t i = 0; i < mModels.size(); i++) { in detach()
503 sp<Model> model = mModels.valueAt(i); in detach()
510 mModels.clear(); in detach()
539 if (mModels.size() >= mDescriptor.properties.max_sound_models) { in loadSoundModel()
540 if (mModels.size() == 0) { in loadSoundModel()
545 unloadSoundModel_l(mModels.valueAt(0)->mHandle); in loadSoundModel()
566 mModels.replaceValueFor(*handle, model); in loadSoundModel()
584 ssize_t index = mModels.indexOfKey(handle); in unloadSoundModel_l()
588 sp<Model> model = mModels.valueAt(index); in unloadSoundModel_l()
589 mModels.removeItem(handle); in unloadSoundModel_l()
[all …]
DSoundTriggerHwService.h152 DefaultKeyedVector< sound_model_handle_t, sp<Model> > mModels; variable