Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyConfig.h141 sp<InputProfile> inProfile = new InputProfile("primary"); in setDefault() local
142 inProfile->addAudioProfile(micProfile); in setDefault()
143 inProfile->addSupportedDevice(defaultInputDevice); in setDefault()
144 module->addInputProfile(inProfile); in setDefault()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1312 for (const auto &inProfile : inputProfiles) { in getBestMsdAudioProfileFor() local
1313 if (hwAvSync == ((inProfile->getFlags() & AUDIO_INPUT_FLAG_HW_AV_SYNC) != 0)) { in getBestMsdAudioProfileFor()
1314 appendAudioProfiles(msdProfiles, inProfile->getAudioProfiles()); in getBestMsdAudioProfileFor()
4552 for (const auto& inProfile : hwModule->getInputProfiles()) { in onNewAudioModulesAvailableInt() local
4553 if (!inProfile->canOpenNewIo()) { in onNewAudioModulesAvailableInt()
4555 inProfile->maxOpenCount, inProfile->getTagName().c_str()); in onNewAudioModulesAvailableInt()
4558 if (!inProfile->hasSupportedDevices()) { in onNewAudioModulesAvailableInt()
4564 const DeviceVector &supportedDevices = inProfile->getSupportedDevices(); in onNewAudioModulesAvailableInt()
4571 new AudioInputDescriptor(inProfile, mpClientInterface); in onNewAudioModulesAvailableInt()
4589 device->importAudioPortAndPickAudioProfile(inProfile, true); in onNewAudioModulesAvailableInt()