Lines Matching refs:mHwModules

156     sp<DeviceDescriptor> device = mHwModules.getDeviceDescriptor(  in setDeviceConnectionStateInt()
223 mHwModules.cleanUpForDevice(device); in setDeviceConnectionStateInt()
409 mHwModules.cleanUpForDevice(device); in setDeviceConnectionStateInt()
494 mHwModules.getDeviceDescriptor(device, device_address, "", AUDIO_FORMAT_DEFAULT, in getDeviceConnectionState()
547 sp<HwModule> module = mHwModules.getModuleForDeviceType(device, encodedFormat); in handleDeviceConfigChange()
626 mHwModules.getModuleFromName(AUDIO_HARDWARE_MODULE_ID_PRIMARY); in getHwOffloadFormatsSupportedForBluetoothMedia()
665 auto telephonyRxModule = mHwModules.getModuleForDeviceType( in selectBestRxSinkDevicesForCall()
723 mHwModules.getModuleForDeviceType(AUDIO_DEVICE_IN_TELEPHONY_RX, AUDIO_FORMAT_DEFAULT); in updateCallRoutingInternal()
725 mHwModules.getModuleForDeviceType(AUDIO_DEVICE_OUT_TELEPHONY_TX, AUDIO_FORMAT_DEFAULT); in updateCallRoutingInternal()
792 sp<HwModule> module = mHwModules.getModuleFromName(moduleId); in isDeviceOfModule()
1026 sp<HwModule> msdModule = mHwModules.getModuleFromName(AUDIO_HARDWARE_MODULE_ID_MSD); in getMsdProfileForOutput()
1053 mHwModules, devices, samplingRate, format, channelMask, flags, directOnly); in getProfileForOutput()
1117 for (const auto& hwModule : mHwModules) { in getSpatializerOutputProfile()
1780 auto msdInDevices = mHwModules.getAvailableDevicesFromModuleName(AUDIO_HARDWARE_MODULE_ID_MSD, in getMsdAudioInDevice()
1786 return mHwModules.getAvailableDevicesFromModuleName(AUDIO_HARDWARE_MODULE_ID_MSD, in getMsdAudioOutDevices()
1792 sp<HwModule> msdModule = mHwModules.getModuleFromName(AUDIO_HARDWARE_MODULE_ID_MSD); in getMsdOutputPatches()
1814 sp<HwModule> msdModule = mHwModules.getModuleFromName(AUDIO_HARDWARE_MODULE_ID_MSD); in isMsdPatch()
1932 sp<HwModule> msdModule = mHwModules.getModuleFromName(AUDIO_HARDWARE_MODULE_ID_MSD); in buildMsdPatch()
1934 sp<HwModule> deviceModule = mHwModules.getModuleForDevice(device, AUDIO_FORMAT_DEFAULT); in buildMsdPatch()
3858 rSubmixModule = mHwModules.getModuleFromName( in registerPolicyMixes()
3911 sp<DeviceDescriptor> device = mHwModules.getDeviceDescriptor( in registerPolicyMixes()
3935 for (size_t i = 0; i < mHwModules.size() && !foundOutput && res == NO_ERROR; i++) { in registerPolicyMixes()
3936 sp<HwModule> module = mHwModules[i]; in registerPolicyMixes()
3995 rSubmixModule = mHwModules.getModuleFromName( in unregisterPolicyMixes()
4100 sp<DeviceDescriptor> devDesc = mHwModules.getDeviceDescriptor( in areAllDevicesSupported()
4132 sp<DeviceDescriptor> desc = mHwModules.getDeviceDescriptor( in getSoftwareOutputsForDevices()
4491 mHwModules.dump(dst); in dump()
4687 for (const auto& hwModule : mHwModules) { in getDirectPlaybackSupport()
4763 for (const auto& hwModule : mHwModules) { in getSupportedMixerAttributes()
4804 for (const auto& hwModule : mHwModules) { in setPreferredMixerAttributes()
5019 for (const auto& module : mHwModules) { in listDeclaredDevicePorts()
6096 for (const auto& hwModule : mHwModules) { in isHapticPlaybackSupported()
6115 for (const auto& hwModule : mHwModules) { in isUltrasoundSupported()
6146 for (const auto& hwModule : mHwModules) { in isHotwordStreamSupported()
6505 mHwModules.clear(); in ~AudioPolicyManager()
6530 if (std::find(mHwModules.begin(), mHwModules.end(), hwModule) != mHwModules.end()) { in onNewAudioModulesAvailableInt()
6542 mHwModules.push_back(hwModule); in onNewAudioModulesAvailableInt()
6751 for (const auto& hwModule : mHwModules) { in checkOutputsForDevice()
6845 for (const auto& hwModule : mHwModules) { in checkOutputsForDevice()
6900 for (const auto& hwModule : mHwModules) { in checkInputsForDevice()
6995 for (const auto& hwModule : mHwModules) { in checkInputsForDevice()
7167 if (mHwModules.getModuleFromName(AUDIO_HARDWARE_MODULE_ID_MSD) != 0) { in checkForDeviceAndOutputChanges()
7977 for (const auto& hwModule : mHwModules) { in getInputProfile()
8504 mHwModules.cleanUpForDevice(deviceDesc); in cleanUpForDevice()
8924 for (const auto& hwModule : mHwModules) { in getProfilesForDevices()
8943 const auto &msdModule = mHwModules.getModuleFromName(AUDIO_HARDWARE_MODULE_ID_MSD); in getProfilesForDevices()