Home
last modified time | relevance | path

Searched refs:mon (Results 1 – 15 of 15) sorted by relevance

/tools/test/connectivity/acts/framework/acts/controllers/
Dmonsoon.py52 fcntl.flock(obj.mon._tempfile, fcntl.LOCK_UN)
53 obj.mon._tempfile.close()
648 self.mon = MonsoonProxy(serialno=serial, device=device)
649 self.dev = self.mon.ser.name
672 self.mon.RampVoltage(mon.start_voltage, volt)
674 self.mon.SetVoltage(volt)
682 self.mon.SetMaxCurrent(cur)
690 self.mon.SetMaxPowerUpCurrent(cur)
700 return self.mon.GetStatus()
720 voltage = self.mon.GetVoltage()
[all …]
/tools/test/connectivity/acts/framework/acts/bin/
Dmonsoon.py34 mon = Monsoon(serial=int(FLAGS.serialno[0]))
37 mon.set_voltage(FLAGS.voltage)
40 mon.set_max_current(FLAGS.current)
43 items = sorted(mon.status.items())
47 mon.usb(FLAGS.usbpassthrough)
50 mon.set_max_init_current(FLAGS.startcurrent)
56 result = mon.take_samples(FLAGS.hz, FLAGS.samples,
/tools/test/connectivity/acts/framework/acts/test_utils/power/
DPowerBaseTest.py110 self.mon = self.monsoons[0]
111 self.mon.set_max_current(8.0)
112 self.mon.set_voltage(PHONE_BATTERY_VOLTAGE)
113 self.mon.attach_device(self.dut)
160 self.mon.usb('on')
167 self.mon.usb('on')
334 dut=self.mon,
351 self.mon.reconnect_monsoon()
353 self.mon.usb('on')
358 logging.info(self.mon.mon.ser.in_waiting)
[all …]
/tools/test/connectivity/acts/tests/google/wifi/
DWifiTetheringPowerTest.py51 self.mon = self.monsoons[0]
52 self.mon.set_voltage(4.2)
53 self.mon.set_max_current(7.8)
54 self.mon.attach_device(self.hotspot_device)
56 asserts.assert_true(self.mon.usb("auto"),
73 self.mon.usb("on")
88 result = self.mon.measure_power(self.hz,
DWifiPowerTest.py64 self.mon = self.monsoons[0]
65 self.mon.set_voltage(4.2)
66 self.mon.set_max_current(7.8)
68 self.mon.attach_device(self.dut)
70 self.mon.usb("auto"),
96 self.mon.usb("on")
155 result = self.mon.measure_power(self.hz,
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
DTelephonyLabPowerTest.py128 self.mon = self.monsoons[0]
129 self.mon.set_voltage(MONSOON_OUTPUT_VOLTAGE)
130 self.mon.set_max_current(MONSOON_MAX_CURRENT)
131 self.mon.dut = self.ad = self.android_devices[0]
190 result = self.mon.measure_power(sample_rate, sample_time,
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DMockDeviceManager.java396 public void addDeviceMonitor(IDeviceMonitor mon) { in addDeviceMonitor() argument
397 mDvcMon.addMonitor(mon); in addDeviceMonitor()
401 public void removeDeviceMonitor(IDeviceMonitor mon) { in removeDeviceMonitor() argument
402 mDvcMon.removeMonitor(mon); in removeDeviceMonitor()
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DPowerBaseTest.py99 self.mon = self.monsoons[0]
100 self.mon.set_voltage(self.MONSOON_OUTPUT_VOLTAGE)
101 self.mon.set_max_current(self.MONSOON_MAX_CURRENT)
103 self.mon.attach_device(self.ad)
108 self.mon.usb("auto"),
/tools/test/connectivity/acts/tests/google/tel/live/
DTelPowerTest.py97 self.mon = self.monsoons[0]
98 self.mon.set_voltage(MONSOON_OUTPUT_VOLTAGE)
99 self.mon.set_max_current(MONSOON_MAX_CURRENT)
101 self.mon.dut = self.ad = self.android_devices[0]
279 result = self.mon.measure_power(sample_rate, sample_time,
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceMonitorMultiplexer.java71 public synchronized void removeMonitor(IDeviceMonitor mon) { in removeMonitor() argument
72 mDeviceMonitors.remove(mon); in removeMonitor()
DIDeviceManager.java248 public void addDeviceMonitor(IDeviceMonitor mon); in addDeviceMonitor() argument
253 public void removeDeviceMonitor(IDeviceMonitor mon); in removeDeviceMonitor() argument
DDeviceManager.java1363 public void addDeviceMonitor(IDeviceMonitor mon) { in addDeviceMonitor() argument
1364 mDvcMon.addMonitor(mon); in addDeviceMonitor()
1368 public void removeDeviceMonitor(IDeviceMonitor mon) { in removeDeviceMonitor() argument
1369 mDvcMon.removeMonitor(mon); in removeDeviceMonitor()
/tools/test/connectivity/acts/tests/google/ble/power/
DGattPowerTest.py119 result = self.mon.measure_power(self.POWER_SAMPLING_RATE, sample_time,
DBleScanPowerTest.py108 result = self.mon.measure_power(self.POWER_SAMPLING_RATE, sample_time,
/tools/test/connectivity/acts/tests/google/bt/power/
DA2dpPowerTest.py318 result = self.mon.measure_power(