Home
last modified time | relevance | path

Searched refs:freq (Results 1 – 12 of 12) sorted by relevance

/cts/suite/audio_quality/test_description/processing/
Dplayback_sample.py48 freq = calc_freq(hostRecording, samplingRate)
49 print "Expected Freq ", signalFrequency, "Actual Freq ", freq, "Threshold % ", threshold
50 diff = abs(freq - signalFrequency)
55 outputData.append(freq)
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioBandSpecs.java57 public boolean isInBounds(double freq, double value) { in isInBounds() argument
58 if (freq < mFreqStart || freq > mFreqStop) { in isInBounds()
67 double e = freq - mFreqStart; in isInBounds()
DAudioFrequencyLineActivity.java410 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
411 if (freq > bandSpecsArray[currentBand].mFreqStop) { in computeResultsForVector()
417 if (freq >= bandSpecsArray[currentBand].mFreqStart) { in computeResultsForVector()
438 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
439 if (freq > bandSpecsArray[currentBand].mFreqStop) { in computeResultsForVector()
445 if (freq >= bandSpecsArray[currentBand].mFreqStart) { in computeResultsForVector()
447 if (bandSpecsArray[currentBand].isInBounds(freq, value)) { in computeResultsForVector()
DAudioFrequencySpeakerActivity.java436 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
437 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
443 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector()
464 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
465 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
471 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector()
473 if (bandSpecs[currentBand].isInBounds(freq, value)) { in computeResultsForVector()
DAudioFrequencyUnprocessedActivity.java423 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
424 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
430 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector()
451 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
452 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
458 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector()
460 if (bandSpecs[currentBand].isInBounds(freq, value)) { in computeResultsForVector()
DAudioFrequencyMicActivity.java572 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
573 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
579 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector()
600 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
601 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
607 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector()
609 if (bandSpecs[currentBand].isInBounds(freq, value)) { in computeResultsForVector()
DWavAnalyzer.java158 double freq = Common.FREQUENCIES_ORIGINAL[i]; in measurePipStrength() local
161 -2.0 * Math.PI * freq / sampleRate).exp(); in measurePipStrength()
/cts/tests/tests/media/libndkaudio/
DPeriodicAudioSource.h28 void setAudioFrequency(float freq) { in setAudioFrequency() argument
29 targetFreq_ = freq; in setAudioFrequency()
/cts/tests/tests/location/src/android/location/cts/
DTestMeasurementUtil.java326 int freq = (svid >> 8); in verifySvid() local
333 (freq == -127) || (freq >= -7 && freq <= 6) || (freq >= 93 && freq <= 106)); in verifySvid()
348 (slot != -127) || (freq != -127)); in verifySvid()
/cts/suite/audio_quality/lib/src/task/
DTaskSound.cpp80 int freq = atoi(tokens->at(2).string()); in run() local
84 AudioHardware::ESampleRate_44100, freq, samples, true); in run()
/cts/tests/tests/media/src/android/media/cts/
DEqualizerTest.java115 int freq = mEqualizer.getCenterFreq(band); in test1_1BandFrequency() local
117 (freqRange[0] <= freq) && (freqRange[1] >= freq)); in test1_1BandFrequency()
/cts/tools/dex-tools/dex/
Dclasses.out.dex59464 public int freq