Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/acts/metrics/loggers/
Dblackbox.py62 def _get_metric_key(self, metric_name): argument
75 key = '%s.%s' % (key, metric_name)
89 def add_metric(self, metric_name, metric_value): argument
99 self._metric_map[metric_name] = metric_value
116 for metric_name, metric_value in self._metric_map.items():
121 result.metric_key = self._get_metric_key(metric_name)
125 ProtoMetric(name='blackbox_%s' % metric_name, data=result))
144 def __init__(self, metric_name, metric_key=None, event=None, argument
157 if not metric_name:
159 self.metric_name = metric_name
[all …]
/tools/test/connectivity/acts/framework/tests/metrics/loggers/
Dblackbox_test.py50 metric_name = Mock()
53 logger = BlackboxMetricLogger(metric_name)
55 self.assertEqual(logger.metric_name, metric_name)
61 metric_name = Mock()
64 logger = BlackboxMetricLogger(metric_name, metric_key=metric_key)
72 metric_name = Mock()
74 logger = BlackboxMetricLogger(metric_name, event=self.event)
/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/power/
Dinstrumentation_power_test.py412 for metric_name in PowerMetrics.ALL_METRICS:
416 metric_name).value
419 '%s__%s' % (metric_name, instr_test_name), metric_value)
451 for metric_name, metric in test_thresholds.items():
453 actual_result = getattr(test_metrics, metric_name)
476 summaries[instr_test_name][metric_name] = summary_entry
/tools/test/connectivity/acts/framework/acts/test_utils/coex/
DCoexPerformanceBaseTest.py66 metric_name='bt_range')
68 metric_name='wifi_max_atten')
70 metric_name='wifi_min_atten')
72 metric_name='wifi_range_metric')
/tools/test/connectivity/acts/tests/google/wifi/
DWifiThroughputStabilityTest.py509 metric_name = metric_tag + '.avg_throughput'
512 metric_name, metric_value)
513 metric_name = metric_tag + '.min_throughput'
516 metric_name, metric_value)
DWifiPingTest.py664 metric_name = 'ota_summary_ch{}.avg_range'.format(channel)
665 self.testclass_metric_logger.add_metric(metric_name, average_range)
DWifiSensitivityTest.py766 metric_name = metric_tag + '.avg_sensitivity'
769 metric_name, metric_value)
DWifiRssiTest.py935 metric_name = 'ota_summary_ch{}.avg_{}'.format(
939 metric_name, metric_value)
/tools/test/connectivity/acts/framework/acts/test_utils/power/cellular/
Dcellular_traffic_power_test.py70 metric_name='avg_dl_tput')
72 metric_name='avg_ul_tput')
/tools/test/connectivity/acts/framework/acts/test_utils/power/
DPowerBaseTest.py77 metric_name='avg_power')