Home
last modified time | relevance | path

Searched refs:freq (Results 1 – 14 of 14) 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()
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()
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()
DAudioFrequencyMicActivity.java636 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
637 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
643 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector()
664 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
665 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
671 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector()
673 if (bandSpecs[currentBand].isInBounds(freq, value)) { in computeResultsForVector()
DAudioFrequencyVoiceRecognitionActivity.java508 double freq = (double) SAMPLING_RATE * i / (double) BLOCK_SIZE_SAMPLES; in processSpectrum() local
509 if (freq > bandsSpecs[currentBand].mFreqStop) { in processSpectrum()
515 if (freq >= bandsSpecs[currentBand].mFreqStart) { in processSpectrum()
538 double freq = (double) SAMPLING_RATE * i / (double) BLOCK_SIZE_SAMPLES; in processSpectrum()
539 if (freq > bandsSpecs[currentBand].mFreqStop) { in processSpectrum()
545 if (freq >= bandsSpecs[currentBand].mFreqStart) { in processSpectrum()
547 if (bandsSpecs[currentBand].isInBounds(freq, value)) { in processSpectrum()
DAudioFrequencyUnprocessedActivity.java491 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in processSpectrum() local
492 if (freq > bandsSpecs[currentBand].mFreqStop) { in processSpectrum()
498 if (freq >= bandsSpecs[currentBand].mFreqStart) { in processSpectrum()
523 double freq = (double) mSamplingRate * i / (double) mBlockSizeSamples; in processSpectrum() local
524 if (freq > bandsSpecs[currentBand].mFreqStop) { in processSpectrum()
530 if (freq >= bandsSpecs[currentBand].mFreqStart) { in processSpectrum()
532 if (bandsSpecs[currentBand].isInBounds(freq, value)) { in processSpectrum()
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/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DP2pClientConfigFixedFrequencyTestCase.java29 public P2pClientConfigFixedFrequencyTestCase(Context context, int freq) { in P2pClientConfigFixedFrequencyTestCase() argument
30 super(context, freq); in P2pClientConfigFixedFrequencyTestCase()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DWaveTableFloatFiller.java56 public void setFreq(float freq) { in setFreq() argument
57 mFreq = freq; in setFreq()
/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.java116 int freq = mEqualizer.getCenterFreq(band); in test1_1BandFrequency() local
118 (freqRange[0] <= freq) && (freqRange[1] >= freq)); in test1_1BandFrequency()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2471/
Dpoc.c85 struct iw_freq freq; /* frequency or channel : member