/cts/suite/audio_quality/test_description/processing/ |
D | playback_sample.py | 48 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/ |
D | AudioBandSpecs.java | 57 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()
|
D | AudioFrequencySpeakerActivity.java | 436 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()
|
D | AudioFrequencyLineActivity.java | 410 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()
|
D | AudioFrequencyMicActivity.java | 636 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()
|
D | AudioFrequencyVoiceRecognitionActivity.java | 508 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()
|
D | AudioFrequencyUnprocessedActivity.java | 491 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()
|
D | WavAnalyzer.java | 158 double freq = Common.FREQUENCIES_ORIGINAL[i]; in measurePipStrength() local 161 -2.0 * Math.PI * freq / sampleRate).exp(); in measurePipStrength()
|
/cts/tests/tests/media/libndkaudio/ |
D | PeriodicAudioSource.h | 28 void setAudioFrequency(float freq) { in setAudioFrequency() argument 29 targetFreq_ = freq; in setAudioFrequency()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | P2pClientConfigFixedFrequencyTestCase.java | 29 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/ |
D | WaveTableFloatFiller.java | 56 public void setFreq(float freq) { in setFreq() argument 57 mFreq = freq; in setFreq()
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskSound.cpp | 80 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/ |
D | EqualizerTest.java | 116 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/ |
D | poc.c | 85 struct iw_freq freq; /* frequency or channel : member
|