Home
last modified time | relevance | path

Searched refs:mMagnitude (Results 1 – 4 of 4) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/analyzers/
DBaseSineAnalyzer.java40 double mMagnitude = 0.0; field in BaseSineAnalyzer
145 mMagnitude = magnitude; in setMagnitude()
146 mScaledTolerance = mMagnitude * mTolerance; in setMagnitude()
158 return mMagnitude; in getMagnitude()
185 public double mMagnitude; field in BaseSineAnalyzer.MagnitudePhase
205 return magphase.mMagnitude = magnitude; in calculateMagnitudePhase()
257 setMagnitude((mMagnitude * (1.0 - coefficient)) + (magnitude * coefficient)); in transformSample()
276 if (mMagnitude >= MIN_REQUIRED_MAGNITUDE) { in processInputFrame()
281 mMaxMagnitude = Math.max(mMagnitude, mMaxMagnitude); in processInputFrame()
310 mMagnitude = 0.0; in reset()
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/
DGlitchAnalyzer.h51 mScaledTolerance = mMagnitude * mTolerance; in setTolerance()
55 mMagnitude = magnitude; in setMagnitude()
56 mScaledTolerance = mMagnitude * mTolerance; in setMagnitude()
89 << mMagnitude << "\n"; in analyze()
205 if (mMagnitude > mThreshold) { in processInputFrame()
220 double predicted = sinf(mInputPhase) * mMagnitude; in processInputFrame()
242 … setMagnitude((mMagnitude * (1.0 - coefficient)) + (magnitude * coefficient)); in processInputFrame()
252 } else if (mMagnitude < mThreshold) { in processInputFrame()
255 ALOGD("magnitude glitch detected, mMagnitude = %g", mMagnitude); in processInputFrame()
265 double predicted = sinf(mInputPhase) * mMagnitude; in processInputFrame()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioMultichannelMixdownActivity.java168 public double[] mMagnitude; field in AudioMultichannelMixdownActivity.TestPhase
182 mMagnitude = new double[IN_CHANNEL_COUNT]; in TestPhase()
192 mMagnitude[channelIndex] = 0.0; in clearState()
203 mMagnitude[channelIndex] = mAnalyzers[channelIndex].getMagnitude(); in analyze()
214 return (mMagnitude[IN_CHANNEL_LEFT] >= MIN_SIGNAL_PASS_MAGNITUDE in hasSignal()
216 || (mMagnitude[IN_CHANNEL_RIGHT] >= MIN_SIGNAL_PASS_MAGNITUDE in hasSignal()
452 testPhase.mMagnitude[IN_CHANNEL_LEFT]); in displayTestResults()
466 locale, " mag:%.5f", testPhase.mMagnitude[IN_CHANNEL_RIGHT]); in displayTestResults()
DAudioDataPathsBaseActivity.java985 double mMagnitude; field in AudioDataPathsBaseActivity.TestResults
993 mMagnitude = magnitude; in TestResults()