Searched refs:hwModule (Results 1 – 3 of 3) sorted by relevance
327 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() local356 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 …]
821 for (const auto& hwModule : mHwModules) { in getProfileForOutput() local822 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getProfileForOutput()4257 for (const auto& hwModule : mHwModules) { in isHapticPlaybackSupported() local4258 const OutputProfileCollection &outputProfiles = hwModule->getOutputProfiles(); in isHapticPlaybackSupported()4472 for (const auto& hwModule : mHwModulesAll) { in onNewAudioModulesAvailableInt() local4473 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 …]
148 audio_module_handle_t hwModule = AUDIO_MODULE_HANDLE_NONE; in createAudioPatch() local154 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()