Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/acts/test_utils/power/
DPowerGnssBaseTest.py76 avg_current = total_current / total_samples
100 y0=[round(avg_current, 2)],
101 x0=[round(avg_current * voltage, 2)],
102 z1=[round(avg_current * voltage * mon_info.duration, 2)],
103 z2=[round(avg_current * mon_info.duration, 2)]))
/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/power/
Dpower_metrics.py256 def avg_current(self): member in PowerMetrics
280 self._num_samples * self.avg_current.to_unit(AMP).value ** 2))
291 return self.current_to_power(self.avg_current).to_unit(MILLIWATT)
296 return {'average_current': str(self.avg_current),
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_power_test_utils.py75 avg_current = total_current / total_samples
98 y0=[round(avg_current, 2)],
99 x0=[round(avg_current * voltage, 2)],
100 z1=[round(avg_current * voltage * mon_info.duration, 2)],
101 z2=[round(avg_current * mon_info.duration, 2)]))
/tools/test/connectivity/acts/framework/tests/test_utils/instrumentation/power/
Dpower_metrics_test.py145 self.assertAlmostEqual(self.power_metrics.avg_current.value,
155 self.power_metrics.avg_current.value * self.VOLTAGE)