Lines Matching refs:hwModule
896 for (const auto& hwModule : mHwModules) { in getProfileForOutput() local
897 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getProfileForOutput()
931 for (const auto& hwModule : mHwModules) { in getSpatializerOutputProfile() local
932 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getSpatializerOutputProfile()
4772 for (const auto& hwModule : mHwModules) { in isHapticPlaybackSupported() local
4773 const OutputProfileCollection &outputProfiles = hwModule->getOutputProfiles(); in isHapticPlaybackSupported()
5182 for (const auto& hwModule : mHwModulesAll) { in onNewAudioModulesAvailableInt() local
5183 if (std::find(mHwModules.begin(), mHwModules.end(), hwModule) != mHwModules.end()) { in onNewAudioModulesAvailableInt()
5186 hwModule->setHandle(mpClientInterface->loadHwModule(hwModule->getName())); in onNewAudioModulesAvailableInt()
5187 if (hwModule->getHandle() == AUDIO_MODULE_HANDLE_NONE) { in onNewAudioModulesAvailableInt()
5188 ALOGW("could not open HW module %s", hwModule->getName()); in onNewAudioModulesAvailableInt()
5191 mHwModules.push_back(hwModule); in onNewAudioModulesAvailableInt()
5196 for (const auto& outProfile : hwModule->getOutputProfiles()) { in onNewAudioModulesAvailableInt()
5203 ALOGW("Output profile contains no device on module %s", hwModule->getName()); in onNewAudioModulesAvailableInt()
5235 supportedDevice->toString().c_str(), hwModule->getName()); in onNewAudioModulesAvailableInt()
5241 device->attach(hwModule); in onNewAudioModulesAvailableInt()
5265 for (const auto& inProfile : hwModule->getInputProfiles()) { in onNewAudioModulesAvailableInt()
5272 ALOGW("Input profile contains no device on module %s", hwModule->getName()); in onNewAudioModulesAvailableInt()
5296 hwModule->getName()); in onNewAudioModulesAvailableInt()
5302 device->attach(hwModule); in onNewAudioModulesAvailableInt()
5375 for (const auto& hwModule : mHwModules) { in checkOutputsForDevice() local
5376 for (size_t j = 0; j < hwModule->getOutputProfiles().size(); j++) { in checkOutputsForDevice()
5377 sp<IOProfile> profile = hwModule->getOutputProfiles()[j]; in checkOutputsForDevice()
5381 j, hwModule->getName()); in checkOutputsForDevice()
5469 for (const auto& hwModule : mHwModules) { in checkOutputsForDevice() local
5470 for (size_t j = 0; j < hwModule->getOutputProfiles().size(); j++) { in checkOutputsForDevice()
5471 sp<IOProfile> profile = hwModule->getOutputProfiles()[j]; in checkOutputsForDevice()
5477 j, hwModule->getName()); in checkOutputsForDevice()
5516 for (const auto& hwModule : mHwModules) { in checkInputsForDevice() local
5518 profile_index < hwModule->getInputProfiles().size(); in checkInputsForDevice()
5520 sp<IOProfile> profile = hwModule->getInputProfiles()[profile_index]; in checkInputsForDevice()
5525 profile_index, hwModule->getName()); in checkInputsForDevice()
5610 for (const auto& hwModule : mHwModules) { in checkInputsForDevice() local
5612 profile_index < hwModule->getInputProfiles().size(); in checkInputsForDevice()
5614 sp<IOProfile> profile = hwModule->getInputProfiles()[profile_index]; in checkInputsForDevice()
5617 profile_index, hwModule->getName()); in checkInputsForDevice()
6559 for (const auto& hwModule : mHwModules) { in getInputProfile() local
6560 for (const auto& profile : hwModule->getInputProfiles()) { in getInputProfile()