Home
last modified time | relevance | path

Searched refs:KEY_SAMPLE_RATE (Results 1 – 25 of 29) sorted by relevance

12

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioMetadataTest.java142 audioMetadata.set(AudioMetadata.Format.KEY_SAMPLE_RATE, 48000); in testFormatKeys()
148 assertEquals(48000, (int)audioMetadata.get(AudioMetadata.Format.KEY_SAMPLE_RATE)); in testFormatKeys()
/cts/tests/mediapc/src/android/mediapc/cts/
DAudioPlaybackLoad.java71 final int sampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in createAudioTrack()
DCodecInitializationLatencyTest.java418 format.setInteger(MediaFormat.KEY_SAMPLE_RATE, mSampleRate); in setUpFormat()
457 mSampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in calculateInitLatency()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundPlayerObject.java371 MediaFormat.KEY_SAMPLE_RATE, 48000); in setSoundWithResId()
582 log("sample rate = " + format.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in printAudioFormat()
DAudioLoopbackLatencyActivity.java286 private static final String KEY_SAMPLE_RATE = "sample_rate"; field in AudioLoopbackLatencyActivity.TestSpec
330 KEY_SAMPLE_RATE, in recordTestResults()
381 KEY_SAMPLE_RATE, in addToJson()
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/
DEncoderTest.java189 mFormat.setInteger(MediaFormat.KEY_SAMPLE_RATE, mSampleRate); in setUpFormat()
304 int sampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in testEncoder()
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecDecoderMultiAccessUnitTestBase.java249 int sampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in configureKeysForLargeAudioFrameMode()
DCodecDecoderBlockModelMultiAccessUnitTestBase.java252 int sampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in configureKeysForLargeAudioBlockModelFrameMode()
DEncoderConfigParams.java219 mFormat.setInteger(MediaFormat.KEY_SAMPLE_RATE, mSampleRate); in getFormat()
DCodecTestBase.java1427 && (inpFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE, -1) in isFormatSimilar()
1428 == outFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE, -2)) in isFormatSimilar()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderTestAacFormat.java277 outputFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in decodeUpdateFormat()
DDecoderTestAacDrc.java698 audioParams.setSamplingRate(oformat.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in decodeToMemory()
DDecodeOnlyTest.java698 int sampleRate = audioFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE); in createAudioTrack()
/cts/tests/tests/mediaparser/src/android/media/mediaparser/cts/
DMockMediaParserOutputConsumer.java222 MediaFormat.KEY_SAMPLE_RATE, /* defaultValue= */ Format.NO_VALUE); in toExoPlayerFormat()
/cts/tests/media/src/android/mediav2/cts/
DExtractorTest.java274 if (refFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE) != in isFormatSimilar()
275 testFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE)) return false; in isFormatSimilar()
440 buffer.putInt(format.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in readAllData()
1690 int sample_rate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE, -1);
DMuxerTest.java1337 mediaFormat.setInteger(MediaFormat.KEY_SAMPLE_RATE, 16000); in testEmptyAudioTrack()
1339 mediaFormat.setInteger(MediaFormat.KEY_SAMPLE_RATE, 8000); in testEmptyAudioTrack()
DCodecDecoderValidationTest.java838 mOutFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE, -1)); in testDecodeAndValidate()
DEncoderProfileLevelTest.java560 trackFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in checkIfTrackFormatIsOk()
DCodecUnitTest.java116 format.setInteger(MediaFormat.KEY_SAMPLE_RATE, 16000); in getSampleAudioFormat()
140 format.setInteger(MediaFormat.KEY_SAMPLE_RATE, 8000); in getMultipleAccessUnitsSampleAudioFormat()
475 MediaFormat.KEY_SAMPLE_RATE}; in testConfigureAudioDecodeForIncompleteFormat()
486 MediaFormat.KEY_SAMPLE_RATE, MediaFormat.KEY_BIT_RATE}; in testConfigureAudioEncodeForIncompleteFormat()
DMuxerUnitTest.java248 format.setInteger(MediaFormat.KEY_SAMPLE_RATE, -1); in testIfCorruptMediaFormatIsRejected()
/cts/tests/tests/media/common/src/android/media/cts/
DMediaCodecTunneledPlayer.java150 " Sample rate:" + getMediaFormatInteger(format, MediaFormat.KEY_SAMPLE_RATE) + in prepareAudio()
DMediaCodecClearKeyPlayer.java225 " Sample rate:" + getMediaFormatInteger(format, MediaFormat.KEY_SAMPLE_RATE) + in prepareAudio()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaSyncTest.java706 int sampleRateInHz = mediaFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE); in getAudioTrack()
DMediaFormatTest.java611 assertEquals(48000, format.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in testMediaFormatConstructors()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DExtractDecodeEditEncodeMuxTest.java589 trackFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in extractDecodeEditEncodeMux()

12