Home
last modified time | relevance | path

Searched refs:samplingRates (Results 1 – 14 of 14) 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()
DAudioDevicePort.java70 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioDevicePort() argument
76 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
DAudioProfile.java81 public AudioProfile(int format, @NonNull int[] samplingRates, @NonNull int[] channelMasks, in AudioProfile() argument
84 mSamplingRates = samplingRates; in AudioProfile()
DAudioDeviceInfo.java472 return mPort.samplingRates(); in getSampleRates()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DPolicyAudioPort.cpp74 const SampleRateSet &samplingRates) const in pickSamplingRate()
82 for (const auto rate : samplingRates) { in pickSamplingRate()
100 for (const auto rate : samplingRates) { in pickSamplingRate()
DSerializer.cpp108 static constexpr const char *samplingRates = "samplingRates"; member
427 std::string samplingRates = getXmlAttribute(cur, Attributes::samplingRates); in deserialize() local
437 samplingRatesFromString(samplingRates, mSamplingRatesSeparator.c_str())); in deserialize()
/frameworks/av/media/libmediahelper/
DTypeConverter.cpp77 const std::string &samplingRates, const char *del) in samplingRatesFromString() argument
80 collectionFromString<SampleRateTraits>(samplingRates, samplingRateCollection, del); in samplingRatesFromString()
/frameworks/av/media/libaudiofoundation/
DAudioContainers.cpp151 const SampleRateSet& samplingRates, in populateAudioProfile() argument
161 for (auto it = samplingRates.begin(); in populateAudioProfile()
162 it != samplingRates.end() && profile->num_sample_rates < AUDIO_PORT_MAX_SAMPLING_RATES; in populateAudioProfile()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DPolicyAudioPort.h106 void pickSamplingRate(uint32_t &rate, const SampleRateSet &samplingRates) const;
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java1170 if (!intArrayContains(audioSink.samplingRates(), sinkSamplingRate) in updateAudioConfigLocked()
1171 && audioSink.samplingRates().length > 0) { in updateAudioConfigLocked()
1172 sinkSamplingRate = audioSink.samplingRates()[0]; in updateAudioConfigLocked()
1191 if (intArrayContains(mAudioSource.samplingRates(), sinkConfig.samplingRate())) { in updateAudioConfigLocked()
1193 } else if (mAudioSource.samplingRates().length > 0) { in updateAudioConfigLocked()
1195 sourceSamplingRate = mAudioSource.samplingRates()[0]; in updateAudioConfigLocked()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystem.java714 ArrayList<Integer> samplingRates = in getSecondByteOfSAD() local
726 if (samplingRates.contains(supportedSampleRate)) { in getSecondByteOfSAD()
727 int index = samplingRates.indexOf(supportedSampleRate); in getSecondByteOfSAD()
/frameworks/av/media/libmediahelper/include/media/
DTypeConverter.h459 const std::string &samplingRates, const char *del = AudioParameter::valueListSeparator);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt24567 Landroid/media/AudioPort;->samplingRates()[I