/cts/tests/tests/media/src/android/media/cts/ |
D | AudioFormatTest.java | 51 TEST_SR, copiedFormat.getSampleRate()); in testBuilderForCopy() 78 0, copiedFormat.getSampleRate()); in testPartialFormatBuilderForCopyEncoding() 96 TEST_SR, copiedFormat.getSampleRate()); in testPartialFormatBuilderForCopyRate() 122 0, copiedFormat.getSampleRate()); in testPartialFormatBuilderForCopyChanMask() 144 0, copiedFormat.getSampleRate()); in testPartialFormatBuilderForCopyChanIdxMask()
|
D | AudioRecordingConfigurationTest.java | 309 && (config.getClientFormat().getSampleRate() == format.getSampleRate()) in verifyAudioConfig() 315 && (config.getFormat().getSampleRate() > 0) in verifyAudioConfig()
|
D | AudioTrackLatencyTest.java | 299 log(TEST_NAME, "Track sample rate = " + track.getSampleRate() + " Hz"); in createCustomAudioTrack() 318 assertTrue(TEST_NAME + " actual SR", track.getSampleRate() > 0); in checkOutputLowLatency() 323 int numBuffers = numSeconds * track.getSampleRate() / TEST_FRAMES_PER_BUFFER; in checkOutputLowLatency() 346 long timeDelta = framesPending * NANOS_PER_SECOND / track.getSampleRate(); in checkOutputLowLatency()
|
D | AudioRecordTest.java | 161 assertEquals(SAMPLING_RATE_HZ, mAudioRecord.getSampleRate()); in testAudioRecordProperties() 178 int markerInFrames = mAudioRecord.getSampleRate() / 2; in testAudioRecordOP() 182 int periodInFrames = mAudioRecord.getSampleRate(); in testAudioRecordOP() 435 final int observedRate = rec.getSampleRate(); in testAudioRecordBuilderPartialFormat() 473 final int observedRate = rec.getSampleRate(); in testAudioRecordBuilderParams() 1012 assertEquals(SAMPLING_RATE_HZ, format.getSampleRate()); in checkRecordingConfig() 1051 assertEquals(sampleRateInHz, format.getSampleRate()); in createAudioRecord()
|
D | AudioTrackOffloadTest.java | 107 assertEquals("Unexpected track sample rate", 44100, track.getSampleRate()); in testAudioTrackOffload()
|
D | AudioHelper.java | 122 return ms * format.getSampleRate() / 1000; in frameCountFromMsec() 573 + remainingFrames * 1000 / mTrack.getSampleRate(); in stop()
|
D | AudioTrackTest.java | 317 final int observedRate = track.getSampleRate(); in testBuilderDefault() 348 final int observedRate = track.getSampleRate(); in testBuilderFormat() 1481 assertEquals(TEST_NAME, TEST_SR, track.getSampleRate()); in testAudioTrackProperties() 1773 assertEquals(testName, testSr, format.getSampleRate()); in playOnceStreamData() 1888 TEST_SR, track.getSampleRate()); in testPlayStreamByteBuffer() 2638 new Integer(track.getSampleRate())); in testMediaMetrics()
|
D | MediaRecorderTest.java | 1699 assertEquals(AUDIO_SAMPLE_RATE_HZ, format.getSampleRate()); in checkRecordingConfig()
|
/cts/tests/tests/media/libndkaudio/ |
D | SystemParams.h | 26 static int getSampleRate() { in getSampleRate() function
|
D | AudioPlayer.cpp | 106 sampleRate_ = SystemParams::getSampleRate(); in AudioPlayer() 144 sampleRate_ = SystemParams::getSampleRate(); in Open()
|
D | WaveTableOscillator.cpp | 44 fN_ = SystemParams::getSampleRate() / (float) waveTableSize_; in setWaveTable()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioRecordHelper.java | 120 public int getSampleRate() { in getSampleRate() method in AudioRecordHelper
|
D | Common.java | 15 = AudioRecordHelper.getInstance().getSampleRate();
|
D | HifiUltrasoundTestActivity.java | 124 final int recordRate = audioRecorder.getSampleRate(); in onCreate()
|
D | HifiUltrasoundSpeakerTestActivity.java | 144 final int recordRate = audioRecorder.getSampleRate(); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | StreamPlayer.java | 55 public int getSampleRate() { return mSampleRate; } in getSampleRate() method in StreamPlayer
|
D | StreamRecorder.java | 54 public int getSampleRate() { return mSampleRate; } in getSampleRate() method in StreamRecorder
|