Home
last modified time | relevance | path

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

/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackTestHelper.java45 private StatisticsData mLatencyStats = null; field in AudioLoopbackTestHelper
365 } else if (data.getLatency() < (mLatencyStats.mMedian - TOLERANCE) in getWorstResults()
366 || data.getLatency() > (mLatencyStats.mMedian + TOLERANCE)) { in getWorstResults()
421 mLatencyStats = new StatisticsData(); in processTestData()
456 mLatencyStats.mMin = mGoodResults.get(0).mLatencyMs; in processTestData()
457 mLatencyStats.mMax = mGoodResults.get(nrOfValidResults - 1).mLatencyMs; in processTestData()
458 mLatencyStats.mMean = sumLatency / nrOfValidResults; in processTestData()
464 mLatencyStats.mMedian = (middleLeft + middleRight) / 2.0f; in processTestData()
467 mLatencyStats.mMedian = mGoodResults.get(nrOfValidResults / 2).mLatencyMs; in processTestData()
491 } else if (data.getLatency() < (mLatencyStats.mMedian - TOLERANCE) in processTestData()
[all …]