Home
last modified time | relevance | path

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

12

/tools/test/connectivity/acts_tests/acts_contrib/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.java65 double mean = 0; in choreoCallbackTimes() local
85 mean += interval; in choreoCallbackTimes()
87 mean = mean / (intervals.size() * 1E6); in choreoCallbackTimes()
95 .that(mean) in choreoCallbackTimes()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DSimpleStatsTest.java41 assertNull(mStats.mean()); in testStats_empty()
64 assertEquals(5.5, mStats.mean(), 0.1); in testStats_evenCount()
85 assertEquals(5.0, mStats.mean(), 0.1); in testStats_oddCount()
104 assertEquals(55.0 / 15.0, mStats.mean(), 0.1); in testStats_skewedMedian()
/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()
DMetricUtility.java268 double mean = values.stream()
272 double variance = values.stream().reduce(0.0, (a, b) -> a + Math.pow(b - mean, 2) / count);
286 stats.put(STATS_KEY_MEAN, mean);
/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/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/netsim/
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/test/openhst/
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/test/mobly_snippets/gft/
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/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/test/connectivity/
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/treble/
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/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/test/connectivity/acts_tests/tests/google/experimental/
DBluetoothThroughputTest.py133 metrics['data_throughput_avg_bytes_per_second'] = int(statistics.mean(
168 metrics['data_throughput_avg_bytes_per_second'] = int(statistics.mean(
203 metrics['data_throughput_avg_bytes_per_second'] = int(statistics.mean(
DBluetoothPairAndConnectTest.py168 metrics['pair_avg_time_millis'] = int(statistics.mean(pair_times))
176 (statistics.mean(connect_times)))
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_parse_utils.py443 avg_data_call_setup_time = statistics.mean(duration_list)
454 avg_validation_time_on_lte = statistics.mean(
696 avg_data_call_setup_time = statistics.mean(duration_list)
888 avg_deactivate_data_call_time = statistics.mean(duration_list)
1107 avg_deactivate_data_call_time = statistics.mean(duration_list)
1277 avg_ims_reg_duration = statistics.mean(ims_reg_duration_list)
1397 avg_setup_time = statistics.mean(duration_list)
1520 avg_setup_time = statistics.mean(duration_list)
1678 avg_sms_delivery_time = statistics.mean(sms_delivery_time)
1840 mo_avg_setup_time = statistics.mean(mo_setup_time_list)
[all …]
/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/framework/tests/controllers/monsoon_lib/sampling/engine/
Dtransformers_test.py200 statistics.mean([
207 statistics.mean([
/tools/tradefederation/core/test_framework/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/acts_contrib/test_utils/bt/
Dble_performance_test_utils.py94 ble_rssi = statistics.mean(AVG_RSSI)
131 ble_rssi = statistics.mean(raw_rssi)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/rtt/
Drtt_test_utils.py392 stats['distance_mean'] = statistics.mean(distances)
396 stats['rssi_mean'] = statistics.mean(rssis)
/tools/test/connectivity/acts_tests/tests/google/gnss/
DGnssFunctionTest.py24 from statistics import mean
372 mean(satellite_times[process]))
377 mean(location_fix_times[process]))
380 asserts.assert_true(mean(satellite_times[process])/1000 <=
384 asserts.assert_true(mean(location_fix_times[process])/1000 <=
DLabGnssPowerSweepTest.py185 position_error_mean = statistics.mean(position_error_all)
187 hacc_mean = statistics.mean(hacc_all)
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiRvrTest.py479 curr_throughput = numpy.mean(iperf_result.instantaneous_rates[
1006 high_tput_hit_freq = numpy.mean(
1012 metric_value = numpy.mean(metric_value)
1015 test_data['avg_rvr'] = numpy.mean(test_data['throughput'], 0)
1017 test_data['avg_rx_phy_rate'] = numpy.mean(test_data['rx_phy_rate'],
1019 test_data['avg_tx_phy_rate'] = numpy.mean(test_data['tx_phy_rate'],

12