Home
last modified time | relevance | path

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

/cts/apps/CameraITS/tests/scene0/
Dtest_jitter.py48 avg = sum(deltas_ms) / len(deltas_ms)
49 var = sum([d*d for d in deltas_ms]) / len(deltas_ms) - avg * avg
50 range0 = min(deltas_ms) - avg
51 range1 = max(deltas_ms) - avg
52 print 'Average:', avg
64 emsg = 'avg: %.4fms, TOL: %.fms' % (avg, MIN_AVG_FRAME_DELTA)
65 assert avg > MIN_AVG_FRAME_DELTA, emsg
/cts/tests/camera/src/android/hardware/camera2/cts/
Dmeans_yuvx_444_2d_to_1d.rs55 yuvx_444 avg = convert_yuvx_444(sum);
57 return avg;
82 yuvx_444 avg = convert_yuvx_444(sum);
84 return avg;
Dmeans_yuvx_444_1d_to_single.rs50 yuvx_444 avg = convert_yuvx_444(sum);
52 return avg;
/cts/apps/CtsVerifier/assets/scripts/
Dexecute_power_tests.py668 avg = sum(measurements) / len(measurements)
669 squared = [(m - avg) * (m - avg) for m in measurements]
672 current_diff = avg - baseline_amps
674 max_power = max(measurements) - avg
680 current_diff * 1000.0, baseline_amps * 1000.0, avg * 1000.0,
686 current_diff * 1000.0, baseline_amps * 1000.0, avg * 1000.0,
794 if FLAGS.avg and FLAGS.avg < 0:
884 if FLAGS.avg:
886 if len(history_deque) > FLAGS.avg: history_deque.pop()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DBaseDumpsysTest.java102 protected static void assertMinAvgMax(String min, String avg, String max, boolean checkAvg) { in assertMinAvgMax() argument
104 final long lAvg = assertNonNegativeInteger(avg); in assertMinAvgMax()
108 assertTrue("min [" + min + "] <= avg [" + avg + "]", lMin <= lAvg); in assertMinAvgMax()
109 assertTrue("avg [" + avg + "] <= max [" + max + "]", lAvg <= lMax); in assertMinAvgMax()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaPerfUtils.java127 long avg = Math.round(statsUs.getAverage()); in logPerformanceStats() local
130 log.addValue(prefix + "_avg", avg / 1000., ResultType.LOWER_BETTER, ResultUnit.MS); in logPerformanceStats()
132 message += " num=" + num + " avg=" + avg + " stdev=" + stdev; in logPerformanceStats()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaPerfUtils.java127 long avg = Math.round(statsUs.getAverage()); in logPerformanceStats() local
130 log.addValue(prefix + "_avg", avg / 1000., ResultType.LOWER_BETTER, ResultUnit.MS); in logPerformanceStats()
132 message += " num=" + num + " avg=" + avg + " stdev=" + stdev; in logPerformanceStats()
/cts/tools/utils/
Dmonsoon.py339 if FLAGS.avg and FLAGS.avg < 0:
404 if FLAGS.avg:
408 if len(chan_deque) > FLAGS.avg: chan_deque.pop()
/cts/tests/tests/media/libmediandkjni/
Dnative_media_utils.cpp103 int64_t avg = (sum * 1e6) / duration; in getBitrateAverage() local
104 return (int32_t)avg; in getBitrateAverage()
/cts/tools/cts-media/
Dget_achievable_rates.py248 …for dev, build, codec, size, num, std, avg, p0, p5, p10, p20, p30, p40, p50, p60, p70, p80, p90, p…
257 data=dict(std=std, avg=avg, p0=p0, p5=p5, p10=p10, p20=p20, p30=p30, p40=p40,