Home
last modified time | relevance | path

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

/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp510 for (size_t i = 0; i < mModels.size(); i++) { in detach()
511 sp<Model> model = mModels.valueAt(i); in detach()
518 mModels.clear(); in detach()
547 if (mModels.size() >= mDescriptor.properties.max_sound_models) { in loadSoundModel()
570 mModels.replaceValueFor(*handle, model); in loadSoundModel()
588 ssize_t index = mModels.indexOfKey(handle); in unloadSoundModel_l()
592 sp<Model> model = mModels.valueAt(index); in unloadSoundModel_l()
593 mModels.removeItem(handle); in unloadSoundModel_l()
747 ssize_t index = mModels.indexOfKey(handle); in getModel()
749 model = mModels.valueAt(index); in getModel()
[all …]
DSoundTriggerHwService.h152 DefaultKeyedVector< sound_model_handle_t, sp<Model> > mModels; variable