Searched refs:getSampleRate (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioFormatTest.java | 48 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()
|
D | AudioRecordTest.java | 123 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()
|
D | AudioHelper.java | 76 return ms * format.getSampleRate() / 1000; in frameCountFromMsec() 382 + remainingFrames * 1000 / mTrack.getSampleRate(); in stop()
|
D | AudioTrackTest.java | 288 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/ |
D | AudioRecordHelper.java | 120 public int getSampleRate() { in getSampleRate() method in AudioRecordHelper
|
D | Common.java | 15 = AudioRecordHelper.getInstance().getSampleRate();
|
D | HifiUltrasoundTestActivity.java | 120 final int recordRate = audioRecorder.getSampleRate(); in onCreate()
|
D | HifiUltrasoundSpeakerTestActivity.java | 138 final int recordRate = audioRecorder.getSampleRate(); in onCreate()
|