Home
last modified time | relevance | path

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

/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp92 mModules.add(descriptor.handle, module); in onFirstRef()
101 for (size_t i = 0; i < mModules.size(); i++) { in ~SoundTriggerHwService()
102 sound_trigger_hw_device_close(mModules.valueAt(i)->hwDevice()); in ~SoundTriggerHwService()
119 *numModules = mModules.size(); in listModules()
120 for (size_t i = 0; i < mModules.size() && i < maxModules; i++) { in listModules()
121 modules[i] = mModules.valueAt(i)->descriptor(); in listModules()
140 ssize_t index = mModules.indexOfKey(handle); in attach()
144 sp<Module> module = mModules.valueAt(index); in attach()
160 for (size_t i = 0; i < mModules.size(); i++) { in setCaptureState()
161 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