Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfile.cpp57 bool operator == (const AudioProfile &left, const AudioProfile &compareTo) in operator ==()
64 static AudioProfile* createFullDynamicImpl() in createFullDynamicImpl()
66 AudioProfile* dynamicProfile = new AudioProfile(gDynamicFormat, in createFullDynamicImpl()
75 sp<AudioProfile> AudioProfile::createFullDynamic() in createFullDynamic()
77 static sp<AudioProfile> dynamicProfile = createFullDynamicImpl(); in createFullDynamic()
81 AudioProfile::AudioProfile(audio_format_t format, in AudioProfile() function in android::AudioProfile
91 AudioProfile::AudioProfile(audio_format_t format, in AudioProfile() function in android::AudioProfile
99 void AudioProfile::setChannels(const ChannelsVector &channelMasks) in setChannels()
106 void AudioProfile::setSampleRates(const SampleRateVector &sampleRates) in setSampleRates()
113 void AudioProfile::clear() in clear()
[all …]
DSerializer.cpp98 struct AudioProfileTraits : public AndroidCollectionTraits<AudioProfile, AudioProfileVector>
404 Element profile = new AudioProfile(formatFromString(format, gDynamicFormat), in deserialize()
441 profiles.add(AudioProfile::createFullDynamic()); in deserialize()
525 profiles.add(AudioProfile::createFullDynamic()); in deserialize()
DHwModule.cpp50 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addOutputProfile()
118 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addInputProfile()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioProfile.h68 class AudioProfile : public virtual RefBase
71 static sp<AudioProfile> createFullDynamic();
73 AudioProfile(audio_format_t format, audio_channel_mask_t channelMasks, uint32_t samplingRate);
74 AudioProfile(audio_format_t format,
129 class AudioProfileVector : public Vector<sp<AudioProfile> >
132 ssize_t add(const sp<AudioProfile> &profile);
135 ssize_t addProfileFromHal(const sp<AudioProfile> &profileToAdd);
155 sp<AudioProfile> getFirstValidProfile() const;
156 sp<AudioProfile> getFirstValidProfileFor(audio_format_t format) const;
171 sp<AudioProfile> getProfileFor(audio_format_t format) const;
[all …]
DAudioPolicyConfig.h112 mDefaultOutputDevice->addAudioProfile(AudioProfile::createFullDynamic()); in setDefault()
114 defaultInputDevice->addAudioProfile(AudioProfile::createFullDynamic()); in setDefault()
115 sp<AudioProfile> micProfile = new AudioProfile( in setDefault()
128 new AudioProfile(AUDIO_FORMAT_PCM_16_BIT, AUDIO_CHANNEL_OUT_STEREO, 44100)); in setDefault()
DAudioPort.h77 void addAudioProfile(const sp<AudioProfile> &profile) { mProfiles.add(profile); } in addAudioProfile()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp290 sp<AudioProfile> pcmOutputProfile = new AudioProfile( in SetUpConfig()
292 sp<AudioProfile> ac3OutputProfile = new AudioProfile( in SetUpConfig()
298 sp<AudioProfile> pcmInputProfile = new AudioProfile( in SetUpConfig()
331 sp<AudioProfile> dtsOutputProfile = new AudioProfile( in SetUpConfig()
/frameworks/base/tools/powermodel/src/com/android/powermodel/component/
DAudioProfile.java24 public class AudioProfile extends ComponentProfile { class
/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/common/managerdefinitions/
DAndroid.bp12 "src/AudioProfile.cpp",
/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.cpp6178 profiles.addProfileFromHal(new AudioProfile(format, channelMasks, samplingRates)); in updateAudioProfiles()