/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | PolicyAudioPort.cpp | 31 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() 69 status_t PolicyAudioPort::checkIdenticalAudioProfile(const struct audio_port_config *config) const { in checkIdenticalAudioProfile() 73 void PolicyAudioPort::pickSamplingRate(uint32_t &pickedRate, in pickSamplingRate() 108 void PolicyAudioPort::pickChannelMask(audio_channel_mask_t &pickedChannelMask, in pickChannelMask() [all …]
|
D | AudioRoute.cpp | 40 bool AudioRoute::supportsPatch(const sp<PolicyAudioPort> &srcPort, in supportsPatch() 41 const sp<PolicyAudioPort> &dstPort) const in supportsPatch()
|
D | AudioPolicyConfig.cpp | 40 ConversionResult<sp<PolicyAudioPort>> 42 const std::unordered_map<int32_t, sp<PolicyAudioPort>>& ports) { in aidl2legacy_portId_PolicyAudioPort() 51 const std::unordered_map<int32_t, sp<PolicyAudioPort>>& ports) { in aidl2legacy_AudioRoute() 57 sp<PolicyAudioPort> legacyPort = VALUE_OR_RETURN( in aidl2legacy_AudioRoute() 80 std::unordered_map<int32_t, sp<PolicyAudioPort>> ports; in aidl2legacy_AudioHwModule_HwModule()
|
D | AudioCollections.cpp | 29 sp<PolicyAudioPort> findByTagName(const PolicyAudioPortVector& policyAudioPortVector, in findByTagName()
|
D | HwModule.cpp | 209 sp<PolicyAudioPort> sink = route->getSink(); in refreshSupportedDevices() 230 sp<PolicyAudioPort> source = findByTagName(route->getSources(), stream->getTagName()); in refreshSupportedDevices() 252 bool HwModule::supportsPatch(const sp<PolicyAudioPort> &srcPort, in supportsPatch() 253 const sp<PolicyAudioPort> &dstPort) const { in supportsPatch()
|
D | DeviceDescriptor.cpp | 66 PolicyAudioPort::attach(module); in attach() 72 PolicyAudioPort::detach(); in detach() 163 const sp<PolicyAudioPort>& policyPort, bool force) { in importAudioPortAndPickAudioProfile()
|
D | Serializer.cpp | 620 sp<PolicyAudioPort> sink = ctx->findPortByTagName(sinkAttr); in deserialize() 645 sp<PolicyAudioPort> source = ctx->findPortByTagName(devTag); in deserialize() 663 sp<PolicyAudioPort> source = sources.itemAt(i); in deserialize()
|
D | AudioOutputDescriptor.cpp | 44 AudioOutputDescriptor::AudioOutputDescriptor(const sp<PolicyAudioPort>& policyAudioPort, in AudioOutputDescriptor() 667 mId = PolicyAudioPort::getNextUniqueId(); in open() 750 mId = PolicyAudioPort::getNextUniqueId(); in openDuplicating()
|
D | AudioProfileVectorHelper.cpp | 39 return PolicyAudioPort::compareFormats(a->getFormat(), b->getFormat()) < 0; in sortAudioProfiles()
|
D | AudioInputDescriptor.cpp | 251 mId = PolicyAudioPort::getNextUniqueId(); in open()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioRoute.h | 28 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;
|
D | PolicyAudioPort.h | 36 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() 123 virtual sp<PolicyAudioPort> getPolicyAudioPort() const = 0; 126 sp<PolicyAudioPort> policyAudioPort = getPolicyAudioPort(); in validationBeforeApplyConfig()
|
D | AudioCollections.h | 28 class PolicyAudioPort; variable 31 using PolicyAudioPortVector = Vector<sp<PolicyAudioPort>>; 34 sp<PolicyAudioPort> findByTagName(const PolicyAudioPortVector& policyAudioPortVector,
|
D | DeviceDescriptor.h | 34 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,
|
D | HwModule.h | 103 sp<PolicyAudioPort> findPortByTagName(const std::string &tagName) const in findPortByTagName() 117 bool supportsPatch(const sp<PolicyAudioPort> &srcPort, 118 const sp<PolicyAudioPort> &dstPort) const;
|
D | AudioOutputDescriptor.h | 152 AudioOutputDescriptor(const sp<PolicyAudioPort>& policyAudioPort, 265 virtual sp<PolicyAudioPort> getPolicyAudioPort() const in getPolicyAudioPort() 340 const sp<PolicyAudioPort> mPolicyAudioPort;
|
D | IOProfile.h | 35 class IOProfile : public AudioPort, public PolicyAudioPort
|
D | AudioInputDescriptor.h | 64 virtual sp<PolicyAudioPort> getPolicyAudioPort() const { in getPolicyAudioPort()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/ |
D | Android.bp | 32 "src/PolicyAudioPort.cpp",
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 843 auto callTxSourceClientPortId = PolicyAudioPort::getNextUniqueId(); in connectTelephonyTxAudioSource() 1489 *portId = PolicyAudioPort::getNextUniqueId(); in getOutputForAttr() 2213 PolicyAudioPort::kFormatDistanceMax - in selectOutput() 2214 PolicyAudioPort::formatDistance(format, outputDesc->getFormat()); in selectOutput() 2998 *portId = PolicyAudioPort::getNextUniqueId(); in getInputForAttr() 5092 audio_port_handle_t portId = PolicyAudioPort::getNextUniqueId(); in createAudioPatch() 5806 *portId = PolicyAudioPort::getNextUniqueId(); in startAudioSourceInternal()
|