Home
last modified time | relevance | path

Searched refs:mModules (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp91 mModules.add(descriptor.handle, module); in onFirstRef()
100 for (size_t i = 0; i < mModules.size(); i++) { in ~SoundTriggerHwService()
101 sound_trigger_hw_device_close(mModules.valueAt(i)->hwDevice()); in ~SoundTriggerHwService()
118 *numModules = mModules.size(); in listModules()
119 for (size_t i = 0; i < mModules.size() && i < maxModules; i++) { in listModules()
120 modules[i] = mModules.valueAt(i)->descriptor(); in listModules()
139 ssize_t index = mModules.indexOfKey(handle); in attach()
143 sp<Module> module = mModules.valueAt(index); in attach()
159 for (size_t i = 0; i < mModules.size(); i++) { in setCaptureState()
160 mModules.valueAt(i)->setCaptureState_l(active); in setCaptureState()
[all …]
DSoundTriggerHwService.h201 DefaultKeyedVector< sound_trigger_module_handle_t, sp<Module> > mModules; variable
/frameworks/av/services/radio/
DRadioService.cpp92 mModules.add(properties.handle, module); in onFirstRef()
97 for (size_t i = 0; i < mModules.size(); i++) { in ~RadioService()
98 radio_hw_device_close(mModules.valueAt(i)->hwDevice()); in ~RadioService()
112 *numModules = mModules.size(); in listModules()
113 for (size_t i = 0; i < mModules.size() && i < maxModules; i++) { in listModules()
114 properties[i] = mModules.valueAt(i)->properties(); in listModules()
132 ssize_t index = mModules.indexOfKey(handle); in attach()
136 sp<Module> module = mModules.valueAt(index); in attach()
DRadioService.h206 DefaultKeyedVector< radio_handle_t, sp<Module> > mModules; variable