Home
last modified time | relevance | path

Searched refs:getSampleRate (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DAudioFormatTest.java51 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()
DAudioRecordingConfigurationTest.java309 && (config.getClientFormat().getSampleRate() == format.getSampleRate()) in verifyAudioConfig()
315 && (config.getFormat().getSampleRate() > 0) in verifyAudioConfig()
DAudioTrackLatencyTest.java299 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()
DAudioRecordTest.java161 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()
DAudioTrackOffloadTest.java107 assertEquals("Unexpected track sample rate", 44100, track.getSampleRate()); in testAudioTrackOffload()
DAudioHelper.java122 return ms * format.getSampleRate() / 1000; in frameCountFromMsec()
573 + remainingFrames * 1000 / mTrack.getSampleRate(); in stop()
DAudioTrackTest.java317 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()
DMediaRecorderTest.java1699 assertEquals(AUDIO_SAMPLE_RATE_HZ, format.getSampleRate()); in checkRecordingConfig()
/cts/tests/tests/media/libndkaudio/
DSystemParams.h26 static int getSampleRate() { in getSampleRate() function
DAudioPlayer.cpp106 sampleRate_ = SystemParams::getSampleRate(); in AudioPlayer()
144 sampleRate_ = SystemParams::getSampleRate(); in Open()
DWaveTableOscillator.cpp44 fN_ = SystemParams::getSampleRate() / (float) waveTableSize_; in setWaveTable()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioRecordHelper.java120 public int getSampleRate() { in getSampleRate() method in AudioRecordHelper
DCommon.java15 = AudioRecordHelper.getInstance().getSampleRate();
DHifiUltrasoundTestActivity.java124 final int recordRate = audioRecorder.getSampleRate(); in onCreate()
DHifiUltrasoundSpeakerTestActivity.java144 final int recordRate = audioRecorder.getSampleRate(); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DStreamPlayer.java55 public int getSampleRate() { return mSampleRate; } in getSampleRate() method in StreamPlayer
DStreamRecorder.java54 public int getSampleRate() { return mSampleRate; } in getSampleRate() method in StreamRecorder