Home
last modified time | relevance | path

Searched refs:msdModule (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp304 sp<HwModule> msdModule = new HwModule(AUDIO_HARDWARE_MODULE_ID_MSD, 2 /*halVersionMajor*/); in SetUpConfig() local
306 modules.add(msdModule); in SetUpConfig()
308 mMsdOutputDevice->attach(msdModule); in SetUpConfig()
309 mMsdInputDevice->attach(msdModule); in SetUpConfig()
314 msdModule->addOutputProfile(msdOutputProfile); in SetUpConfig()
322 msdModule->addOutputProfile(msdCompressedOutputProfile); in SetUpConfig()
327 msdModule->addInputProfile(msdInputProfile); in SetUpConfig()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1298 sp<HwModule> msdModule = mHwModules.getModuleFromName(AUDIO_HARDWARE_MODULE_ID_MSD); in getMsdPatches() local
1299 if (msdModule != 0) { in getMsdPatches()
1305 source->ext.device.hw_module == msdModule->getHandle()) { in getMsdPatches()
1317 sp<HwModule> msdModule = mHwModules.getModuleFromName(AUDIO_HARDWARE_MODULE_ID_MSD); in getBestMsdAudioProfileFor() local
1318 if (msdModule == nullptr) { in getBestMsdAudioProfileFor()
1327 const InputProfileCollection &inputProfiles = msdModule->getInputProfiles(); in getBestMsdAudioProfileFor()