Lines Matching refs:hwModule
1078 for (const auto& hwModule : hwModules) { in searchCompatibleProfileHwModules() local
1079 for (const auto& curProfile : hwModule->getOutputProfiles()) { in searchCompatibleProfileHwModules()
1117 for (const auto& hwModule : mHwModules) { in getSpatializerOutputProfile() local
1118 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getSpatializerOutputProfile()
4687 for (const auto& hwModule : mHwModules) { in getDirectPlaybackSupport() local
4690 if (strcmp(hwModule->getName(), AUDIO_HARDWARE_MODULE_ID_MSD) == 0) { in getDirectPlaybackSupport()
4696 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getDirectPlaybackSupport()
4763 for (const auto& hwModule : mHwModules) { in getSupportedMixerAttributes() local
4764 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getSupportedMixerAttributes()
4804 for (const auto& hwModule : mHwModules) { in setPreferredMixerAttributes() local
4805 for (const auto& curProfile : hwModule->getOutputProfiles()) { in setPreferredMixerAttributes()
6096 for (const auto& hwModule : mHwModules) { in isHapticPlaybackSupported() local
6097 const OutputProfileCollection &outputProfiles = hwModule->getOutputProfiles(); in isHapticPlaybackSupported()
6115 for (const auto& hwModule : mHwModules) { in isUltrasoundSupported() local
6116 const OutputProfileCollection &outputProfiles = hwModule->getOutputProfiles(); in isUltrasoundSupported()
6126 const InputProfileCollection &inputProfiles = hwModule->getInputProfiles(); in isUltrasoundSupported()
6146 for (const auto& hwModule : mHwModules) { in isHotwordStreamSupported() local
6147 const InputProfileCollection &inputProfiles = hwModule->getInputProfiles(); in isHotwordStreamSupported()
6529 for (const auto& hwModule : mConfig->getHwModules()) { in onNewAudioModulesAvailableInt() local
6530 if (std::find(mHwModules.begin(), mHwModules.end(), hwModule) != mHwModules.end()) { in onNewAudioModulesAvailableInt()
6533 if (hwModule->getHandle() == AUDIO_MODULE_HANDLE_NONE) { in onNewAudioModulesAvailableInt()
6534 if (audio_module_handle_t handle = mpClientInterface->loadHwModule(hwModule->getName()); in onNewAudioModulesAvailableInt()
6536 hwModule->setHandle(handle); in onNewAudioModulesAvailableInt()
6538 ALOGW("could not load HW module %s", hwModule->getName()); in onNewAudioModulesAvailableInt()
6542 mHwModules.push_back(hwModule); in onNewAudioModulesAvailableInt()
6546 for (const auto& outProfile : hwModule->getOutputProfiles()) { in onNewAudioModulesAvailableInt()
6553 ALOGW("Output profile contains no device on module %s", hwModule->getName()); in onNewAudioModulesAvailableInt()
6586 supportedDevice->toString().c_str(), hwModule->getName()); in onNewAudioModulesAvailableInt()
6592 device->attach(hwModule); in onNewAudioModulesAvailableInt()
6617 for (const auto& inProfile : hwModule->getInputProfiles()) { in onNewAudioModulesAvailableInt()
6624 ALOGW("Input profile contains no device on module %s", hwModule->getName()); in onNewAudioModulesAvailableInt()
6648 hwModule->getName()); in onNewAudioModulesAvailableInt()
6654 device->attach(hwModule); in onNewAudioModulesAvailableInt()
6751 for (const auto& hwModule : mHwModules) { in checkOutputsForDevice() local
6752 for (size_t j = 0; j < hwModule->getOutputProfiles().size(); j++) { in checkOutputsForDevice()
6753 sp<IOProfile> profile = hwModule->getOutputProfiles()[j]; in checkOutputsForDevice()
6757 j, hwModule->getName()); in checkOutputsForDevice()
6845 for (const auto& hwModule : mHwModules) { in checkOutputsForDevice() local
6846 for (size_t j = 0; j < hwModule->getOutputProfiles().size(); j++) { in checkOutputsForDevice()
6847 sp<IOProfile> profile = hwModule->getOutputProfiles()[j]; in checkOutputsForDevice()
6853 j, hwModule->getName()); in checkOutputsForDevice()
6900 for (const auto& hwModule : mHwModules) { in checkInputsForDevice() local
6902 profile_index < hwModule->getInputProfiles().size(); in checkInputsForDevice()
6904 sp<IOProfile> profile = hwModule->getInputProfiles()[profile_index]; in checkInputsForDevice()
6909 profile_index, hwModule->getName()); in checkInputsForDevice()
6995 for (const auto& hwModule : mHwModules) { in checkInputsForDevice() local
6997 profile_index < hwModule->getInputProfiles().size(); in checkInputsForDevice()
6999 sp<IOProfile> profile = hwModule->getInputProfiles()[profile_index]; in checkInputsForDevice()
7002 profile_index, hwModule->getName()); in checkInputsForDevice()
7977 for (const auto& hwModule : mHwModules) { in getInputProfile() local
7978 for (const auto& profile : hwModule->getInputProfiles()) { in getInputProfile()
8924 for (const auto& hwModule : mHwModules) { in getProfilesForDevices() local
8926 if (strcmp(hwModule->getName(), AUDIO_HARDWARE_MODULE_ID_MSD) == 0) { in getProfilesForDevices()
8929 IOProfileCollection ioProfiles = isInput ? hwModule->getInputProfiles() in getProfilesForDevices()
8930 : hwModule->getOutputProfiles(); in getProfilesForDevices()