Searched refs:policyPort (Results 1 – 4 of 4) sorted by relevance
96 if (const auto policyPort = getPolicyAudioPort(); policyPort != nullptr) { in isMmap() local97 if (const auto port = policyPort->asAudioPort(); port != nullptr) { in isMmap()
286 if (const auto policyPort = getPolicyAudioPort(); policyPort != nullptr) { in isMmap() local287 if (const auto port = policyPort->asAudioPort(); port != nullptr) { in isMmap()
89 void importAudioPortAndPickAudioProfile(const sp<PolicyAudioPort>& policyPort,
163 const sp<PolicyAudioPort>& policyPort, bool force) { in importAudioPortAndPickAudioProfile() argument164 if (!force && !policyPort->asAudioPort()->hasDynamicAudioProfile()) { in importAudioPortAndPickAudioProfile()167 AudioPort::importAudioPort(policyPort->asAudioPort()); in importAudioPortAndPickAudioProfile()168 policyPort->pickAudioProfile(mSamplingRate, mChannelMask, mFormat); in importAudioPortAndPickAudioProfile()