/frameworks/base/media/java/android/media/ |
D | AudioPort.java | 87 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioPort() argument 93 mSamplingRates = samplingRates; in AudioPort() 133 public int[] samplingRates() { in samplingRates() method in AudioPort
|
D | AudioMixPort.java | 37 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioMixPort() argument 39 super(handle, role, deviceName, samplingRates, channelMasks, channelIndexMasks, in AudioMixPort()
|
D | AudioDevicePort.java | 42 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioDevicePort() argument 47 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
|
D | AudioDeviceInfo.java | 256 return mPort.samplingRates(); in getSampleRates()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPort.cpp | 166 void AudioPort::pickSamplingRate(uint32_t &pickedRate,const SampleRateVector &samplingRates) const in pickSamplingRate() 174 for (size_t i = 0; i < samplingRates.size(); i ++) { in pickSamplingRate() 175 if ((samplingRates[i] < samplingRate) && (samplingRates[i] > 0)) { in pickSamplingRate() 176 samplingRate = samplingRates[i]; in pickSamplingRate() 192 for (size_t i = 0; i < samplingRates.size(); i ++) { in pickSamplingRate() 193 if ((samplingRates[i] > pickedRate) && (samplingRates[i] <= maxRate)) { in pickSamplingRate() 194 pickedRate = samplingRates[i]; in pickSamplingRate()
|
D | Serializer.cpp | 105 static constexpr const char *samplingRates = "samplingRates"; member 400 std::string samplingRates = getXmlAttribute(cur, Attributes::samplingRates); in deserialize() local 406 samplingRatesFromString(samplingRates, ",")); in deserialize()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputHardwareManager.java | 952 if (!intArrayContains(audioSink.samplingRates(), sinkSamplingRate) in updateAudioConfigLocked() 953 && audioSink.samplingRates().length > 0) { in updateAudioConfigLocked() 954 sinkSamplingRate = audioSink.samplingRates()[0]; in updateAudioConfigLocked() 973 if (intArrayContains(mAudioSource.samplingRates(), sinkConfig.samplingRate())) { in updateAudioConfigLocked() 975 } else if (mAudioSource.samplingRates().length > 0) { in updateAudioConfigLocked() 977 sourceSamplingRate = mAudioSource.samplingRates()[0]; in updateAudioConfigLocked()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPort.h | 147 void pickSamplingRate(uint32_t &rate,const SampleRateVector &samplingRates) const;
|
/frameworks/av/media/libmedia/ |
D | TypeConverter.cpp | 421 const std::string &samplingRates, const char *del) in samplingRatesFromString() argument 424 collectionFromString<SampleRateTraits>(samplingRates, samplingRateCollection, del); in samplingRatesFromString()
|
/frameworks/av/include/media/ |
D | TypeConverter.h | 237 const std::string &samplingRates, const char *del = AudioParameter::valueListSeparator);
|
/frameworks/av/media/libmedia/include/media/ |
D | TypeConverter.h | 237 const std::string &samplingRates, const char *del = AudioParameter::valueListSeparator);
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 6147 SampleRateVector samplingRates; in updateAudioProfiles() local 6160 samplingRates = samplingRatesFromString(reply.string()); in updateAudioProfiles() 6178 profiles.addProfileFromHal(new AudioProfile(format, channelMasks, samplingRates)); in updateAudioProfiles()
|