/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | NativeAnalyzerThread.java | 96 private native int getSampleRate(long audio_context); in getSampleRate() method in NativeAnalyzerThread 106 public int getSampleRate() { return mSampleRate; } in getSampleRate() method in NativeAnalyzerThread 182 mSampleRate = getSampleRate(audioContext);
|
D | AudioRecordHelper.java | 120 public int getSampleRate() { in getSampleRate() method in AudioRecordHelper
|
D | Common.java | 15 = AudioRecordHelper.getInstance().getSampleRate();
|
D | AudioTap2ToneActivity.java | 309 (int) (mDuplexAudioManager.getRecorder().getSampleRate() * ANALYSIS_TIME_DELAY); in trigger() 369 int sampleRate = mDuplexAudioManager.getRecorder().getSampleRate(); in analyzeCapturedAudio()
|
D | HifiUltrasoundTestActivity.java | 124 final int recordRate = audioRecorder.getSampleRate(); in onCreate()
|
D | HifiUltrasoundSpeakerTestActivity.java | 144 final int recordRate = audioRecorder.getSampleRate(); in onCreate()
|
D | AudioLoopbackLatencyActivity.java | 423 mNativeAnalyzerThread.getSampleRate(), in recordTestResults()
|
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/ |
D | LatencyAnalyzer.h | 157 int32_t getSampleRate() const { in getSampleRate() function 319 int32_t getSampleRate() const { in getSampleRate() function 374 int32_t maxLatencyFrames = getSampleRate() * kMaxLatencyMillis / kMillisPerSecond; in PulseLatencyAnalyzer() 375 int32_t numPulseBits = getSampleRate() * kPulseLengthMillis in PulseLatencyAnalyzer() 380 mAudioRecording.setSampleRate(getSampleRate()); in PulseLatencyAnalyzer() 403 mDownCounter = getSampleRate() / 2; in reset() 458 / getSampleRate(); in analyze()
|
D | GlitchAnalyzer.h | 159 mForceGlitchCounter = getSampleRate(); in processInputFrame() 368 mSinePeriod = getSampleRate() / kTargetGlitchFrequency; in prepareToTest()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioFormatTest.java | 53 TEST_SR, copiedFormat.getSampleRate()); in testBuilderForCopy() 80 0, copiedFormat.getSampleRate()); in testPartialFormatBuilderForCopyEncoding() 98 TEST_SR, copiedFormat.getSampleRate()); in testPartialFormatBuilderForCopyRate() 124 0, copiedFormat.getSampleRate()); in testPartialFormatBuilderForCopyChanMask() 146 0, copiedFormat.getSampleRate()); in testPartialFormatBuilderForCopyChanIdxMask()
|
D | AudioRecordingConfigurationTest.java | 310 && (config.getClientFormat().getSampleRate() == format.getSampleRate()) in verifyAudioConfig() 316 && (config.getFormat().getSampleRate() > 0) in verifyAudioConfig()
|
D | AudioTrackLatencyTest.java | 299 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()
|
D | AudioRecordTest.java | 168 assertEquals(SAMPLING_RATE_HZ, mAudioRecord.getSampleRate()); in testAudioRecordProperties() 185 int markerInFrames = mAudioRecord.getSampleRate() / 2; in testAudioRecordOP() 189 int periodInFrames = mAudioRecord.getSampleRate(); in testAudioRecordOP() 487 final int observedRate = rec.getSampleRate(); in testAudioRecordBuilderPartialFormat() 525 final int observedRate = rec.getSampleRate(); in testAudioRecordBuilderParams() 959 assertEquals(SAMPLING_RATE_HZ, format.getSampleRate()); in checkRecordingConfig() 998 assertEquals(sampleRateInHz, format.getSampleRate()); in createAudioRecord() 1722 short data[] = new short[audioRecord.getSampleRate() / 2]; in testSetLogSessionId()
|
D | AudioTrackOffloadTest.java | 136 track.getSampleRate()); in getOffloadAudioTrack()
|
D | AudioHelper.java | 196 return ms * format.getSampleRate() / 1000; in frameCountFromMsec() 658 + remainingFrames * 1000 / mTrack.getSampleRate(); in stop()
|
D | AudioTrackTest.java | 325 final int observedRate = track.getSampleRate(); in testBuilderDefault() 356 final int observedRate = track.getSampleRate(); in testBuilderFormat() 1489 assertEquals(TEST_NAME, TEST_SR, track.getSampleRate()); in testAudioTrackProperties() 1790 assertEquals(testName, testSr, format.getSampleRate()); in playOnceStreamData() 1903 testSampleRate, track.getSampleRate()); in playOnceStreamByteBuffer() 2702 new Integer(track.getSampleRate())); in testMediaMetrics() 2946 short data[] = new short[audioTrack.getSampleRate() / 2]; in testSetLogSessionId() 3048 Thread.sleep(frames * 1000L / track.getSampleRate()); // accommodate for #frames. in validateWriteStartsStream() 3083 Thread.sleep(frames * 1000L / track.getSampleRate()); // accommodate for #frames. in validateSetStartThresholdStartsStream()
|
D | CamcorderProfileTest.java | 193 assertEquals(profile.audioSampleRate, audioProfile.getSampleRate()); in checkAllProfiles()
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/common/ |
D | StreamBase.java | 49 public int getSampleRate() { return mSampleRate; } in getSampleRate() method in StreamBase
|
/cts/tests/tests/media/libndkaudio/ |
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/jni/audio_loopback/ |
D | NativeAudioAnalyzer.h | 85 int getSampleRate();
|
D | jni-bridge.cpp | 140 return analyzer->getSampleRate(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getSampleRate()
|
D | NativeAudioAnalyzer.cpp | 209 int NativeAudioAnalyzer::getSampleRate() { in getSampleRate() function in NativeAudioAnalyzer
|
/cts/tests/signature/api-check/ |
D | hiddenapi-filter.csv | 32 Landroid/bluetooth/BluetoothCodecConfig;->getSampleRate()I
|
/cts/hostsidetests/media/src/android/media/metrics/cts/ |
D | MediaMetricsAtomTests.java | 187 assertThat(result.getSampleRate()).isEqualTo(-1); in testTrackChangeEvent_default() 247 assertThat(result.getSampleRate()).isEqualTo(89); in testTrackChangeEvent_audio()
|