Home
last modified time | relevance | path

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

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrack_ListenerTest.java211 AudioHelper.Statistics periodicStat = new AudioHelper.Statistics(); in doTest() local
218 periodicStat.add((double)(actual - expected) * 1000 / TEST_SR); in doTest()
229 log.addValue("average_periodic_diff", periodicStat.getAvg(), ResultType.LOWER_BETTER, in doTest()
231 log.addValue("maximum_periodic_abs_diff", periodicStat.getMaxAbs(), ResultType.LOWER_BETTER, in doTest()
233 log.addValue("average_periodic_abs_diff", periodicStat.getAvgAbs(), ResultType.LOWER_BETTER, in doTest()
235 log.setSummary("unified_abs_diff", (periodicStat.getAvgAbs() + markerStat.getAvgAbs()) / 2, in doTest()
DAudioRecordTest.java1437 AudioHelper.Statistics periodicStat = new AudioHelper.Statistics(); in doTest() local
1453 periodicStat.add((double)(actual - expected) * 1000 / TEST_SR); in doTest()
1477 log.addValue("average_periodic_diff", periodicStat.getAvg(), ResultType.LOWER_BETTER, in doTest()
1479 log.addValue("maximum_periodic_abs_diff", periodicStat.getMaxAbs(), ResultType.LOWER_BETTER, in doTest()
1481 log.addValue("average_periodic_abs_diff", periodicStat.getAvgAbs(), ResultType.LOWER_BETTER, in doTest()
1483 log.setSummary("unified_abs_diff", (periodicStat.getAvgAbs() + markerStat.getAvgAbs()) / 2, in doTest()