Home
last modified time | relevance | path

Searched refs:currentBand (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencySpeakerActivity.java420 int currentBand = 0; in computeResultsForVector() local
423 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
424 currentBand++; in computeResultsForVector()
425 if (currentBand >= mBands) in computeResultsForVector()
429 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector()
430 results.mAverageEnergyPerBand[currentBand] += results.mValuesLog[i]; in computeResultsForVector()
431 results.mPointsPerBand[currentBand]++; in computeResultsForVector()
448 currentBand = 0; in computeResultsForVector()
451 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
452 currentBand++; in computeResultsForVector()
[all …]
DAudioFrequencyLineActivity.java389 int currentBand = 0; in computeResultsForVector() local
392 if (freq > bandSpecsArray[currentBand].mFreqStop) { in computeResultsForVector()
393 currentBand++; in computeResultsForVector()
394 if (currentBand >= mBands) in computeResultsForVector()
398 if (freq >= bandSpecsArray[currentBand].mFreqStart) { in computeResultsForVector()
399 results.mAverageEnergyPerBand[currentBand] += results.mValuesLog[i]; in computeResultsForVector()
400 results.mPointsPerBand[currentBand]++; in computeResultsForVector()
417 currentBand = 0; in computeResultsForVector()
420 if (freq > bandSpecsArray[currentBand].mFreqStop) { in computeResultsForVector()
421 currentBand++; in computeResultsForVector()
[all …]
DAudioFrequencyMicActivity.java610 int currentBand = 0; in computeResultsForVector() local
613 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
614 currentBand++; in computeResultsForVector()
615 if (currentBand >= mBands) in computeResultsForVector()
619 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector()
620 results.mAverageEnergyPerBand[currentBand] += results.mValuesLog[i]; in computeResultsForVector()
621 results.mPointsPerBand[currentBand]++; in computeResultsForVector()
638 currentBand = 0; in computeResultsForVector()
641 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
642 currentBand++; in computeResultsForVector()
[all …]
DAudioFrequencyVoiceRecognitionActivity.java501 int currentBand = 0; in processSpectrum() local
504 if (freq > bandsSpecs[currentBand].mFreqStop) { in processSpectrum()
505 currentBand++; in processSpectrum()
506 if (currentBand >= bandCount) in processSpectrum()
510 if (freq >= bandsSpecs[currentBand].mFreqStart) { in processSpectrum()
511 results.mAverageEnergyPerBand[currentBand] += results.mValuesLog[i]; in processSpectrum()
512 results.mPointsPerBand[currentBand]++; in processSpectrum()
531 currentBand = 0; in processSpectrum()
534 if (freq > bandsSpecs[currentBand].mFreqStop) { in processSpectrum()
535 currentBand++; in processSpectrum()
[all …]
DAudioFrequencyUnprocessedActivity.java478 int currentBand = 0; in processSpectrum() local
481 if (freq > bandsSpecs[currentBand].mFreqStop) { in processSpectrum()
482 currentBand++; in processSpectrum()
483 if (currentBand >= bandCount) in processSpectrum()
487 if (freq >= bandsSpecs[currentBand].mFreqStart) { in processSpectrum()
488 results.mAverageEnergyPerBand[currentBand] += results.mValuesLog[i]; in processSpectrum()
489 results.mPointsPerBand[currentBand]++; in processSpectrum()
510 currentBand = 0; in processSpectrum()
513 if (freq > bandsSpecs[currentBand].mFreqStop) { in processSpectrum()
514 currentBand++; in processSpectrum()
[all …]