Lines Matching refs:mHwModules
135 mHwModules.getDeviceDescriptor(deviceType, device_address, device_name, encodedFormat, in setDeviceConnectionStateInt()
175 mHwModules.cleanUpForDevice(device); in setDeviceConnectionStateInt()
344 mHwModules.cleanUpForDevice(device); in setDeviceConnectionStateInt()
417 mHwModules.getDeviceDescriptor(device, device_address, "", AUDIO_FORMAT_DEFAULT, in getDeviceConnectionState()
475 sp<HwModule> module = mHwModules.getModuleForDeviceType(device, encodedFormat); in handleDeviceConfigChange()
535 mHwModules.getModuleFromName(AUDIO_HARDWARE_MODULE_ID_PRIMARY); in getHwOffloadEncodingFormatsSupportedForA2DP()
556 auto telephonyRxModule = mHwModules.getModuleForDeviceType( in selectBestRxSinkDevicesForCall()
611 mHwModules.getModuleForDeviceType(AUDIO_DEVICE_IN_TELEPHONY_RX, AUDIO_FORMAT_DEFAULT); in updateCallRoutingInternal()
613 mHwModules.getModuleForDeviceType(AUDIO_DEVICE_OUT_TELEPHONY_TX, AUDIO_FORMAT_DEFAULT); in updateCallRoutingInternal()
706 sp<HwModule> module = mHwModules.getModuleFromName(moduleId); in isDeviceOfModule()
896 for (const auto& hwModule : mHwModules) { in getProfileForOutput()
1380 auto msdInDevices = mHwModules.getAvailableDevicesFromModuleName(AUDIO_HARDWARE_MODULE_ID_MSD, in getMsdAudioInDevice()
1386 return mHwModules.getAvailableDevicesFromModuleName(AUDIO_HARDWARE_MODULE_ID_MSD, in getMsdAudioOutDevices()
1392 sp<HwModule> msdModule = mHwModules.getModuleFromName(AUDIO_HARDWARE_MODULE_ID_MSD); in getMsdOutputPatches()
1489 sp<HwModule> msdModule = mHwModules.getModuleFromName(AUDIO_HARDWARE_MODULE_ID_MSD); in buildMsdPatch()
1491 sp<HwModule> deviceModule = mHwModules.getModuleForDevice(device, AUDIO_FORMAT_DEFAULT); in buildMsdPatch()
3084 rSubmixModule = mHwModules.getModuleFromName( in registerPolicyMixes()
3133 sp<DeviceDescriptor> device = mHwModules.getDeviceDescriptor( in registerPolicyMixes()
3157 for (size_t i = 0; i < mHwModules.size() && !foundOutput && res == NO_ERROR; i++) { in registerPolicyMixes()
3158 sp<HwModule> module = mHwModules[i]; in registerPolicyMixes()
3209 rSubmixModule = mHwModules.getModuleFromName( in unregisterPolicyMixes()
3274 sp<DeviceDescriptor> devDesc = mHwModules.getDeviceDescriptor( in areAllDevicesSupported()
4737 for (const auto& hwModule : mHwModules) { in isHapticPlaybackSupported()
4922 mHwModules.clear(); in ~AudioPolicyManager()
4947 if (std::find(mHwModules.begin(), mHwModules.end(), hwModule) != mHwModules.end()) { in onNewAudioModulesAvailableInt()
4955 mHwModules.push_back(hwModule); in onNewAudioModulesAvailableInt()
5138 for (const auto& hwModule : mHwModules) { in checkOutputsForDevice()
5232 for (const auto& hwModule : mHwModules) { in checkOutputsForDevice()
5279 for (const auto& hwModule : mHwModules) { in checkInputsForDevice()
5373 for (const auto& hwModule : mHwModules) { in checkInputsForDevice()
5532 if (mHwModules.getModuleFromName(AUDIO_HARDWARE_MODULE_ID_MSD) != 0) { in checkForDeviceAndOutputChanges()
6322 for (const auto& hwModule : mHwModules) { in getInputProfile()
6740 mHwModules.cleanUpForDevice(deviceDesc); in cleanUpForDevice()