Home
last modified time | relevance | path

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

/frameworks/av/media/libaudiofoundation/
DAudioProfile.cpp30 bool operator == (const AudioProfile &left, const AudioProfile &right) in operator ==()
38 sp<AudioProfile> AudioProfile::createFullDynamic(audio_format_t dynamicFormat) in createFullDynamic()
40 AudioProfile* dynamicProfile = new AudioProfile(dynamicFormat, in createFullDynamic()
48 AudioProfile::AudioProfile(audio_format_t format, in AudioProfile() function in android::AudioProfile
58 AudioProfile::AudioProfile(audio_format_t format, in AudioProfile() function in android::AudioProfile
66 void AudioProfile::setChannels(const ChannelMaskSet &channelMasks) in setChannels()
73 void AudioProfile::setSampleRates(const SampleRateSet &sampleRates) in setSampleRates()
80 void AudioProfile::clear() in clear()
90 void AudioProfile::dump(std::string *dst, int spaces) const in dump()
121 bool AudioProfile::equals(const sp<AudioProfile>& other) const in equals()
[all …]
DAndroid.bp27 "AudioProfile.cpp",
/frameworks/av/media/libaudiofoundation/include/media/
DAudioProfile.h30 class AudioProfile final : public RefBase, public Parcelable
33 static sp<AudioProfile> createFullDynamic(audio_format_t dynamicFormat = AUDIO_FORMAT_DEFAULT);
35 AudioProfile(audio_format_t format, audio_channel_mask_t channelMasks, uint32_t samplingRate);
36 AudioProfile(audio_format_t format,
71 bool equals(const sp<AudioProfile>& other) const;
87 class AudioProfileVector : public std::vector<sp<AudioProfile>>, public Parcelable
92 virtual ssize_t add(const sp<AudioProfile> &profile);
98 sp<AudioProfile> getFirstValidProfile() const;
99 sp<AudioProfile> getFirstValidProfileFor(audio_format_t format) const;
116 bool operator == (const AudioProfile &left, const AudioProfile &right);
DAudioPort.h51 virtual void addAudioProfile(const sp<AudioProfile> &profile) { in addAudioProfile()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfileVectorHelper.cpp37 [](const sp<AudioProfile> & a, const sp<AudioProfile> & b) in sortAudioProfiles()
44 const sp<AudioProfile> &profile) in addAudioProfileAndSort()
52 sp<AudioProfile> getAudioProfileForFormat(const AudioProfileVector &audioProfileVector, in getAudioProfileForFormat()
71 sp<AudioProfile> profileToAdd = new AudioProfile( in setSampleRatesForAudioProfiles()
91 sp<AudioProfile> profileToAdd = new AudioProfile(format, channelMaskSet, in setChannelsForAudioProfiles()
106 sp<AudioProfile> dynamicFormatProfile = getAudioProfileForFormat( in addProfilesForFormats()
112 sp<AudioProfile> profile = new AudioProfile(format, in addProfilesForFormats()
123 const sp<AudioProfile> &profileToAdd) in addDynamicAudioProfileAndSort()
148 const sp<AudioProfile> &profile = audioProfileVector.at(profileIndex); in addDynamicAudioProfileAndSort()
166 status_t checkExact(const sp<AudioProfile> &audioProfile, in checkExact()
[all …]
DHwModule.cpp49 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addOutputProfile()
116 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addInputProfile()
DSerializer.cpp98 struct AudioProfileTraits : public AndroidCollectionTraits<AudioProfile, AudioProfileVector>
406 Element profile = new AudioProfile(formatFromString(format, gDynamicFormat), in deserialize()
443 profiles.add(AudioProfile::createFullDynamic(gDynamicFormat)); in deserialize()
525 profiles.add(AudioProfile::createFullDynamic(gDynamicFormat)); in deserialize()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyConfig.h131 mDefaultOutputDevice->addAudioProfile(AudioProfile::createFullDynamic(gDynamicFormat)); in setDefault()
133 defaultInputDevice->addAudioProfile(AudioProfile::createFullDynamic(gDynamicFormat)); in setDefault()
134 sp<AudioProfile> micProfile = new AudioProfile( in setDefault()
145 new AudioProfile(AUDIO_FORMAT_PCM_16_BIT, AUDIO_CHANNEL_OUT_STEREO, 44100)); in setDefault()
DAudioProfileVectorHelper.h27 const sp<AudioProfile> &profile);
36 const sp<AudioProfile> &profileToAdd);
DIOProfile.h50 virtual void addAudioProfile(const sp<AudioProfile> &profile) { in addAudioProfile()
DDeviceDescriptor.h48 virtual void addAudioProfile(const sp<AudioProfile> &profile) { in addAudioProfile()
/frameworks/base/tools/powermodel/src/com/android/powermodel/component/
DAudioProfile.java24 public class AudioProfile extends ComponentProfile { class
/frameworks/av/media/libaudiofoundation/tests/
Daudiofoundation_parcelable_test.cpp71 sp<AudioProfile> audioProfile = AudioProfile::createFullDynamic(); in getAudioProfileVectorForTest()
/frameworks/base/tools/powermodel/test/com/android/powermodel/
DPowerProfileTest.java22 import com.android.powermodel.component.AudioProfile;
57 final AudioProfile audio = (AudioProfile)profile.getComponent(Component.AUDIO); in testReadGood()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp334 sp<AudioProfile> pcmOutputProfile = new AudioProfile( in SetUpManagerConfig()
336 sp<AudioProfile> ac3OutputProfile = new AudioProfile( in SetUpManagerConfig()
342 sp<AudioProfile> pcmInputProfile = new AudioProfile( in SetUpManagerConfig()
372 sp<AudioProfile> dtsOutputProfile = new AudioProfile( in SetUpManagerConfig()
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DPowerProfile.java35 import com.android.powermodel.component.AudioProfile;
90 private final AudioProfile mAudio = new AudioProfile();
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp6491 profiles, new AudioProfile(format, channelMasks, samplingRates)); in updateAudioProfiles()