Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DEnumDevicesTest.java136 int[] sampleRates = deviceInfo.getSampleRates(); in test_devicesInfoFields() local
137 assertNotNull(sampleRates); in test_devicesInfoFields()
DDecoderTest.java273 int[] sampleRates = { 8000 }; in testDecodeG711ChannelsAndRates() local
278 verifyChannelsAndRates(mimetypes, sampleRates, channelMasks); in testDecodeG711ChannelsAndRates()
284 int[] sampleRates = { 8000, 12000, 16000, 24000, 48000 }; in testDecodeOpusChannelsAndRates() local
289 verifyChannelsAndRates(mimetypes, sampleRates, channelMasks); in testDecodeOpusChannelsAndRates()
292 private void verifyChannelsAndRates(String[] mimetypes, int[] sampleRates, in verifyChannelsAndRates() argument
300 for (int sampleRate : sampleRates) { in verifyChannelsAndRates()
322 for (int sampleRate : sampleRates) { in verifyChannelsAndRates()
DMediaCodecTest.java2048 final int[] sampleRates = acaps.getSupportedSampleRates(); in testPCMEncoding() local
2055 if (sampleRates != null) { in testPCMEncoding()
2057 sampleRate, sampleRates[0]); in testPCMEncoding()
DAudioManagerTest.java1850 HashSet<Integer> sampleRates = IntStream.of(device.getSampleRates()).boxed() in testGetDevices() local
1875 assertEquals(sampleRates, sampleRatesFromProfile); in testGetDevices()
DAudioTrackTest.java2276 int[] sampleRates = {TEST_SR, TEST_FINAL_SR}; in testVariableRatePlayback() local
2282 int sampleRate = sampleRates[i]; in testVariableRatePlayback()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DProAudioActivity.java117 int[] sampleRates = mHDMIDeviceInfo.getSampleRates(); in isHDMIValid() local
118 for (int rate : sampleRates) { in isHDMIValid()