Lines Matching refs:module

762     for (const auto& module : mInsertedModules) {  in getDownstreamSoftwarePatches()  local
763 if (module.second.streams.count(stream)) { in getDownstreamSoftwarePatches()
764 for (const auto& patchHandle : module.second.sw_patches) { in getDownstreamSoftwarePatches()
792 for (auto& module : mInsertedModules) { in notifyStreamClosed() local
793 module.second.streams.erase(stream); in notifyStreamClosed()
797 AudioHwDevice* AudioFlinger::PatchPanel::findAudioHwDeviceByModule(audio_module_handle_t module) in findAudioHwDeviceByModule() argument
799 if (module == AUDIO_MODULE_HANDLE_NONE) return nullptr; in findAudioHwDeviceByModule()
800 ssize_t index = mAudioFlinger.mAudioHwDevs.indexOfKey(module); in findAudioHwDeviceByModule()
802 ALOGW("%s() bad hw module %d", __func__, module); in findAudioHwDeviceByModule()
808 sp<DeviceHalInterface> AudioFlinger::PatchPanel::findHwDeviceByModule(audio_module_handle_t module) in findHwDeviceByModule() argument
810 AudioHwDevice *audioHwDevice = findAudioHwDeviceByModule(module); in findHwDeviceByModule()
815 audio_module_handle_t module, audio_patch_handle_t handle) in addSoftwarePatchToInsertedModules() argument
817 mInsertedModules[module].sw_patches.insert(handle); in addSoftwarePatchToInsertedModules()
823 for (auto& module : mInsertedModules) { in removeSoftwarePatchFromInsertedModules() local
824 module.second.sw_patches.erase(handle); in removeSoftwarePatchFromInsertedModules()
843 for (const auto& module : mInsertedModules) { in dump() local
844 if (!module.second.streams.empty() || !module.second.sw_patches.empty()) { in dump()
849 String8 moduleDump = String8::format("Module %d: I/O handles: ", module.first); in dump()
850 for (const auto& stream : module.second.streams) { in dump()
854 for (const auto& patch : module.second.sw_patches) { in dump()