Home
last modified time | relevance | path

Searched refs:mSampleRates (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsb10ASFormatI.java32 private int[] mSampleRates; // if mSamFreqType == 0, there will be 2 values: the field in Usb10ASFormatI
58 return mSampleRates; in getSampleRates()
80 mSampleRates = new int[2]; in parseRawDescriptors()
81 mSampleRates[0] = stream.unpackUsbTriple(); in parseRawDescriptors()
82 mSampleRates[1] = stream.unpackUsbTriple(); in parseRawDescriptors()
84 mSampleRates = new int[mSampleFreqType]; in parseRawDescriptors()
86 mSampleRates[index] = stream.unpackUsbTriple(); in parseRawDescriptors()
DUsb10ASFormatII.java37 private int[] mSampleRates; // if mSamFreqType == 0, there will be 2 values: field in Usb10ASFormatII
58 return mSampleRates; in getSampleRates()
67 mSampleRates = new int[numFreqs]; in parseRawDescriptors()
69 mSampleRates[index] = stream.unpackUsbTriple(); in parseRawDescriptors()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java943 private int[] mSampleRates; field in MediaCodecInfo.AudioCapabilities
962 return Arrays.copyOf(mSampleRates, mSampleRates.length); in getSupportedSampleRates()
1006 mSampleRates = null; in initWithPlatformLimits()
1046 mSampleRates = new int[mSampleRateRanges.length]; in createDiscreteSampleRates()
1048 mSampleRates[i] = mSampleRateRanges[i].getLower(); in createDiscreteSampleRates()
1060 mSampleRates = null; in limitSampleRates()
1183 if (mSampleRates != null && mSampleRates.length == 1) { in setDefaultFormat()
1184 format.setInteger(MediaFormat.KEY_SAMPLE_RATE, mSampleRates[0]); in setDefaultFormat()