Home
last modified time | relevance | path

Searched refs:IOProfile (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DIOProfile.h35 class IOProfile : public AudioPort, public PolicyAudioPort
38 IOProfile(const std::string &name, audio_port_role_t role) in IOProfile() function
45 virtual ~IOProfile() = default;
55 return static_cast<AudioPort*>(const_cast<IOProfile*>(this)); in asAudioPort()
194 class InputProfile : public IOProfile
197 explicit InputProfile(const std::string &name) : IOProfile(name, AUDIO_PORT_ROLE_SINK) {} in InputProfile()
200 class OutputProfile : public IOProfile
203 explicit OutputProfile(const std::string &name) : IOProfile(name, AUDIO_PORT_ROLE_SOURCE) {} in OutputProfile()
DHwModule.h31 class IOProfile; variable
35 typedef Vector<sp<IOProfile> > InputProfileCollection;
36 typedef Vector<sp<IOProfile> > OutputProfileCollection;
37 typedef Vector<sp<IOProfile> > IOProfileCollection;
81 status_t addOutputProfile(const sp<IOProfile> &profile);
82 status_t addInputProfile(const sp<IOProfile> &profile);
83 status_t addProfile(const sp<IOProfile> &profile);
DAudioInputDescriptor.h43 AudioInputDescriptor(const sp<IOProfile>& profile,
61 const sp<IOProfile> mProfile; // I/O profile this output derives from
DAudioOutputDescriptor.h37 class IOProfile; variable
330 SwAudioOutputDescriptor(const sp<IOProfile>& profile,
406 const sp<IOProfile> mProfile; // I/O profile this output derives from
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DIOProfile.cpp27 bool IOProfile::isCompatibleProfile(const DeviceVector &devices, in isCompatibleProfile()
108 void IOProfile::dump(String8 *dst) const in dump()
132 void IOProfile::log() in log()
DHwModule.cpp47 sp<IOProfile> profile = new OutputProfile(name); in addOutputProfile()
61 status_t HwModule::addOutputProfile(const sp<IOProfile> &profile) in addOutputProfile()
69 status_t HwModule::addInputProfile(const sp<IOProfile> &profile) in addInputProfile()
77 status_t HwModule::addProfile(const sp<IOProfile> &profile) in addProfile()
115 sp<IOProfile> profile = new InputProfile(name); in addInputProfile()
DSerializer.cpp113 struct MixPortTraits : public AndroidCollectionTraits<IOProfile, IOProfileCollection>
435 Element mixPort = new IOProfile(name, portRole); in deserialize()
DAudioInputDescriptor.cpp30 AudioInputDescriptor::AudioInputDescriptor(const sp<IOProfile>& profile, in AudioInputDescriptor()
DAudioOutputDescriptor.cpp278 SwAudioOutputDescriptor::SwAudioOutputDescriptor(const sp<IOProfile>& profile, in SwAudioOutputDescriptor()
/frameworks/av/services/audiopolicy/common/managerdefinitions/
DAndroid.bp16 "src/IOProfile.cpp",
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp802 sp<IOProfile> AudioPolicyManager::getProfileForOutput( in getProfileForOutput()
820 sp<IOProfile> profile; in getProfileForOutput()
1145 sp<IOProfile> profile; in openDirectOutput()
2150 sp<IOProfile> profile; in getInputForDevice()
2978 sp<IOProfile> profile = module->getOutputProfiles()[j]; in registerPolicyMixes()
3359 sp<IOProfile> profile = getProfileForOutput(DeviceVector() /*ignore device */, in isOffloadSupported()
3373 sp<IOProfile> profile = getProfileForOutput(DeviceVector() /*ignore device */, in isDirectOutputSupported()
4776 SortedVector< sp<IOProfile> > profiles; in checkOutputsForDevice()
4779 sp<IOProfile> profile = hwModule->getOutputProfiles()[j]; in checkOutputsForDevice()
4798 sp<IOProfile> profile = profiles[profile_index]; in checkOutputsForDevice()
[all …]
DAudioPolicyManager.h613 sp<IOProfile> getInputProfile(const sp<DeviceDescriptor> & device,
628 sp<IOProfile> getProfileForOutput(const DeviceVector &devices,