Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DAudioFormatTest.java48 TEST_SR, copiedFormat.getSampleRate()); in testBuilderForCopy()
71 0, copiedFormat.getSampleRate()); in testPartialFormatBuilderForCopyEncoding()
89 TEST_SR, copiedFormat.getSampleRate()); in testPartialFormatBuilderForCopyRate()
115 0, copiedFormat.getSampleRate()); in testPartialFormatBuilderForCopyChanMask()
137 0, copiedFormat.getSampleRate()); in testPartialFormatBuilderForCopyChanIdxMask()
DAudioRecordTest.java123 assertEquals(mHz, mAudioRecord.getSampleRate()); in testAudioRecordProperties()
139 int markerInFrames = mAudioRecord.getSampleRate() / 2; in testAudioRecordOP()
143 int periodInFrames = mAudioRecord.getSampleRate(); in testAudioRecordOP()
340 final int observedRate = rec.getSampleRate(); in testAudioRecordBuilderDefault()
373 final int observedRate = rec.getSampleRate(); in testAudioRecordBuilderPartialFormat()
410 final int observedRate = rec.getSampleRate(); in testAudioRecordBuilderParams()
630 assertEquals(sampleRateInHz, format.getSampleRate()); in createAudioRecord()
DAudioHelper.java76 return ms * format.getSampleRate() / 1000; in frameCountFromMsec()
382 + remainingFrames * 1000 / mTrack.getSampleRate(); in stop()
DAudioTrackTest.java288 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()
1582 assertEquals(TEST_NAME, TEST_SR, format.getSampleRate()); in testPlayStreamData()
1696 TEST_SR, track.getSampleRate()); in testPlayStreamByteBuffer()
/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()