/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioMetadataTest.java | 142 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/ |
D | AudioPlaybackLoad.java | 71 final int sampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in createAudioTrack()
|
D | CodecInitializationLatencyTest.java | 418 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/ |
D | SoundPlayerObject.java | 371 MediaFormat.KEY_SAMPLE_RATE, 48000); in setSoundWithResId() 582 log("sample rate = " + format.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in printAudioFormat()
|
D | AudioLoopbackLatencyActivity.java | 286 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/ |
D | EncoderTest.java | 189 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/ |
D | CodecDecoderMultiAccessUnitTestBase.java | 249 int sampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in configureKeysForLargeAudioFrameMode()
|
D | CodecDecoderBlockModelMultiAccessUnitTestBase.java | 252 int sampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in configureKeysForLargeAudioBlockModelFrameMode()
|
D | EncoderConfigParams.java | 219 mFormat.setInteger(MediaFormat.KEY_SAMPLE_RATE, mSampleRate); in getFormat()
|
D | CodecTestBase.java | 1427 && (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/ |
D | DecoderTestAacFormat.java | 277 outputFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in decodeUpdateFormat()
|
D | DecoderTestAacDrc.java | 698 audioParams.setSamplingRate(oformat.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in decodeToMemory()
|
D | DecodeOnlyTest.java | 698 int sampleRate = audioFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE); in createAudioTrack()
|
/cts/tests/tests/mediaparser/src/android/media/mediaparser/cts/ |
D | MockMediaParserOutputConsumer.java | 222 MediaFormat.KEY_SAMPLE_RATE, /* defaultValue= */ Format.NO_VALUE); in toExoPlayerFormat()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorTest.java | 274 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);
|
D | MuxerTest.java | 1337 mediaFormat.setInteger(MediaFormat.KEY_SAMPLE_RATE, 16000); in testEmptyAudioTrack() 1339 mediaFormat.setInteger(MediaFormat.KEY_SAMPLE_RATE, 8000); in testEmptyAudioTrack()
|
D | CodecDecoderValidationTest.java | 838 mOutFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE, -1)); in testDecodeAndValidate()
|
D | EncoderProfileLevelTest.java | 560 trackFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in checkIfTrackFormatIsOk()
|
D | CodecUnitTest.java | 116 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()
|
D | MuxerUnitTest.java | 248 format.setInteger(MediaFormat.KEY_SAMPLE_RATE, -1); in testIfCorruptMediaFormatIsRejected()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaCodecTunneledPlayer.java | 150 " Sample rate:" + getMediaFormatInteger(format, MediaFormat.KEY_SAMPLE_RATE) + in prepareAudio()
|
D | MediaCodecClearKeyPlayer.java | 225 " Sample rate:" + getMediaFormatInteger(format, MediaFormat.KEY_SAMPLE_RATE) + in prepareAudio()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | MediaSyncTest.java | 706 int sampleRateInHz = mediaFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE); in getAudioTrack()
|
D | MediaFormatTest.java | 611 assertEquals(48000, format.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in testMediaFormatConstructors()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | ExtractDecodeEditEncodeMuxTest.java | 589 trackFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in extractDecodeEditEncodeMux()
|