Home
last modified time | relevance | path

Searched refs:AudioProfile (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioProfile.h36 class AudioProfile : public virtual RefBase
39 AudioProfile(audio_format_t format, in AudioProfile() function
49 AudioProfile(audio_format_t format, in AudioProfile() function
136 class AudioProfileVector : public Vector<sp<AudioProfile> >
139 ssize_t add(const sp<AudioProfile> &profile) in add()
153 ssize_t addProfileFromHal(const sp<AudioProfile> &profileToAdd) in addProfileFromHal()
175 const sp<AudioProfile> &profile = itemAt(profileIndex); in addProfileFromHal()
185 sp<AudioProfile> getFirstValidProfile() const in getFirstValidProfile()
234 sp<AudioProfile> profile = itemAt(i); in hasDynamicChannelsFor()
245 sp<AudioProfile> profile = itemAt(i); in hasDynamicRateFor()
[all …]
DAudioPolicyConfig.h121 new AudioProfile(AUDIO_FORMAT_PCM_16_BIT, AUDIO_CHANNEL_OUT_STEREO, 44100)); in setDefault()
130 new AudioProfile(AUDIO_FORMAT_PCM_16_BIT, AUDIO_CHANNEL_IN_MONO, 8000)); in setDefault()
DSerializer.h76 typedef AudioProfile Element;
77 typedef sp<AudioProfile> PtrElement;
DAudioPort.h76 void addAudioProfile(const sp<AudioProfile> &profile) { mProfiles.add(profile); } in addAudioProfile()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfile.cpp31 status_t AudioProfile::checkExact(uint32_t samplingRate, audio_channel_mask_t channelMask, in checkExact()
56 bool operator == (const AudioProfile &left, const AudioProfile &compareTo) in operator ==()
63 status_t AudioProfile::checkCompatibleSamplingRate(uint32_t samplingRate, in checkCompatibleSamplingRate()
98 status_t AudioProfile::checkCompatibleChannelMask(audio_channel_mask_t channelMask, in checkCompatibleChannelMask()
185 void AudioProfile::dump(int fd, int spaces) const in dump()
237 const sp<AudioProfile> profile = itemAt(i); in checkExactProfile()
261 const sp<AudioProfile> profile = itemAt(i); in checkCompatibleProfile()
285 int AudioProfileVector::compareFormats(const sp<AudioProfile> *profile1, in compareFormats()
286 const sp<AudioProfile> *profile2) in compareFormats()
DConfigParsingUtils.cpp127 new AudioProfile(gDynamicFormat, in loadHwModuleDevice()
132 new AudioProfile(gDynamicFormat, in loadHwModuleDevice()
192 sp<AudioProfile> profileToAdd = new AudioProfile(gDynamicFormat, channels, sampleRates); in loadHwModuleProfile()
201 sp<AudioProfile> profileToAdd = new AudioProfile(formats[i], channels, sampleRates); in loadHwModuleProfile()
DSerializer.cpp242 sp <AudioProfile> dynamicProfile = new AudioProfile(gDynamicFormat, in deserialize()
320 sp <AudioProfile> dynamicProfile = new AudioProfile(gDynamicFormat, in deserialize()
DHwModule.cpp50 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addOutputProfile()
112 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addInputProfile()
DAudioPort.cpp134 const sp<AudioProfile> &profileToImport = port->mProfiles[indexToImport]; in importAudioPort()
/frameworks/av/services/audiopolicy/common/managerdefinitions/
DAndroid.mk11 src/AudioProfile.cpp \
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp5454 profiles.addProfileFromHal(new AudioProfile(format, channelMasks, samplingRates)); in AudioPolicyManager()