Home
last modified time | relevance | path

Searched refs:mean (Results 1 – 25 of 29) sorted by relevance

12

/tools/test/connectivity/acts/framework/acts/test_utils/power/
DIperfHelper.py106 mean = statistics.mean(samples)
110 if abs(rate - mean) > max_dev:
111 max_dev = abs(rate - mean)
115 round(mean, 2), round(var, 2), round(max_dev, 2)))
119 mean = 0
121 return mean
/tools/test/graphicsbenchmark/functional_tests/java/src/com/android/game/qualification/tests/
DChoreoTest.java58 double mean = 0; in choreoCallbackTimes() local
79 mean += interval; in choreoCallbackTimes()
81 mean = mean / (intervals.size() * 1E6); in choreoCallbackTimes()
88 .that(mean) in choreoCallbackTimes()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSimpleStatsTest.java40 assertNull(mStats.mean()); in testStats_empty()
62 assertEquals(5.5, mStats.mean(), 0.1); in testStats_evenCount()
82 assertEquals(5.0, mStats.mean(), 0.1); in testStats_oddCount()
102 assertEquals(55.0 / 15.0, mStats.mean(), 0.1); in testStats_skewedMedian()
/tools/security/sanitizer-status/
DNOTICE22 "License" shall mean the terms and conditions for use, reproduction,
25 "Licensor" shall mean the copyright owner or entity authorized by
28 "Legal Entity" shall mean the union of the acting entity and all
36 "You" (or "Your") shall mean an individual or Legal Entity
39 "Source" form shall mean the preferred form for making modifications,
43 "Object" form shall mean any form resulting from mechanical
48 "Work" shall mean the work of authorship, whether in Source or
53 "Derivative Works" shall mean any work, whether in Source or Object
61 "Contribution" shall mean any work of authorship, including
75 "Contributor" shall mean Licensor and any individual or Legal Entity
/tools/trebuchet/
DLICENSE10 "License" shall mean the terms and conditions for use, reproduction,
13 "Licensor" shall mean the copyright owner or entity authorized by
16 "Legal Entity" shall mean the union of the acting entity and all
24 "You" (or "Your") shall mean an individual or Legal Entity
27 "Source" form shall mean the preferred form for making modifications,
31 "Object" form shall mean any form resulting from mechanical
36 "Work" shall mean the work of authorship, whether in Source or
41 "Derivative Works" shall mean any work, whether in Source or Object
49 "Contribution" shall mean any work of authorship, including
63 "Contributor" shall mean Licensor and any individual or Legal Entity
/tools/apksig/
DLICENSE22 "License" shall mean the terms and conditions for use, reproduction,
25 "Licensor" shall mean the copyright owner or entity authorized by
28 "Legal Entity" shall mean the union of the acting entity and all
36 "You" (or "Your") shall mean an individual or Legal Entity
39 "Source" form shall mean the preferred form for making modifications,
43 "Object" form shall mean any form resulting from mechanical
48 "Work" shall mean the work of authorship, whether in Source or
53 "Derivative Works" shall mean any work, whether in Source or Object
61 "Contribution" shall mean any work of authorship, including
75 "Contributor" shall mean Licensor and any individual or Legal Entity
/tools/acloud/
DLICENSE10 "License" shall mean the terms and conditions for use, reproduction,
13 "Licensor" shall mean the copyright owner or entity authorized by
16 "Legal Entity" shall mean the union of the acting entity and all
24 "You" (or "Your") shall mean an individual or Legal Entity
27 "Source" form shall mean the preferred form for making modifications,
31 "Object" form shall mean any form resulting from mechanical
36 "Work" shall mean the work of authorship, whether in Source or
41 "Derivative Works" shall mean any work, whether in Source or Object
49 "Contribution" shall mean any work of authorship, including
63 "Contributor" shall mean Licensor and any individual or Legal Entity
/tools/tradefederation/core/src/com/android/tradefed/util/
DSimpleStats.java79 public Double mean() { in mean() method in SimpleStats
144 Double avg = mean(); in stdev()
166 Double avg = mean(); in meanOverOneStandardDeviationRange()
/tools/tradefederation/core/src/com/android/tradefed/device/
DCpuStatsCollector.java405 return 100 * stats.mean(); in getTotalPercentageMean()
464 return stats.mean(); in getEstimatedMhzMean()
481 return stats.mean(); in getUsedMhzPercentageMean()
492 return stats.mean(); in getPercentageMean()
DTopHelper.java335 return stats.mean(); in getAveragePercentage()
/tools/tradefederation/contrib/src/com/android/regression/tests/
DDetectRegression.java243 final double mean = calcMean(before); in computeRegression() local
247 if (Math.abs(value - mean) > stdDev * STD_DEV_THRESHOLD) { in computeRegression()
261 final double mean = calcMean(list); in calcStdDev() local
263 list.stream().collect(Collectors.averagingDouble(x -> Math.pow(x - mean, 2)))); in calcStdDev()
/tools/test/connectivity/acts/tests/google/experimental/
DBluetoothThroughputTest.py131 metrics['data_throughput_avg_bytes_per_second'] = int(statistics.mean(
165 metrics['data_throughput_avg_bytes_per_second'] = int(statistics.mean(
199 metrics['data_throughput_avg_bytes_per_second'] = int(statistics.mean(
DBluetoothPairAndConnectTest.py163 metrics['pair_avg_time_millis'] = int(statistics.mean(pair_times))
171 (statistics.mean(connect_times)))
DBluetoothLatencyTest.py127 metrics['data_latency_avg_millis'] = int(statistics.mean(latency_list))
DBluetoothReconnectTest.py161 metrics['connection_avg_time_millis'] = int(statistics.mean(
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/
DAggregatePostProcessor.java171 double mean =
176 double variance = values.stream().reduce(0.0, (a, b) -> a + Math.pow(b - mean, 2) / count);
185 stats.put(STATS_KEY_MEAN, mean);
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DAtraceRunMetricCollector.java180 Double.toString(resultAggregate.getValue().mean() in aggregateMetrics()
183 Double.toString(resultAggregate.getValue().mean())); in aggregateMetrics()
/tools/test/connectivity/acts/tests/google/wifi/
DWifiRssiTest.py158 avg_shift = statistics.mean(filtered_error)
160 avg_error = statistics.mean(
163 avg_error = statistics.mean(
354 avg_shift = statistics.mean(filtered_error)
DWifiPingTest.py144 mean_rtt = [statistics.mean(x) for x in sorted_rtt]
327 statistics.mean(current_ping_stats["rtt"]),
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/rtt/
Drtt_test_utils.py386 stats['distance_mean'] = statistics.mean(distances)
390 stats['rssi_mean'] = statistics.mean(rssis)
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
Daudio_analysis.py504 return numpy.sqrt(numpy.mean(numpy.absolute(array)**2))
524 signal -= numpy.mean(signal)
/tools/tradefederation/contrib/src/com/android/performance/tests/
DEmmcPerformanceTest.java240 if (stats.mean() != null) { in runTest()
252 testKey, stats.mean(), stats.stdev(), stats.size()); in runTest()
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DPowerBaseTest.py376 statistics.mean(average_for_a_cycle) * self.THOUSAND,
575 statistics.mean(average_for_a_cycle) * self.THOUSAND,
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_performance_test_utils.py542 connected_rssi[key]['mean'] = statistics.mean(filtered_rssi_values)
594 scan_rssi[key]['mean'] = statistics.mean(filtered_rssi_values)
/tools/tradefederation/contrib/src/com/android/graphics/tests/
DOpenGlPerformanceTest.java285 double averageFps = simpleStats.mean(); in logOutputFile()

12