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.cpp327 for (const auto& hwModule : *this) { in getDeviceDescriptor()
328 DeviceVector moduleDevices = hwModule->getAllDevices(); in getDeviceDescriptor()
335 moduleDevice->attach(hwModule); in getDeviceDescriptor()
355 sp<HwModule> hwModule = getModuleForDeviceType(type, encodedFormat); in createDevice() local
356 if (hwModule == 0) { in createDevice()
367 hwModule->addDynamicDevice(device); in createDevice()
369 device->attach(hwModule); in createDevice()
371 device->toString().c_str(), hwModule->getName()); in createDevice()
373 const auto &profiles = (audio_is_output_device(type) ? hwModule->getOutputProfiles() : in createDevice()
374 hwModule->getInputProfiles()); in createDevice()
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp821 for (const auto& hwModule : mHwModules) { in getProfileForOutput() local
822 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getProfileForOutput()
4257 for (const auto& hwModule : mHwModules) { in isHapticPlaybackSupported() local
4258 const OutputProfileCollection &outputProfiles = hwModule->getOutputProfiles(); in isHapticPlaybackSupported()
4472 for (const auto& hwModule : mHwModulesAll) { in onNewAudioModulesAvailableInt() local
4473 if (std::find(mHwModules.begin(), mHwModules.end(), hwModule) != mHwModules.end()) { in onNewAudioModulesAvailableInt()
4476 hwModule->setHandle(mpClientInterface->loadHwModule(hwModule->getName())); in onNewAudioModulesAvailableInt()
4477 if (hwModule->getHandle() == AUDIO_MODULE_HANDLE_NONE) { in onNewAudioModulesAvailableInt()
4478 ALOGW("could not open HW module %s", hwModule->getName()); in onNewAudioModulesAvailableInt()
4481 mHwModules.push_back(hwModule); in onNewAudioModulesAvailableInt()
[all …]
/frameworks/av/services/audioflinger/
DPatchPanel.cpp148 audio_module_handle_t hwModule = AUDIO_MODULE_HANDLE_NONE; in createAudioPatch() local
154 hwModule = oldPatch.sources[0].ext.device.hw_module; in createAudioPatch()
165 hwModule = oldPatch.sinks[0].ext.device.hw_module; in createAudioPatch()
167 sp<DeviceHalInterface> hwDevice = findHwDeviceByModule(hwModule); in createAudioPatch()