/tools/test/connectivity/acts/framework/acts/controllers/ |
D | power_metrics.py | 65 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 …]
|
D | bits.py | 121 metrics.append(power_metrics.Metric(avg, unit_type, unit, name=name))
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/ |
D | LoopSummary.java | 11 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 …]
|
D | MetricSummary.java | 24 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()
|
D | BaseGameQualificationMetricCollector.java | 113 Map<String, MetricMeasurement.Metric> currentTestCaseMetrics) { in onTestEnd() 131 Map<String, MetricMeasurement.Metric> currentTestCaseMetrics) { in onEnd()
|
D | GameQualificationScheduledMetricCollector.java | 90 Map<String, MetricMeasurement.Metric> currentRunMetrics) { in onEnd()
|
/tools/test/connectivity/acts/framework/tests/controllers/ |
D | power_metrics_test.py | 27 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)
|
D | bits_test.py | 53 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/ |
D | BazelXmlResultReporter.java | 24 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/ |
D | MemoryTests.java | 24 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/ |
D | BazelExitCodeResultReporterTest.java | 25 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric; 47 private final HashMap<String, Metric> mEmptyMap = new HashMap<>();
|
D | BazelXmlResultReporterTest.java | 27 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/ |
D | LoopSummaryTest.java | 10 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric; 137 HashMap<String, MetricMeasurement.Metric> metrics = new HashMap<>(); in testParseRunMetrics()
|
D | MetricSummaryTest.java | 74 HashMap<String, MetricMeasurement.Metric> metrics = new HashMap<>(); in testConversion()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/testtype/ |
D | GameQualificationHostsideController.java | 237 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/ |
D | metric_measurement_pb2.py | 364 Metric = _reflection.GeneratedProtocolMessageType('Metric', (_message.Message,), { variable 369 _sym_db.RegisterMessage(Metric)
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/ |
D | GameQualificationResultReporter.java | 26 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/ |
D | metric_measurement.proto | 71 message Metric { message
|
D | test_record.proto | 60 map<string, tradefed.metric.Metric> metrics = 10;
|