/frameworks/av/media/libaudiofoundation/ |
D | AudioProfile.cpp | 30 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 …]
|
D | Android.bp | 27 "AudioProfile.cpp",
|
/frameworks/av/media/libaudiofoundation/include/media/ |
D | AudioProfile.h | 30 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);
|
D | AudioPort.h | 51 virtual void addAudioProfile(const sp<AudioProfile> &profile) { in addAudioProfile()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioProfileVectorHelper.cpp | 37 [](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 …]
|
D | HwModule.cpp | 49 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addOutputProfile() 116 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addInputProfile()
|
D | Serializer.cpp | 98 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/ |
D | AudioPolicyConfig.h | 131 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()
|
D | AudioProfileVectorHelper.h | 27 const sp<AudioProfile> &profile); 36 const sp<AudioProfile> &profileToAdd);
|
D | IOProfile.h | 50 virtual void addAudioProfile(const sp<AudioProfile> &profile) { in addAudioProfile()
|
D | DeviceDescriptor.h | 48 virtual void addAudioProfile(const sp<AudioProfile> &profile) { in addAudioProfile()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/component/ |
D | AudioProfile.java | 24 public class AudioProfile extends ComponentProfile { class
|
/frameworks/av/media/libaudiofoundation/tests/ |
D | audiofoundation_parcelable_test.cpp | 71 sp<AudioProfile> audioProfile = AudioProfile::createFullDynamic(); in getAudioProfileVectorForTest()
|
/frameworks/base/tools/powermodel/test/com/android/powermodel/ |
D | PowerProfileTest.java | 22 import com.android.powermodel.component.AudioProfile; 57 final AudioProfile audio = (AudioProfile)profile.getComponent(Component.AUDIO); in testReadGood()
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 334 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/ |
D | PowerProfile.java | 35 import com.android.powermodel.component.AudioProfile; 90 private final AudioProfile mAudio = new AudioProfile();
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 6491 profiles, new AudioProfile(format, channelMasks, samplingRates)); in updateAudioProfiles()
|