Home
last modified time | relevance | path

Searched refs:PolicyAudioPort (Results 1 – 19 of 19) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DPolicyAudioPort.cpp31 void PolicyAudioPort::attach(const sp<HwModule>& module) in attach()
38 void PolicyAudioPort::detach() in detach()
44 audio_port_handle_t PolicyAudioPort::getNextUniqueId() in getNextUniqueId()
49 audio_module_handle_t PolicyAudioPort::getModuleHandle() const in getModuleHandle()
54 uint32_t PolicyAudioPort::getModuleVersionMajor() const in getModuleVersionMajor()
59 const char *PolicyAudioPort::getModuleName() const in getModuleName()
64 status_t PolicyAudioPort::checkExactAudioProfile(const struct audio_port_config *config) const in checkExactAudioProfile()
83 void PolicyAudioPort::pickSamplingRate(uint32_t &pickedRate, in pickSamplingRate()
118 void PolicyAudioPort::pickChannelMask(audio_channel_mask_t &pickedChannelMask, in pickChannelMask()
164 const audio_format_t PolicyAudioPort::sPcmFormatCompareTable[] = {
[all …]
DAudioRoute.cpp40 bool AudioRoute::supportsPatch(const sp<PolicyAudioPort> &srcPort, in supportsPatch()
41 const sp<PolicyAudioPort> &dstPort) const in supportsPatch()
DAudioCollections.cpp29 sp<PolicyAudioPort> findByTagName(const PolicyAudioPortVector& policyAudioPortVector, in findByTagName()
DHwModule.cpp199 sp<PolicyAudioPort> sink = route->getSink(); in refreshSupportedDevices()
220 sp<PolicyAudioPort> source = findByTagName(route->getSources(), stream->getTagName()); in refreshSupportedDevices()
242 bool HwModule::supportsPatch(const sp<PolicyAudioPort> &srcPort, in supportsPatch()
243 const sp<PolicyAudioPort> &dstPort) const { in supportsPatch()
DDeviceDescriptor.cpp66 PolicyAudioPort::attach(module); in attach()
72 PolicyAudioPort::detach(); in detach()
149 const sp<PolicyAudioPort>& policyPort, bool force) { in importAudioPortAndPickAudioProfile()
DAudioOutputDescriptor.cpp43 AudioOutputDescriptor::AudioOutputDescriptor(const sp<PolicyAudioPort>& policyAudioPort, in AudioOutputDescriptor()
637 mId = PolicyAudioPort::getNextUniqueId(); in open()
723 mId = PolicyAudioPort::getNextUniqueId(); in openDuplicating()
DSerializer.cpp620 sp<PolicyAudioPort> sink = ctx->findPortByTagName(sinkAttr); in deserialize()
643 sp<PolicyAudioPort> source = ctx->findPortByTagName(devTag); in deserialize()
659 sp<PolicyAudioPort> source = sources.itemAt(i); in deserialize()
DAudioProfileVectorHelper.cpp39 return PolicyAudioPort::compareFormats(a->getFormat(), b->getFormat()) < 0; in sortAudioProfiles()
DAudioInputDescriptor.cpp250 mId = PolicyAudioPort::getNextUniqueId(); in open()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioRoute.h28 class PolicyAudioPort; variable
44 void setSink(const sp<PolicyAudioPort> &sink) { mSink = sink; } in setSink()
45 const sp<PolicyAudioPort> &getSink() const { return mSink; } in getSink()
60 bool supportsPatch(const sp<PolicyAudioPort> &srcPort,
61 const sp<PolicyAudioPort> &dstPort) const;
67 sp<PolicyAudioPort> mSink;
DPolicyAudioPort.h36 class PolicyAudioPort : public virtual RefBase, private HandleGenerator<audio_port_handle_t>
39 PolicyAudioPort() = default;
41 virtual ~PolicyAudioPort() = default;
45 bool equals(const sp<PolicyAudioPort> &right) const in equals()
112 virtual sp<PolicyAudioPort> getPolicyAudioPort() const = 0;
115 sp<PolicyAudioPort> policyAudioPort = getPolicyAudioPort(); in validationBeforeApplyConfig()
DAudioCollections.h28 class PolicyAudioPort; variable
31 using PolicyAudioPortVector = Vector<sp<PolicyAudioPort>>;
34 sp<PolicyAudioPort> findByTagName(const PolicyAudioPortVector& policyAudioPortVector,
DDeviceDescriptor.h34 public PolicyAudioPort, public PolicyAudioPortConfig
68 virtual sp<PolicyAudioPort> getPolicyAudioPort() const { in getPolicyAudioPort()
69 return static_cast<PolicyAudioPort*>(const_cast<DeviceDescriptor*>(this)); in getPolicyAudioPort()
89 void importAudioPortAndPickAudioProfile(const sp<PolicyAudioPort>& policyPort,
DHwModule.h100 sp<PolicyAudioPort> findPortByTagName(const std::string &tagName) const in findPortByTagName()
114 bool supportsPatch(const sp<PolicyAudioPort> &srcPort,
115 const sp<PolicyAudioPort> &dstPort) const;
DAudioOutputDescriptor.h148 AudioOutputDescriptor(const sp<PolicyAudioPort>& policyAudioPort,
252 virtual sp<PolicyAudioPort> getPolicyAudioPort() const in getPolicyAudioPort()
320 const sp<PolicyAudioPort> mPolicyAudioPort;
DIOProfile.h35 class IOProfile : public AudioPort, public PolicyAudioPort
DAudioInputDescriptor.h64 virtual sp<PolicyAudioPort> getPolicyAudioPort() const { in getPolicyAudioPort()
/frameworks/av/services/audiopolicy/common/managerdefinitions/
DAndroid.bp26 "src/PolicyAudioPort.cpp",
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp790 auto callTxSourceClientPortId = PolicyAudioPort::getNextUniqueId(); in connectTelephonyTxAudioSource()
1348 *portId = PolicyAudioPort::getNextUniqueId(); in getOutputForAttr()
1955 PolicyAudioPort::kFormatDistanceMax - in selectOutput()
1956 PolicyAudioPort::formatDistance(format, outputDesc->getFormat()); in selectOutput()
2572 *portId = PolicyAudioPort::getNextUniqueId(); in getInputForAttr()
4293 audio_port_handle_t portId = PolicyAudioPort::getNextUniqueId(); in createAudioPatch()
4983 *portId = PolicyAudioPort::getNextUniqueId(); in startAudioSource()