Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/tests/controllers/monsoon_lib/api/
Dmonsoon_test.py24 from acts.controllers.monsoon_lib.api.monsoon import BaseMonsoon
120 monsoon = MonsoonImpl()
122 monsoon.set_voltage_safe(invalid_voltage)
124 monsoon.set_voltage.assert_called_once_with(MonsoonImpl.MIN_VOLTAGE)
128 monsoon = MonsoonImpl()
130 monsoon.set_voltage_safe(valid_voltage)
132 monsoon.set_voltage.assert_called_once_with(valid_voltage)
136 monsoon = MonsoonImpl()
137 expected_value = monsoon.MIN_VOLTAGE
139 monsoon.ramp_voltage(0, expected_value)
[all …]
/tools/test/connectivity/acts/framework/tests/controllers/monsoon_lib/api/hvpm/
Dmonsoon_test.py21 from acts.controllers.monsoon_lib.api.hvpm.monsoon import Monsoon
66 monsoon = Monsoon(self.SERIAL)
67 monsoon._mon.statusPacket.side_effect = verify_call_order
69 status_packet = monsoon.status
72 status_packet, monsoon._mon.statusPacket,
81 monsoon = Monsoon(self.SERIAL)
84 monsoon.measure_power(1, hz=5000, **unimportant_kwargs)
96 monsoon = Monsoon(self.SERIAL)
99 monsoon.measure_power(1, hz=500, **unimportant_kwargs)
110 monsoon = Monsoon(self.SERIAL)
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/
Dpower_monitor.py102 def __init__(self, monsoon): argument
110 self.monsoon = monsoon
119 self._log.info('Setting up Monsoon %s' % self.monsoon.serial)
121 self.monsoon.set_voltage_safe(voltage)
123 self.monsoon.set_max_current(
132 self._log.info('Setting up Monsoon %s' % self.monsoon.serial)
135 self.monsoon.set_voltage_safe(0)
137 self.monsoon.set_max_current(
139 self.monsoon.set_max_initial_current(
142 self.monsoon.set_voltage_safe(voltage)
[all …]
Dmonsoon.py16 from acts.controllers.monsoon_lib.api.hvpm.monsoon import Monsoon as HvpmMonsoon
17 from acts.controllers.monsoon_lib.api.lvpm_stock.monsoon import \
71 for monsoon in monsoons:
72 if monsoon.is_allocated():
73 monsoon.release_monsoon_connection()
77 return [{'serial': monsoon.serial} for monsoon in monsoons]
/tools/test/connectivity/acts/framework/tests/controllers/monsoon_lib/api/lvpm_stock/
Dmonsoon_test.py20 from acts.controllers.monsoon_lib.api.lvpm_stock.monsoon import Monsoon
62 monsoon = Monsoon(self.SERIAL)
65 monsoon.measure_power(1, hz=5000, **unimportant_kwargs)
77 monsoon = Monsoon(self.SERIAL)
80 monsoon.measure_power(1, hz=500, **unimportant_kwargs)
91 monsoon = Monsoon(self.SERIAL)
94 monsoon.measure_power(1, output_path=None, **unimportant_kwargs)
106 monsoon = Monsoon(self.SERIAL)
109 monsoon.measure_power(1, output_path='foo', **unimportant_kwargs)
119 monsoon = Monsoon(self.SERIAL)
[all …]
/tools/test/connectivity/acts/framework/tests/controllers/
Dmonsoon_test.py21 from acts.controllers import monsoon
22 from acts.controllers.monsoon_lib.api.hvpm.monsoon import Monsoon as HvpmMonsoon
23 from acts.controllers.monsoon_lib.api.lvpm_stock.monsoon import Monsoon as LvpmStockMonsoon
31 monsoons = monsoon.create([12345])
35 monsoons = monsoon.create([{'type': 'LvpmStockMonsoon', 'serial': 10}])
40 monsoons = monsoon.create([23456])
44 monsoons = monsoon.create([{'type': 'HvpmMonsoon', 'serial': 10}])
50 monsoon.create([{'type': 'UNKNOWN', 'serial': 10}])
54 monsoon.create([{'type': 'LvpmStockMonsoon'}])
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/hvpm/
Dtransformers.py57 monsoon = HVPM.Monsoon()
58 monsoon.setup_usb(self.monsoon_serial)
59 monsoon.fillStatusPacket()
60 monsoon_status_packet = monsoon.statusPacket()
61 monsoon.closeDevice()
388 monsoon = HVPM.Monsoon()
389 self.fine_threshold = monsoon.fineThreshold
390 self._main_voltage_scale = monsoon.mainvoltageScale
391 self._usb_voltage_scale = monsoon.usbVoltageScale
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiTetheringPowerTest.py24 from acts.controllers import monsoon
96 monsoon.MonsoonData.save_to_text_file([result], data_path)
/tools/test/connectivity/acts/framework/acts/bin/
Dmonsoon.py22 import acts.controllers.monsoon as monsoon_controller
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/hvpm/
Dmonsoon.py24 from acts.controllers.monsoon_lib.api.monsoon import BaseMonsoon
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/lvpm_stock/
Dmonsoon.py21 from acts.controllers.monsoon_lib.api.monsoon import BaseMonsoon
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/
DPowerGnssBaseTest.py25 from acts.controllers import monsoon
DPowerBaseTest.py24 import acts.controllers.monsoon as monsoon_controller