/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/ |
D | monsoon.py | 52 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 …]
|
D | common.py | 86 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/ |
D | power_monitor.py | 120 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)
|
D | power_metrics.py | 170 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/ |
D | monsoon.py | 56 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/ |
D | monsoon.py | 46 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,
|
D | monsoon_proxy.py | 283 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/ |
D | PowerGnssBaseTest.py | 59 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)],
|
D | plot_utils.py | 29 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/ |
D | power_metric_logger.py | 56 def set_voltage(self, voltage): argument 57 self.proto.voltage = voltage
|
/tools/test/connectivity/acts/framework/acts/bin/ |
D | monsoon.py | 33 if args.voltage is not None: 34 mon.set_voltage(args.voltage)
|
/tools/test/connectivity/acts/framework/tests/controllers/ |
D | power_metrics_test.py | 146 voltage=self.VOLTAGE) 156 voltage=self.VOLTAGE)
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/loggers/protos/ |
D | power_metric.proto | 26 optional float voltage = 8; field
|