Home
last modified time | relevance | path

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

/cts/tests/tests/virtualdevice/audio/src/android/virtualdevice/cts/audio/
DSignalObserver.java255 double rms = 0; in goertzel() local
262 rms += x * x; in goertzel()
264 rms = Math.sqrt(rms / n); in goertzel()
266 return Math.sqrt(magnitude) / n / rms; in goertzel()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioAEC.java155 float rms = count > 0 ? (float)Math.sqrt(rmsTempSum / count) : 0f; in updateRms() local
156 if (rms < MIN_RMS_VAL) { in updateRms()
157 rms = MIN_RMS_VAL; in updateRms()
161 double total_rms = rms * alpha + mRmsCurrent * (1.0f - alpha); in updateRms()
DAudioFrequencyVoiceRecognitionActivity.java176 double rms = Math.sqrt(rmsTempSum / samplesNeeded); in onCreate()
178 double total_rms = rms * RMS_SMOOTHING_PARAM + mRMS * (1 - RMS_SMOOTHING_PARAM); in onCreate()
DAudioFrequencyUnprocessedActivity.java1105 double rms = Math.sqrt(rmsTempSum / samplesNeeded); in onPeriodicNotification() local
1108 double total_rms = rms * alpha + mRMS *(1-alpha); in onPeriodicNotification()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java242 double rms; in processDataSet() local
244 rms = Math.sqrt(calcSqrErr(vrecs, srecs2, 0)+ calcSqrErr(vrecs, srecs2, 1)); in processDataSet()
245 if (rms < min_rms) { in processDataSet()
246 min_rms = rms; in processDataSet()