Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DAudioTrack_ListenerTest.java199 AudioHelper.Statistics periodicStat = new AudioHelper.Statistics(); in doTest() local
206 periodicStat.add((double)(actual - expected) * 1000 / TEST_SR); in doTest()
217 log.addValue("average_periodic_diff", periodicStat.getAvg(), ResultType.LOWER_BETTER, in doTest()
219 log.addValue("maximum_periodic_abs_diff", periodicStat.getMaxAbs(), ResultType.LOWER_BETTER, in doTest()
221 log.addValue("average_periodic_abs_diff", periodicStat.getAvgAbs(), ResultType.LOWER_BETTER, in doTest()
223 log.setSummary("unified_abs_diff", (periodicStat.getAvgAbs() + markerStat.getAvgAbs()) / 2, in doTest()
DAudioRecordTest.java1099 AudioHelper.Statistics periodicStat = new AudioHelper.Statistics(); in doTest() local
1110 periodicStat.add((double)(actual - expected) * 1000 / TEST_SR); in doTest()
1134 log.addValue("average_periodic_diff", periodicStat.getAvg(), ResultType.LOWER_BETTER, in doTest()
1136 log.addValue("maximum_periodic_abs_diff", periodicStat.getMaxAbs(), ResultType.LOWER_BETTER, in doTest()
1138 log.addValue("average_periodic_abs_diff", periodicStat.getAvgAbs(), ResultType.LOWER_BETTER, in doTest()
1140 log.setSummary("unified_abs_diff", (periodicStat.getAvgAbs() + markerStat.getAvgAbs()) / 2, in doTest()