/cts/apps/CtsVerifier/jni/audioquality/ |
OverflowCheck.cpp | 47 // This is the RMS value that is expected to be exceded by a sinusoid 61 float rms = sqrt(sum / size); local 63 if (rms >= SIGNAL_ON_RMS) { 68 if (rms < SIGNAL_ON_RMS) {
|
CompareSpectra.cpp | 26 /* Find the endpoints of the signal stored in data such that the rms of 28 RMS calculations used to find the endpoints use a window of length 42 float rms = sqrt(sum / size); local 44 if (rms >= signalOnRms) { 49 if (rms < signalOnRms) { 75 rms over all frequencies between lowestBin and highestBin is 76 returned as a scalar in rms. */ 78 int lowestBin, int highestBin, float* rms) { 109 *rms = sqrt(averageEnergy / (highestBin - lowestBin + 1)); 119 maxDeviation, and the rms of all dB variations is returned i [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/experiments/ |
BiasExperiment.java | 47 float rms = results[Native.MEASURE_RMS_RMS]; local 56 mean, TOLERANCE, rms, duration)); local
|
SoundLevelExperiment.java | 64 float rms = results[Native.MEASURE_RMS_RMS]; local 67 if (rms * TOLERANCE < CalibrateVolumeActivity.TARGET_RMS) { 70 } else if (rms > CalibrateVolumeActivity.TARGET_RMS * TOLERANCE) { 78 rms, CalibrateVolumeActivity.TARGET_RMS,
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/ |
CalibrateVolumeActivity.java | 104 float rms = results[Native.MEASURE_RMS_RMS]; local 105 Log.i(TAG, "Stimulus amplitude " + OUTPUT_AMPL + ", RMS " + rms); 123 int rms = msg.arg1; local 125 int progress = (max / 2 * rms) / Math.round(TARGET_RMS); 130 if (rms * TOLERANCE < TARGET_RMS) state = Status.LOW; 131 else if (rms > TARGET_RMS * TOLERANCE) state = Status.HIGH; 210 float rms = results[Native.MEASURE_RMS_RMS]; local 214 // Confirm the RMS calculation 220 Log.i(TAG, "RMS: " + rms + ", bytes: " + byte [all...] |