Home
last modified time | relevance | path

Searched refs:voltage (Results 1 – 13 of 13) sorted by relevance

/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/
Dmonsoon.py52 def get_closest_valid_voltage(cls, voltage): argument
54 if voltage < cls.MIN_VOLTAGE / 2:
57 return max(cls.MIN_VOLTAGE, min(voltage, cls.MAX_VOLTAGE))
60 def is_voltage_valid(cls, voltage): argument
65 return cls.get_closest_valid_voltage(voltage) == voltage
68 def validate_voltage(cls, voltage): argument
70 if not cls.is_voltage_valid(voltage):
73 (voltage, cls.MIN_VOLTAGE, cls.MAX_VOLTAGE))
75 def set_voltage_safe(self, voltage): argument
84 normalized_voltage = self.get_closest_valid_voltage(voltage)
[all …]
Dcommon.py86 def __init__(self, num_samples, sum_currents, hz, voltage, datafile_path): argument
99 self._voltage = voltage
148 def voltage(self): member in MonsoonResult
/tools/test/connectivity/acts/framework/acts/controllers/
Dpower_monitor.py120 voltage = monsoon_config.get_numeric('voltage', 4.2)
121 self.monsoon.set_voltage_safe(voltage)
133 voltage = monsoon_config.get_numeric('voltage', 4.2)
134 self._log.info('Setting up Monsoon voltage %s' % voltage)
142 self.monsoon.set_voltage_safe(voltage)
183 def get_metrics(self, start_time=None, voltage=None, monsoon_file_path=None, argument
202 if voltage is None:
211 timestamps=timestamps, voltage=voltage)
Dpower_metrics.py170 voltage=None): argument
188 test_metrics[seg_name] = PowerMetrics(voltage)
232 def __init__(self, voltage): argument
238 self._voltage = voltage
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/hvpm/
Dmonsoon.py56 def set_voltage(self, voltage): argument
62 self._log.debug('Setting voltage to %sV.' % voltage)
63 self._mon.setVout(voltage)
119 voltage = self._get_main_voltage()
144 aggregator.sum_currents, hz, voltage,
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/lvpm_stock/
Dmonsoon.py46 def set_voltage(self, voltage): argument
52 self._log.debug('Setting voltage to %sV.' % voltage)
53 self._mon.set_voltage(voltage)
101 voltage = self._mon.get_voltage()
124 aggregator.sum_currents, hz, voltage,
Dmonsoon_proxy.py283 def set_voltage(self, voltage): argument
299 voltage_byte = max(0, round((voltage - 2.0) * 100))
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/
DPowerGnssBaseTest.py59 def monsoon_data_plot_power(self, samples, voltage, dest_path, plot_title): argument
78 power_data = [current * voltage for current in current_data]
89 x0=[round(avg_current * voltage, 2)],
90 z1=[round(avg_current * voltage * duration, 2)],
Dplot_utils.py29 def current_waveform_plot(samples, voltage, dest_path, plot_title): argument
64 c=[round(avg_current * voltage, 2)],
65 d=[round(avg_current * voltage * duration, 2)],
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/loggers/
Dpower_metric_logger.py56 def set_voltage(self, voltage): argument
57 self.proto.voltage = voltage
/tools/test/connectivity/acts/framework/acts/bin/
Dmonsoon.py33 if args.voltage is not None:
34 mon.set_voltage(args.voltage)
/tools/test/connectivity/acts/framework/tests/controllers/
Dpower_metrics_test.py146 voltage=self.VOLTAGE)
156 voltage=self.VOLTAGE)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/loggers/protos/
Dpower_metric.proto26 optional float voltage = 8; field