Home
last modified time | relevance | path

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

/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackTestHelper.java416 int nrOfValidResults = 0; in processTestData() local
451 nrOfValidResults = mGoodResults.size(); in processTestData()
457 mLatencyStats.mMax = mGoodResults.get(nrOfValidResults - 1).mLatencyMs; in processTestData()
458 mLatencyStats.mMean = sumLatency / nrOfValidResults; in processTestData()
460 if (nrOfValidResults % 2 == 0) { in processTestData()
461 final int middle = nrOfValidResults / 2; in processTestData()
467 mLatencyStats.mMedian = mGoodResults.get(nrOfValidResults / 2).mLatencyMs; in processTestData()
474 mConfidenceStats.mMax = mGoodResults.get(nrOfValidResults - 1).mLatencyConfidence; in processTestData()
475 mConfidenceStats.mMean = sumConfidence / nrOfValidResults; in processTestData()
477 if (nrOfValidResults % 2 == 0) { in processTestData()
[all …]
DAudioLoopbackTest.java617 final int nrOfValidResults = mLoopbackTestHelper.processTestData(); in uploadLogsReturnMetrics() local
618 if (nrOfValidResults == 0) { in uploadLogsReturnMetrics()
631 final int nrOfValidResults = mLoopbackTestHelper.processTestData(); in uploadLogsReturnMetrics() local
632 if (nrOfValidResults == 0) { in uploadLogsReturnMetrics()