Home
last modified time | relevance | path

Searched refs:outputProfile (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfileVectorHelper.cpp458 sp<AudioProfile> outputProfile = outputProfileVector.getFirstValidProfileFor(f); in findBestMatchingOutputConfig() local
459 if (inputProfile == nullptr || outputProfile == nullptr) { in findBestMatchingOutputConfig()
463 outputProfile->getChannels(), preferredOutputChannelVector); in findBestMatchingOutputConfig()
468 intersectAndOrder(inputProfile->getSampleRates(), outputProfile->getSampleRates(), in findBestMatchingOutputConfig()
470 intersectAndOrder(inputProfile->getSampleRates(), outputProfile->getSampleRates(), in findBestMatchingOutputConfig()
DAudioOutputDescriptor.cpp944 for (const auto &outputProfile : primaryHwModule->getOutputProfiles()) { in isA2dpOffloadedOnPrimary() local
945 if (outputProfile->supportsDeviceTypes(getAudioDeviceOutAllA2dpSet())) { in isA2dpOffloadedOnPrimary()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp745 for (const auto& outputProfile : primary->getOutputProfiles()) { in TEST_P() local
746 if (outputProfile->asAudioPort()->isDirectOutput()) { in TEST_P()
747 countDirectProfilesPrimary += outputProfile->asAudioPort()->getAudioProfiles().size(); in TEST_P()
755 for (const auto& outputProfile : msd->getOutputProfiles()) { in TEST_P() local
756 if (outputProfile->asAudioPort()->isDirectOutput()) { in TEST_P()
757 countDirectProfilesMsd += outputProfile->asAudioPort()->getAudioProfiles().size(); in TEST_P()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h1342 void addPortProfilesToVector(sp<IOProfile> outputProfile,