Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DAudioFormatTest.java49 TEST_SR, copiedFormat.getSampleRate()); in testBuilderForCopy()
72 0, copiedFormat.getSampleRate()); in testPartialFormatBuilderForCopyEncoding()
90 TEST_SR, copiedFormat.getSampleRate()); in testPartialFormatBuilderForCopyRate()
116 0, copiedFormat.getSampleRate()); in testPartialFormatBuilderForCopyChanMask()
138 0, copiedFormat.getSampleRate()); in testPartialFormatBuilderForCopyChanIdxMask()
DAudioRecordingConfigurationTest.java245 && (config.getClientFormat().getSampleRate() == format.getSampleRate()) in verifyAudioConfig()
251 && (config.getFormat().getSampleRate() > 0) in verifyAudioConfig()
DAudioTrackLatencyTest.java290 log(TEST_NAME, "Track sample rate = " + track.getSampleRate() + " Hz"); in createCustomAudioTrack()
309 assertTrue(TEST_NAME + " actual SR", track.getSampleRate() > 0); in checkOutputLowLatency()
314 int numBuffers = numSeconds * track.getSampleRate() / TEST_FRAMES_PER_BUFFER; in checkOutputLowLatency()
337 long timeDelta = framesPending * NANOS_PER_SECOND / track.getSampleRate(); in checkOutputLowLatency()
DAudioRecordTest.java128 assertEquals(mHz, mAudioRecord.getSampleRate()); in testAudioRecordProperties()
144 int markerInFrames = mAudioRecord.getSampleRate() / 2; in testAudioRecordOP()
148 int periodInFrames = mAudioRecord.getSampleRate(); in testAudioRecordOP()
379 final int observedRate = rec.getSampleRate(); in testAudioRecordBuilderPartialFormat()
416 final int observedRate = rec.getSampleRate(); in testAudioRecordBuilderParams()
731 assertEquals(sampleRateInHz, format.getSampleRate()); in createAudioRecord()
DAudioHelper.java93 return ms * format.getSampleRate() / 1000; in frameCountFromMsec()
399 + remainingFrames * 1000 / mTrack.getSampleRate(); in stop()
DAudioTrackTest.java290 final int observedRate = track.getSampleRate(); in testBuilderDefault()
320 final int observedRate = track.getSampleRate(); in testBuilderFormat()
1366 assertEquals(TEST_NAME, TEST_SR, track.getSampleRate()); in testAudioTrackProperties()
1587 assertEquals(TEST_NAME, TEST_SR, format.getSampleRate()); in testPlayStreamData()
1702 TEST_SR, track.getSampleRate()); in testPlayStreamByteBuffer()
/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.java120 final int recordRate = audioRecorder.getSampleRate(); in onCreate()
DHifiUltrasoundSpeakerTestActivity.java138 final int recordRate = audioRecorder.getSampleRate(); in onCreate()
/cts/tools/dex-tools/dex/
Dclasses.out.dex71499 public abstract int getSampleRate()
71517 public int getSampleRate()
71533 public int getSampleRate()
71549 public int getSampleRate()
71565 public int getSampleRate()