Home
last modified time | relevance | path

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

/cts/apps/CameraITS/tests/scene0/
Dtest_jitter.py70 avg = sum(deltas_ms) / len(deltas_ms)
71 var = sum([d * d for d in deltas_ms]) / len(deltas_ms) - avg * avg
72 range0 = min(deltas_ms) - avg
73 range1 = max(deltas_ms) - avg
75 logging.debug('Average: %s', avg)
88 if avg <= _MIN_AVG_FRAME_DELTA:
/cts/tests/camera/src/android/hardware/camera2/cts/
Dmeans_yuvx_444_2d_to_1d.rscript55 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.rscript50 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-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/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,