Home
last modified time | relevance | path

Searched refs:sampleRates (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsb10ASFormatII.java83 int[] sampleRates = getSampleRates(); in report() local
87 canvas.writeListItem("min: " + sampleRates[0]); in report()
88 canvas.writeListItem("max: " + sampleRates[1]); in report()
91 canvas.writeListItem("" + sampleRates[index]); in report()
DUsb10ASFormatI.java102 int[] sampleRates = getSampleRates(); in report() local
106 canvas.writeListItem("min: " + sampleRates[0]); in report()
107 canvas.writeListItem("max: " + sampleRates[1]); in report()
110 canvas.writeListItem("" + sampleRates[index]); in report()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioProfile.h68 void setSampleRates(const SampleRateVector &sampleRates) in setSampleRates() argument
71 mSamplingRates = sampleRates; in setSampleRates()
299 void setSampleRatesFor(const SampleRateVector &sampleRates, audio_format_t format) in setSampleRatesFor() argument
307 sampleRates); in setSampleRatesFor()
311 profile->setSampleRates(sampleRates); in setSampleRatesFor()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DConfigParsingUtils.cpp158 SampleRateVector sampleRates; in loadHwModuleProfile() local
168 collectionFromString<SampleRateTraits>(node->value, sampleRates); in loadHwModuleProfile()
192 sp<AudioProfile> profileToAdd = new AudioProfile(gDynamicFormat, channels, sampleRates); in loadHwModuleProfile()
195 profileToAdd->setDynamicRate(sampleRates.isEmpty()); in loadHwModuleProfile()
201 sp<AudioProfile> profileToAdd = new AudioProfile(formats[i], channels, sampleRates); in loadHwModuleProfile()
204 profileToAdd->setDynamicRate(sampleRates.isEmpty()); in loadHwModuleProfile()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java1078 int[] sampleRates = null; in applyLevelLimits() local
1084 sampleRates = new int[] { in applyLevelLimits()
1091 sampleRates = new int[] { 8000 }; in applyLevelLimits()
1095 sampleRates = new int[] { 16000 }; in applyLevelLimits()
1099 sampleRates = new int[] { in applyLevelLimits()
1113 sampleRates = new int[] { 8000, 12000, 16000, 24000, 48000 }; in applyLevelLimits()
1125 sampleRates = new int[] { 8000 }; in applyLevelLimits()
1129 sampleRates = new int[] { 8000 }; in applyLevelLimits()
1142 if (sampleRates != null) { in applyLevelLimits()
1143 limitSampleRates(sampleRates); in applyLevelLimits()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp261 int* sampleRates = env->GetIntArrayElements(jSampleRate, NULL); in android_media_AudioTrack_setup() local
262 int sampleRateInHertz = sampleRates[0]; in android_media_AudioTrack_setup()
263 env->ReleaseIntArrayElements(jSampleRate, sampleRates, JNI_ABORT); in android_media_AudioTrack_setup()