Home
last modified time | relevance | path

Searched refs:freq (Results 1 – 13 of 13) 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.java386 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
387 if (freq > bandSpecsArray[currentBand].mFreqStop) { in computeResultsForVector()
393 if (freq >= bandSpecsArray[currentBand].mFreqStart) { in computeResultsForVector()
414 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
415 if (freq > bandSpecsArray[currentBand].mFreqStop) { in computeResultsForVector()
421 if (freq >= bandSpecsArray[currentBand].mFreqStart) { in computeResultsForVector()
423 if (bandSpecsArray[currentBand].isInBounds(freq, value)) { in computeResultsForVector()
DAudioFrequencySpeakerActivity.java422 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
423 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
429 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector()
450 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
451 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
457 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector()
459 if (bandSpecs[currentBand].isInBounds(freq, value)) { in computeResultsForVector()
DAudioFrequencyMicActivity.java619 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
620 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
626 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector()
647 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
648 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
654 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector()
656 if (bandSpecs[currentBand].isInBounds(freq, value)) { in computeResultsForVector()
DAudioFrequencyVoiceRecognitionActivity.java502 double freq = (double) SAMPLING_RATE * i / (double) BLOCK_SIZE_SAMPLES; in processSpectrum() local
503 if (freq > bandsSpecs[currentBand].mFreqStop) { in processSpectrum()
509 if (freq >= bandsSpecs[currentBand].mFreqStart) { in processSpectrum()
532 double freq = (double) SAMPLING_RATE * i / (double) BLOCK_SIZE_SAMPLES; in processSpectrum()
533 if (freq > bandsSpecs[currentBand].mFreqStop) { in processSpectrum()
539 if (freq >= bandsSpecs[currentBand].mFreqStart) { in processSpectrum()
541 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/jni/megaaudio/player/
DWaveTableSource.h61 void setFreq(float freq) { in setFreq() argument
62 mFreq = freq; in setFreq()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/
DWaveTableSource.java90 public void setFreq(float freq) { in setFreq() argument
91 mFreq = freq; in setFreq()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/
DTestGnssStatusCallback.java114 for (Float freq : mCarrierFrequencies) { in getCarrierFrequencies()
115 result[i++] = freq; in getCarrierFrequencies()
/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/hostsidetests/securitybulletin/securityPatch/CVE-2016-2471/
Dpoc.c85 struct iw_freq freq; /* frequency or channel : member