Home
last modified time | relevance | path

Searched refs:samplingRates (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioPort.java97 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioPort() argument
102 mSamplingRates = samplingRates; in AudioPort()
111 format, samplingRates, channelMasks, channelIndexMasks, in AudioPort()
128 Set<Integer> samplingRates = new HashSet<>(); in AudioPort() local
133 samplingRates.addAll(Arrays.stream(profile.getSampleRates()).boxed() in AudioPort()
140 mSamplingRates = samplingRates.stream().mapToInt(Number::intValue).toArray(); in AudioPort()
179 public int[] samplingRates() { in samplingRates() method in AudioPort
DAudioMixPort.java40 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioMixPort() argument
42 super(handle, role, deviceName, samplingRates, channelMasks, channelIndexMasks, in AudioMixPort()
DAudioProfile.java60 AudioProfile(int format, @NonNull int[] samplingRates, @NonNull int[] channelMasks, in AudioProfile() argument
64 mSamplingRates = samplingRates; in AudioProfile()
DAudioDevicePort.java48 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioDevicePort() argument
54 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
DAudioDeviceInfo.java447 return mPort.samplingRates(); in getSampleRates()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DPolicyAudioPort.cpp84 const SampleRateSet &samplingRates) const in pickSamplingRate()
92 for (const auto rate : samplingRates) { in pickSamplingRate()
110 for (const auto rate : samplingRates) { in pickSamplingRate()
DSerializer.cpp107 static constexpr const char *samplingRates = "samplingRates"; member
426 std::string samplingRates = getXmlAttribute(cur, Attributes::samplingRates); in deserialize() local
436 samplingRatesFromString(samplingRates, mSamplingRatesSeparator.c_str())); in deserialize()
/frameworks/av/media/libmediahelper/
DTypeConverter.cpp73 const std::string &samplingRates, const char *del) in samplingRatesFromString() argument
76 collectionFromString<SampleRateTraits>(samplingRates, samplingRateCollection, del); in samplingRatesFromString()
/frameworks/av/media/libaudioclient/aidl/android/media/
DAudioProfile.aidl31 int[] samplingRates;
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DPolicyAudioPort.h130 void pickSamplingRate(uint32_t &rate, const SampleRateSet &samplingRates) const;
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java1006 if (!intArrayContains(audioSink.samplingRates(), sinkSamplingRate) in updateAudioConfigLocked()
1007 && audioSink.samplingRates().length > 0) { in updateAudioConfigLocked()
1008 sinkSamplingRate = audioSink.samplingRates()[0]; in updateAudioConfigLocked()
1027 if (intArrayContains(mAudioSource.samplingRates(), sinkConfig.samplingRate())) { in updateAudioConfigLocked()
1029 } else if (mAudioSource.samplingRates().length > 0) { in updateAudioConfigLocked()
1031 sourceSamplingRate = mAudioSource.samplingRates()[0]; in updateAudioConfigLocked()
/frameworks/av/media/libaudiofoundation/
DAudioProfile.cpp170 parcelable.samplingRates = VALUE_OR_RETURN( in toParcelable()
199 convertContainer<SampleRateSet>(parcelable.samplingRates, in fromParcelable()
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp1906 if (aidl.samplingRates.size() > std::size(legacy.sample_rates)) { in aidl2legacy_AudioProfile_audio_profile()
1910 convertRange(aidl.samplingRates.begin(), aidl.samplingRates.end(), legacy.sample_rates, in aidl2legacy_AudioProfile_audio_profile()
1912 legacy.num_sample_rates = aidl.samplingRates.size(); in aidl2legacy_AudioProfile_audio_profile()
1937 std::back_inserter(aidl.samplingRates), in legacy2aidl_audio_profile_AudioProfile()
/frameworks/av/media/libmediahelper/include/media/
DTypeConverter.h459 const std::string &samplingRates, const char *del = AudioParameter::valueListSeparator);
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp6861 SampleRateSet samplingRates; in updateAudioProfiles() local
6874 samplingRates = samplingRatesFromString(reply.string()); in updateAudioProfiles()
6893 profiles, new AudioProfile(format, channelMasks, samplingRates)); in updateAudioProfiles()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt27445 Landroid/media/AudioPort;->samplingRates()[I