Home
last modified time | relevance | path

Searched refs:hwModule (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp329 for (const auto& hwModule : *this) { in getDeviceDescriptor()
330 DeviceVector moduleDevices = hwModule->getAllDevices(); in getDeviceDescriptor()
338 moduleDevice->attach(hwModule); in getDeviceDescriptor()
356 sp<HwModule> hwModule = getModuleForDeviceTypes(type, encodedFormat); in createDevice() local
357 if (hwModule == 0) { in createDevice()
368 hwModule->addDynamicDevice(device); in createDevice()
370 device->attach(hwModule); in createDevice()
372 device->toString().c_str(), hwModule->getName()); in createDevice()
374 const auto &profiles = (audio_is_output_device(type) ? hwModule->getOutputProfiles() : in createDevice()
375 hwModule->getInputProfiles()); in createDevice()
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp849 for (const auto& hwModule : mHwModules) { in getProfileForOutput() local
850 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getProfileForOutput()
4164 for (const auto& hwModule : mHwModules) { in isHapticPlaybackSupported() local
4165 const OutputProfileCollection &outputProfiles = hwModule->getOutputProfiles(); in isHapticPlaybackSupported()
4337 for (const auto& hwModule : mHwModulesAll) { in initialize() local
4338 hwModule->setHandle(mpClientInterface->loadHwModule(hwModule->getName())); in initialize()
4339 if (hwModule->getHandle() == AUDIO_MODULE_HANDLE_NONE) { in initialize()
4340 ALOGW("could not open HW module %s", hwModule->getName()); in initialize()
4343 mHwModules.push_back(hwModule); in initialize()
4348 for (const auto& outProfile : hwModule->getOutputProfiles()) { in initialize()
[all …]
/frameworks/av/services/audioflinger/
DPatchPanel.cpp147 audio_module_handle_t hwModule = AUDIO_MODULE_HANDLE_NONE; in createAudioPatch() local
153 hwModule = oldPatch.sources[0].ext.device.hw_module; in createAudioPatch()
164 hwModule = oldPatch.sinks[0].ext.device.hw_module; in createAudioPatch()
166 sp<DeviceHalInterface> hwDevice = findHwDeviceByModule(hwModule); in createAudioPatch()