Home
last modified time | relevance | path

Searched refs:avg_current (Results 1 – 16 of 16) sorted by relevance

/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/
Dplot_utils.py55 avg_current = sum(current_data) / len(current_data)
66 b=[round(avg_current, 2)],
67 c=[round(avg_current * voltage, 2)],
68 d=[round(avg_current * voltage * duration, 2)],
69 e=[round(avg_current * duration, 2)]))
DPowerGnssBaseTest.py76 avg_current = sum(current_data) / len(current_data)
88 y0=[round(avg_current, 2)],
89 x0=[round(avg_current * voltage, 2)],
90 z1=[round(avg_current * voltage * duration, 2)],
91 z2=[round(avg_current * duration, 2)]))
DPowerGTWGnssBaseTest.py79 self.ad.log.info('TestResult AVG_Current %.2f' % self.avg_current)
105 self.ad.log.info('TestResult AVG_Current %.2f' % self.avg_current)
128 avg_current = sum(calibrate_results) / len(calibrate_results)
129 self.ad.log.info('TestResult Calibrate_AVG_Current %.2f' % avg_current)
DPowerBaseTest.py212 self.avg_current = 0
230 self.power_logger.set_avg_current(self.avg_current)
353 self.pass_fail_check(self.avg_current)
368 self.avg_current = average_current
/tools/test/connectivity/acts/framework/tests/controllers/
Dbits_test.py26 avg_current = bits._transform_name('default_name.Monsoon.Monsoon:mA')
29 self.assertEqual('avg_current', avg_current)
33 avg_current = bits._transform_name('default_name.slider.XYZ:mA')
37 self.assertEqual('XYZ_avg_current', avg_current)
Dpower_metrics_test.py183 self.power_metrics.avg_current.value * self.VOLTAGE)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/cellular/
Dcellular_idle_power_test.py49 self.avg_current = self.filter_for_idle_state(samples)
50 self.power_result.metric_value = self.avg_current * self.mon_voltage
53 self.pass_fail_check(self.avg_current)
Dcellular_traffic_power_test.py191 self.pass_fail_check(self.avg_current)
193 return self.avg_current, self.iperf_results
572 currents.append(self.avg_current)
Dcellular_pdcch_power_test.py36 self.pass_fail_check(self.avg_current)
Dcellular_voice_call_power_test.py80 self.pass_fail_check(self.avg_current)
Dcellular_hotspot_traffic_power_test.py132 self.pass_fail_check(self.avg_current)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/loggers/
Dpower_metric_logger.py53 def set_avg_current(self, avg_current): argument
54 self.proto.avg_current = avg_current
/tools/test/connectivity/acts/framework/acts/controllers/
Dpower_metrics.py258 power_metrics.avg_current,
304 def avg_current(self): member in PowerMetrics
331 self._num_samples * self.avg_current.to_unit(AMP).value ** 2))
338 return Metric.watts(self.avg_current.to_unit(AMP).value * self._voltage,
/tools/test/connectivity/acts_tests/tests/google/power/
DPowerBaselineTest.py43 self.pass_fail_check(self.avg_current)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/loggers/protos/
Dpower_metric.proto25 optional float avg_current = 7; field
/tools/test/connectivity/acts_tests/tests/google/power/wifi/
DPowerWiFiHotspotTest.py171 self.pass_fail_check(self.avg_current)