Home
last modified time | relevance | path

Searched refs:Metric (Results 1 – 19 of 19) sorted by relevance

/tools/test/connectivity/acts/framework/acts/controllers/
Dpower_metrics.py65 class Metric(object): class
90 return Metric(amps, CURRENT, AMP, name=name)
95 return Metric(watts, POWER, WATT, name=name)
100 return Metric(seconds, TIME, SECOND, name=name)
119 return Metric(self.value + other.to_unit(self.unit).value,
126 return Metric(self.value - other.to_unit(self.unit).value,
153 return Metric(new_value, self._unit_type, new_unit, self.name)
188 test_starts[seg_name] = Metric(
191 test_ends[seg_name] = Metric(
215 Metric.amps(p[1], 'percentile_%s' % p[0]).to_unit(MILLIAMP) for p in
[all …]
Dbits.py121 metrics.append(power_metrics.Metric(avg, unit_type, unit, name=name))
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DLoopSummary.java11 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
40 HashMap<String, Metric> runMetrics) { in parseRunMetrics()
57 Metric.newBuilder() in addToMetricData()
67 Metric.newBuilder() in addToMetricData()
90 Metric.newBuilder() in addToMetricData()
292 HashMap<String, Metric> runMetrics) { in getMetricDoubleValue()
293 Metric m = runMetrics.get( in getMetricDoubleValue()
306 HashMap<String, Metric> runMetrics) { in getMetricLongValue()
307 Metric m = runMetrics.get( in getMetricLongValue()
315 private static Metric.Builder getNsMetric(long value) { in getNsMetric()
[all …]
DMetricSummary.java24 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
60 IInvocationContext context, HashMap<String, Metric> metrics) { in parseRunMetrics()
95 Metric.newBuilder() in addToMetricData()
100 Metric.newBuilder() in addToMetricData()
DBaseGameQualificationMetricCollector.java113 Map<String, MetricMeasurement.Metric> currentTestCaseMetrics) { in onTestEnd()
131 Map<String, MetricMeasurement.Metric> currentTestCaseMetrics) { in onEnd()
DGameQualificationScheduledMetricCollector.java90 Map<String, MetricMeasurement.Metric> currentRunMetrics) { in onEnd()
/tools/test/connectivity/acts/framework/tests/controllers/
Dpower_metrics_test.py27 from acts.controllers.power_metrics import Metric
46 measurement = Metric(2, CURRENT, MILLIAMP)
53 measurement = Metric(2, FAKE_UNIT_TYPE, FAKE_UNIT)
58 current_amps = Metric.amps(15)
66 current_amps = Metric.amps(3.4)
73 time_a = Metric.seconds(120)
74 time_b = Metric(2, TIME, MINUTE)
75 time_c = Metric(0.1, TIME, HOUR)
91 time_a = Metric(3, TIME, HOUR)
92 time_b = Metric(90, TIME, MINUTE)
Dbits_test.py53 power_metrics.Metric(21, 'current', 'mA', 'avg_current'),
56 power_metrics.Metric(91, 'power', 'mW', 'avg_power'),
/tools/asuite/atest/bazel/reporter/src/com/android/tradefed/result/
DBazelXmlResultReporter.java24 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
104 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded()
134 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded()
139 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded()
/tools/test/graphicsbenchmark/functional_tests/hostside/src/com/android/game/qualification/test/
DMemoryTests.java24 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
103 metrics.addTestMetric("memory_allocated", Metric.newBuilder() in testMemoryAllocationLimit()
/tools/asuite/atest/bazel/reporter/javatests/com/android/tradefed/result/
DBazelExitCodeResultReporterTest.java25 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
47 private final HashMap<String, Metric> mEmptyMap = new HashMap<>();
DBazelXmlResultReporterTest.java27 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
57 private final HashMap<String, Metric> mEmptyMap = new HashMap<>();
/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/
DLoopSummaryTest.java10 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
137 HashMap<String, MetricMeasurement.Metric> metrics = new HashMap<>(); in testParseRunMetrics()
DMetricSummaryTest.java74 HashMap<String, MetricMeasurement.Metric> metrics = new HashMap<>(); in testConversion()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/testtype/
DGameQualificationHostsideController.java237 HashMap<String, MetricMeasurement.Metric> runMetrics = new HashMap<>(); in run()
282 listener.testEnded(identifier, new HashMap<String, MetricMeasurement.Metric>()); in run()
/tools/asuite/atest/tools/asuite/atest/tf_proto/
Dmetric_measurement_pb2.py364 Metric = _reflection.GeneratedProtocolMessageType('Metric', (_message.Message,), { variable
369 _sym_db.RegisterMessage(Metric)
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/
DGameQualificationResultReporter.java26 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
76 … public void testEnded(TestDescription testId, long elapsedTime, HashMap<String, Metric> metrics) { in testEnded()
/tools/asuite/atest/tf_proto/
Dmetric_measurement.proto71 message Metric { message
Dtest_record.proto60 map<string, tradefed.metric.Metric> metrics = 10;