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()
192 class InputProfile : public IOProfile
195 explicit InputProfile(const std::string &name) : IOProfile(name, AUDIO_PORT_ROLE_SINK) {} in InputProfile()
198 class OutputProfile : public IOProfile
201 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
324 SwAudioOutputDescriptor(const sp<IOProfile>& profile,
400 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>
434 Element mixPort = new IOProfile(name, portRole); in deserialize()
DAudioInputDescriptor.cpp30 AudioInputDescriptor::AudioInputDescriptor(const sp<IOProfile>& profile, in AudioInputDescriptor()
DAudioOutputDescriptor.cpp272 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.cpp801 sp<IOProfile> AudioPolicyManager::getProfileForOutput( in getProfileForOutput()
819 sp<IOProfile> profile; in getProfileForOutput()
1126 sp<IOProfile> profile; in getOutputForDevices()
2097 sp<IOProfile> profile; in getInputForDevice()
3244 sp<IOProfile> profile = getProfileForOutput(DeviceVector() /*ignore device */, in isOffloadSupported()
3258 sp<IOProfile> profile = getProfileForOutput(DeviceVector() /*ignore device */, in isDirectOutputSupported()
4648 SortedVector< sp<IOProfile> > profiles; in checkOutputsForDevice()
4651 sp<IOProfile> profile = hwModule->getOutputProfiles()[j]; in checkOutputsForDevice()
4670 sp<IOProfile> profile = profiles[profile_index]; in checkOutputsForDevice()
4818 sp<IOProfile> profile = hwModule->getOutputProfiles()[j]; in checkOutputsForDevice()
[all …]
DAudioPolicyManager.h601 sp<IOProfile> getInputProfile(const sp<DeviceDescriptor> & device,
616 sp<IOProfile> getProfileForOutput(const DeviceVector &devices,