Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioInputDescriptor.h96 if (const auto policyPort = getPolicyAudioPort(); policyPort != nullptr) { in isMmap() local
97 if (const auto port = policyPort->asAudioPort(); port != nullptr) { in isMmap()
DAudioOutputDescriptor.h286 if (const auto policyPort = getPolicyAudioPort(); policyPort != nullptr) { in isMmap() local
287 if (const auto port = policyPort->asAudioPort(); port != nullptr) { in isMmap()
DDeviceDescriptor.h89 void importAudioPortAndPickAudioProfile(const sp<PolicyAudioPort>& policyPort,
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DDeviceDescriptor.cpp163 const sp<PolicyAudioPort>& policyPort, bool force) { in importAudioPortAndPickAudioProfile() argument
164 if (!force && !policyPort->asAudioPort()->hasDynamicAudioProfile()) { in importAudioPortAndPickAudioProfile()
167 AudioPort::importAudioPort(policyPort->asAudioPort()); in importAudioPortAndPickAudioProfile()
168 policyPort->pickAudioProfile(mSamplingRate, mChannelMask, mFormat); in importAudioPortAndPickAudioProfile()