Home
last modified time | relevance | path

Searched refs:metric_key (Results 1 – 5 of 5) sorted by relevance

/tools/test/connectivity/acts/framework/acts/metrics/loggers/
Dblackbox.py47 def __init__(self, metric_key=None, event=None, compiler_out=None): argument
59 self.metric_key = metric_key
71 if self.metric_key:
72 key = self.metric_key
121 result.metric_key = self._get_metric_key(metric_name)
144 def __init__(self, metric_name, metric_key=None, event=None, argument
155 super().__init__(metric_key=metric_key, event=event,
/tools/test/connectivity/acts/framework/tests/metrics/loggers/
Dblackbox_test.py57 self.assertIsNone(logger.metric_key)
62 metric_key = Mock()
64 logger = BlackboxMetricLogger(metric_name, metric_key=metric_key)
66 self.assertEqual(logger.metric_key, metric_key)
94 self.assertEqual(result.metric_key,
120 metric_key = 'metric_key'
123 metric_key=metric_key)
131 expected_metric_key = '%s.%s' % (metric_key, self.TEST_METRIC_NAME)
132 self.assertEqual(result.metric_key, expected_metric_key)
140 metric_key = 'metric_key'
[all …]
/tools/test/connectivity/acts/framework/acts/metrics/loggers/protos/
Dacts_blackbox.proto27 required string metric_key = 3; field
/tools/test/connectivity/acts/tests/google/wifi/
DWifiRvrTest.py754 for metric_key, metric_value in result['metrics'].items():
755 compiled_data[test_id]['metrics'][metric_key].append(
776 for metric_key, metric_value in test_data['metrics'].items():
777 metric_key = "{}.avg_{}".format(metric_tag, metric_key)
780 metric_key, metric_value)
DWifiSensitivityTest.py260 metric_key = "{}.avg_sensitivity".format(metric_tag)
262 self.testclass_metric_logger.add_metric(metric_key, metric_value)