Home
last modified time | relevance | path

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

/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecInstancesTest.java77 MediaCodecInfo.AudioCapabilities acaps = caps.getAudioCapabilities(); in createMinFormat() local
78 int minSampleRate = acaps.getSupportedSampleRateRanges()[0].getLower(); in createMinFormat()
80 int minBitrate = acaps.getBitrateRange().getLower(); in createMinFormat()
DMediaCodecTest.java2080 final MediaCodecInfo.AudioCapabilities acaps = in testPCMEncoding() local
2082 if (acaps == null) { in testPCMEncoding()
2087 final int channelCount = Math.min(acaps.getMaxInputChannelCount(), 2); in testPCMEncoding()
2090 final int[] sampleRates = acaps.getSupportedSampleRates(); in testPCMEncoding()
2091 final Range<Integer>[] sampleRateRanges = acaps.getSupportedSampleRateRanges(); in testPCMEncoding()
2113 final int bitRate = acaps.getBitrateRange().getLower(); in testPCMEncoding()
2380 AudioCapabilities acaps = caps.getAudioCapabilities(); in testPrependHeadersToSyncFrames() local
2381 int minSampleRate = acaps.getSupportedSampleRateRanges()[0].getLower(); in testPrependHeadersToSyncFrames()
2384 minChannelCount = acaps.getMinInputChannelCount(); in testPrependHeadersToSyncFrames()
2386 int minBitrate = acaps.getBitrateRange().getLower(); in testPrependHeadersToSyncFrames()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaCodecListTest.java514 AudioCapabilities acaps = caps.getAudioCapabilities(); in testInputChannelLimits() local
515 boolean isAudio = (acaps != null); in testInputChannelLimits()
521 int countMin = acaps.getMinInputChannelCount(); in testInputChannelLimits()
522 int countMax = acaps.getMaxInputChannelCount(); in testInputChannelLimits()
523 Range<Integer>[] countRanges = acaps.getInputChannelCountRanges(); in testInputChannelLimits()