/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPort.cpp | 154 void AudioPort::pickSamplingRate(uint32_t &pickedRate,const SampleRateVector &samplingRates) const in pickSamplingRate() 162 for (size_t i = 0; i < samplingRates.size(); i ++) { in pickSamplingRate() 163 if ((samplingRates[i] < samplingRate) && (samplingRates[i] > 0)) { in pickSamplingRate() 164 samplingRate = samplingRates[i]; in pickSamplingRate() 180 for (size_t i = 0; i < samplingRates.size(); i ++) { in pickSamplingRate() 181 if ((samplingRates[i] > pickedRate) && (samplingRates[i] <= maxRate)) { in pickSamplingRate() 182 pickedRate = samplingRates[i]; in pickSamplingRate()
|
D | Serializer.cpp | 191 const char AudioProfileTraits::Attributes::samplingRates[] = "samplingRates"; member in android::AudioProfileTraits::Attributes 198 string samplingRates = getXmlAttribute(root, Attributes::samplingRates); in deserialize() local 204 samplingRatesFromString(samplingRates, ",")); in deserialize()
|
/frameworks/base/media/java/android/media/ |
D | AudioPort.java | 80 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioPort() argument 86 mSamplingRates = samplingRates; in AudioPort() 124 public int[] samplingRates() { in samplingRates() method in AudioPort
|
D | AudioMixPort.java | 34 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioMixPort() argument 36 super(handle, role, deviceName, samplingRates, channelMasks, channelIndexMasks, in AudioMixPort()
|
D | AudioDevicePort.java | 40 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioDevicePort() argument 45 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
|
D | AudioDeviceInfo.java | 173 return mPort.samplingRates(); in getSampleRates()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputHardwareManager.java | 955 if (!intArrayContains(audioSink.samplingRates(), sinkSamplingRate) in updateAudioConfigLocked() 956 && audioSink.samplingRates().length > 0) { in updateAudioConfigLocked() 957 sinkSamplingRate = audioSink.samplingRates()[0]; in updateAudioConfigLocked() 976 if (intArrayContains(mAudioSource.samplingRates(), sinkConfig.samplingRate())) { in updateAudioConfigLocked() 978 } else if (mAudioSource.samplingRates().length > 0) { in updateAudioConfigLocked() 980 sourceSamplingRate = mAudioSource.samplingRates()[0]; in updateAudioConfigLocked()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | Serializer.h | 71 static const char samplingRates[]; member
|
D | AudioPort.h | 147 void pickSamplingRate(uint32_t &rate,const SampleRateVector &samplingRates) const;
|
/frameworks/av/media/libmedia/ |
D | TypeConverter.cpp | 350 const std::string &samplingRates, const char *del) in samplingRatesFromString() argument 353 collectionFromString<SampleRateTraits>(samplingRates, samplingRateCollection, del); in samplingRatesFromString()
|
/frameworks/av/include/media/ |
D | TypeConverter.h | 236 const std::string &samplingRates, const char *del = AudioParameter::valueListSeparator);
|
/frameworks/av/media/libmedia/include/media/ |
D | TypeConverter.h | 236 const std::string &samplingRates, const char *del = AudioParameter::valueListSeparator);
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 5755 SampleRateVector samplingRates; in AudioPolicyManager() local 5768 samplingRates = samplingRatesFromString(reply.string()); in AudioPolicyManager() 5785 profiles.addProfileFromHal(new AudioProfile(format, channelMasks, samplingRates)); in AudioPolicyManager()
|