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.py54 avg_current = sum(current_data) / len(current_data)
63 b=[round(avg_current, 2)],
64 c=[round(avg_current * voltage, 2)],
65 d=[round(avg_current * voltage * duration, 2)],
66 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)
104 self.ad.log.info('TestResult AVG_Current %.2f' % self.avg_current)
123 avg_current = sum(calibrate_results) / len(calibrate_results)
124 self.ad.log.info('TestResult Calibrate_AVG_Current %.2f' % avg_current)
DPowerBaseTest.py205 self.avg_current = 0
225 self.power_logger.set_avg_current(self.avg_current)
348 self.pass_fail_check(self.avg_current)
363 self.avg_current = average_current
/tools/test/connectivity/acts/framework/tests/controllers/
Dbits_test.py25 avg_current = bits._transform_name('default_name.Monsoon.Monsoon:mA')
28 self.assertEqual('avg_current', avg_current)
32 avg_current = bits._transform_name('default_name.slider.XYZ:mA')
36 self.assertEqual('XYZ_avg_current', avg_current)
Dpower_metrics_test.py169 self.power_metrics.avg_current.value * self.VOLTAGE)
/tools/test/connectivity/acts/framework/acts/controllers/
Dpower_metrics.py216 power_metrics.avg_current,
262 def avg_current(self): member in PowerMetrics
289 self._num_samples * self.avg_current.to_unit(AMP).value ** 2))
296 return Metric.watts(self.avg_current.to_unit(AMP).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.py190 self.pass_fail_check(self.avg_current)
192 return self.avg_current, self.iperf_results
571 currents.append(self.avg_current)
Dcellular_pdcch_power_test.py36 self.pass_fail_check(self.avg_current)
Dcellular_voice_call_power_test.py79 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_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)