Searched refs:getSampleRate (Results 1 – 14 of 14) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioFormatTest.java | 49 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()
|
D | AudioRecordingConfigurationTest.java | 245 && (config.getClientFormat().getSampleRate() == format.getSampleRate()) in verifyAudioConfig() 251 && (config.getFormat().getSampleRate() > 0) in verifyAudioConfig()
|
D | AudioTrackLatencyTest.java | 290 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()
|
D | AudioRecordTest.java | 128 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()
|
D | AudioHelper.java | 93 return ms * format.getSampleRate() / 1000; in frameCountFromMsec() 399 + remainingFrames * 1000 / mTrack.getSampleRate(); in stop()
|
D | AudioTrackTest.java | 290 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/ |
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 | 120 final int recordRate = audioRecorder.getSampleRate(); in onCreate()
|
D | HifiUltrasoundSpeakerTestActivity.java | 138 final int recordRate = audioRecorder.getSampleRate(); in onCreate()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 71499 public abstract int getSampleRate() 71517 public int getSampleRate() 71533 public int getSampleRate() 71549 public int getSampleRate() 71565 public int getSampleRate()
|